Announcement

Collapse
No announcement yet.

How to upload packages to a PPA in Kubuntu (made latest Nvidia driver package)?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to upload packages to a PPA in Kubuntu (made latest Nvidia driver package)?

    Hi

    I have made packages for Nvidia driver 295.59 for Ubuntu 12.04 x86_64.

    They work fine (and have speed up my desktop a bit...)

    I can't for the life of me work out how to upload to a PPA, I have created a PPA in launchpad but all the guides I read refer to menus that do not exist in Kubuntu

    i.e

    https://launchpad.net/+help-registry...s.html#publish

    Can anyone help me upload this - you may be better off using this package than the default one.

    What I really don't get is why the ubuntu-current-updates package is not this version.. Why are they shipping a version with known (and fixed) bugs ?

    #2
    How I did/do it

    Old way:
    Old days the LP did have https://launchpad.net/~<your_PPA>/+editpgpkeys

    Importing an OpenPGP key
    Ensure you already have a key. In a terminal window, enter:
    gpg --list-keys your@e-mail.address
    If you have no key, create one:
    gpg --gen-key
    Ensure the key has been uploaded to a keyserver. To do this:
    gpg --send-key key-id
    Enter your key fingerprint. Use:
    gpg --fingerprint key-id

    Launchpad will e-mail with instructions on finishing the process.
    1) Make a key

    Konsole:
    Code:
    gpg --gen-key
    Output - with the defaults:
    gpg (GnuPG) 1.4.11; Copyright (C) 2010 Free Software Foundation, Inc.
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.

    Please select what kind of key you want:
    (1) RSA and RSA (default)
    (2) DSA and Elgamal
    (3) DSA (sign only)
    (4) RSA (sign only)
    Your selection?
    RSA keys may be between 1024 and 4096 bits long.
    What keysize do you want? (2048)
    Requested keysize is 2048 bits
    Please specify how long the key should be valid.
    0 = key does not expire
    <n> = key expires in n days
    <n>w = key expires in n weeks
    <n>m = key expires in n months
    <n>y = key expires in n years
    Key is valid for? (0)
    Key does not expire at all
    Is this correct? (y/N) y

    You need a user ID to identify your key; the software constructs the user ID
    from the Real Name, Comment and Email Address in this form:
    "Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>"

    Real name: Testy Tester
    Email address: testy131@somemail.com
    Comment: Example
    You selected this USER-ID:
    "Testy Tester (Example) <testy131@somemail.com>"

    Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O
    You need a Passphrase to protect your secret key.

    We need to generate a lot of random bytes. It is a good idea to perform
    some other action (type on the keyboard, move the mouse, utilize the
    disks) during the prime generation; this gives the random number
    generator a better chance to gain enough entropy.

    Pressing random keys....

    key A626F0EE marked as ultimately trusted
    public and secret key created and signed.

    gpg: checking the trustdb
    gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
    gpg: depth: 0 valid: 3 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 3u
    pub 2048R/A626F0EE 2012-07-18
    Key fingerprint = CC69 DEED FFD5 7E16 4F21 1330 48E5 5175 A626 F0EE
    uid Testy Tester(Example) <testy131@somemail.com>
    sub 2048R/A626F0EE 2012-07-18
    2) Upload keys:

    Code:
    gpg --send-keys --keyserver keyserver.ubuntu.com <your_key_id>
    Output:
    gpg: sending key A626F0EE to hkp server keyserver.ubuntu.com
    3) Fingerprint
    Your PPA page (overview) should have the OpenPGP keys:



    The link should be pointing to the "editpgpkeys" page.

    It has the fingerprint:



    Next, Launchpad will send e-mail to you with instructions on finishing the process.



    Uploading

    When your keys have been registered: https://help.launchpad.net/Packaging/PPA/Uploading

    At here, ftp. Making a file: ~/.dput.cf :
    Code:
    [my-ppa]
    fqdn = ppa.launchpad.net
    method = ftp
    incoming = ~testy131/ubuntu/
    login = anonymous
    In the directory containig the .changes - at here uploading to the: https://launchpad.net/~testy131/+archive/build-queue:
    Code:
    dput ppa:testy131/build-queue *.changes
    Output at here:
    Checking signature on .changes
    gpg: Signature made Sat 05 Nov 2011 02:28:56 PM EET using DSA key ID A626F0EE
    gpg: Good signature from "Testy Tester (testy131) <testy131@somemail.com>"
    Good signature on /media/sda6/Building/Krename/Up/krename_4.0.7-1oneiric1~bugfix~ppa1_source.changes.
    Checking signature on .dsc
    gpg: Signature made Sat 05 Nov 2011 02:27:04 PM EET using DSA key ID A626F0EE
    gpg: Good signature from "Testy Tester (testy131) <testy131@somemail.com>"
    Good signature on /media/sda6/Building/Krename/Up/krename_4.0.7-1oneiric1~bugfix~ppa1.dsc.
    Uploading to ppa (via ftp to ppa.launchpad.net):
    Uploading krename_4.0.7-1oneiric1~bugfix~ppa1.dsc: done.
    Uploading krename_4.0.7.orig.tar.bz2: done.
    Uploading krename_4.0.7-1oneiric1~bugfix~ppa1.debian.tar.gz: done.
    Uploading krename_4.0.7-1oneiric1~bugfix~ppa1_source.changes: done.
    Successfully uploaded packages.
    Last edited by OneLine; Jul 18, 2012, 06:17 AM.
    Have you tried ?

    - How to Ask a Question on the Internet and Get It Answered
    - How To Ask Questions The Smart Way

    Comment


      #3
      OneLine - thank you so much for such a amazingly concise guide !

      - this should be a sticky ! Its far better than the guides on the wiki...

      btw : my ppa is @

      https://launchpad.net/~morgancoxuk/+...-295.59-x86-64

      Comment


        #4
        Moved to the KFN how-to forum.

        Comment


          #5
          Originally posted by yossarianuk View Post
          I can't for the life of me work out how to upload to a PPA, I have created a PPA in launchpad but all the guides I read refer to menus that do not exist in Kubuntu

          i.e

          https://launchpad.net/+help-registry...s.html#publish
          Install seahorse and then you will have the Passwords and Keys option in your Settings menu.

          Regards .....
          Kubuntu User #9802
          Linux Registered User #357086

          Comment


            #6
            Frontends

            http://www.gnupg.org/related_software/frontends.html
            GUI Frontends

            Cryptophane
            Cryptophane is an easy-to-use application for MS Windows. It allows users to encrypt, sign, decrypt, and perform key maintenance without having to deal with GnuPG's command-line interface.

            Gajim
            The goal of Gajim is to provide a full featured and easy to use Jabber client. Gajim works nicely with GNOME, but does not require it to run. It is released under the GNU General Public License.

            GnuPG Shell
            GnuPG Shell is a cross-platform graphical frontend for GnuPG.

            GPA
            Aims to be the standard GnuPG graphical frontend. GPA is hosted on this site.

            KGpg
            Is a KDE frontend for GnuPG.

            Seahorse
            Is a GNOME frontend for GnuPG.

            wija
            wija is a free and cross-platform Jabber/XMPP client written in Java, with built-in GnuPG key rings management GUI. Its extended protocols allow users to encrypt chat and multi-user chat as well as encrypting/signing messages and signing presence of the user. It is multilingual and runs on GNU/Linux, Mac OS X and Windows.

            XAP
            Is the X application panel and filemanager.

            http://utils.kde.org/projects/kgpg/
            KGpg

            KGpg is a simple interface for GnuPG, a powerful encryption utility.

            The latest stable release is version 2.7, included in KDE Applications 4.8. KGpg is a free and open source software, available for Linux and similar operating systems under the GNU General Public License (GPL), Version 2.

            GnuPG (also known as gpg) is included in most distributions and should be installed on your system. You can get the latest version on http://gnupg.org/.

            With KGpg you will be able to encrypt and decrypt your files and emails, allowing much more secure communications. A mini howto on encryption with gpg is available on gnupg's web site.

            With KGpg, you don't need to remember gpg's command lines and options. Almost everything can be done with a few mouse clicks.
            Package: kgpg
            Description: graphical front end for GNU Privacy Guard
            Kgpg manages cryptographic keys for the GNU Privacy Guard, and can encrypt,
            decrypt, sign, and verify files. It features a simple editor for applying
            cryptography to short pieces of text, and can also quickly apply cryptography
            to the contents of the clipboard.

            This package is part of the KDE SC utilities module.
            Homepage: http://www.kde.org/

            Bugs: https://bugs.launchpad.net/ubuntu/+filebug

            K Menu > Utilities > KGpg
            &
            KGpg > Help > KGpg Handbook

            :~$ kgpg --help
            Usage: kgpg [Qt-options] [KDE-options] [options] [File]

            KGpg - simple gui for gpg

            KGpg was designed to make gpg very easy to use.
            I tried to make it as secure as possible.
            Hope you enjoy it.

            Generic options:
            --help Show help about options
            --help-qt Show Qt specific options
            --help-kde Show KDE specific options
            --help-all Show all options
            --author Show author information
            -v, --version Show version information
            --license Show license information
            -- End of options

            Options:
            -e Encrypt file
            -k Open key manager
            -d Open editor
            -s Show encrypted file
            -S Sign File
            -V Verify signature

            Arguments:
            File File to open


            Have you tried ?

            - How to Ask a Question on the Internet and Get It Answered
            - How To Ask Questions The Smart Way

            Comment

            Working...
            X