sudo add-apt-repository | Karmic kool

The Changelog of Karmic read so :


software-properties (0.75) karmic; urgency=low

* new helper script "add-apt-repository" that can be used to
enable a repository from the commandline. Useful for e.g.
'add-apt-repository ppa:gnome-desktop'
* fix error in auto-upgrade settings when
dpkg-reconfigure unattended-upgrades was used (LP: #387704)
* po/zh_TW.po:
- updated, thanks to Roy Chan (LP: #365040)
* softwareproperties/kde/SoftwarePropertiesKDE.py:
- do not error on cancel (LP: #364288)
- use the SUDO_USER home instead of /root (if available)
(LP: #364197)
- add utf8() function and replace the custom converts to it
(hopefully fixes LP: #362188)
- disable "Find best server" for now, the threading crashing
KDE
* softwareproperties/gtk/DialogCacheOutdated.py:
- fix incorrect wait on synaptic (LP: #357617, LP: #349639)
* softwareproperties/SoftwareProperties.py:
- check/ensure apt daily cron job is executable (LP: #390319)

-- Michael Vogt Tue, 14 Jul 2009 16:54:38 +0200

A sweet helper script to add repo to /etc/apt/source.list along with gpg key import.

What we were doing in the earlier versions :
{As an Example}

Step 1: On the PPA's overview page you'll see the PPA's OpenPGP key id. It'll look something like this: 1024/12345678. Copy it, or make a note of, the portion after the slash, e.g: 12345678.

Step 2: Open your terminal and enter:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 12345678

Replace 12345678 with the key id you copied in step 1.

Step 3: Finally, tell Ubuntu to re-load the details of each software archive it knows about:

sudo apt-get update

Now in karmic with the new helper script :

add-apt-repository ppa:


That's it this adds the ppa to source.list and also imports the keys.

Share/Save

4 comments on sudo add-apt-repository | Karmic kool

  1. Ingalex (not verified)
    Thu, 11/26/2009 - 19:13

    I've realized a script to remove ppa repository launchpad added with add-apt-repository.
    sintax: sudo remove-apt-repository /

    You can find it here: http://www.sourceslist.eu/guide/script-remove-apt-repository/

  2. Ingalex (not verified)
    Thu, 11/26/2009 - 19:12

    I've realized a script to remove ppa repository launchpad added with add-apt-repository.
    sintax: sudo remove-apt-repository /

    You can find it here: http://www.sourceslist.eu/guide/script-remove-apt-repository/

  3. Cross (not verified)
    Sun, 11/08/2009 - 05:31

    I hope soon or not-2-late Debian team will push something like add-apt-repository but for removing it :) rm-apt-repository for example.

  4. hemanth
    Mon, 11/09/2009 - 22:02

    Indeed :O)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options


Drupal SEO