> Awesome software-properties update for PPAs
CLI:
Example - adding Jonathan Riddell's PPA repository with the gpg key
1) Browsing to the PPA for Jonathan Riddell. Reading the description and the warnings (if any).
2) Adding the PPA repository to the repository list with the gpg keys:
and the PPA repository is added to the /etc/apt/sources.list.d /1/
The jr-ppa-karmic.list has one line:
/1/ man sources.list
CLI:
Code:
sudo add-apt-repository ppa:<Repository_Name>
Example - adding Jonathan Riddell's PPA repository with the gpg key
1) Browsing to the PPA for Jonathan Riddell. Reading the description and the warnings (if any).
2) Adding the PPA repository to the repository list with the gpg keys:
Code:
sudo add-apt-repository ppa:jr
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv D1B8E0D26079DC00276F463C1406C1DFB3408323
gpg: requesting key B3408323 from hkp server keyserver.ubuntu.com
gpg: key B3408323: public key "Launchpad PPA for Jonathan Riddell" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
gpg: requesting key B3408323 from hkp server keyserver.ubuntu.com
gpg: key B3408323: public key "Launchpad PPA for Jonathan Riddell" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
Code:
ls -l /etc/apt/sources.list.d
-rw-r--r-- 1 root root 55 2009-07-20 14:27 jr-ppa-karmic.list
Code:
deb [url]http://ppa.launchpad.net/jr/ppa/ubuntu[/url] karmic main
/1/ man sources.list
SOURCES.LIST.D
The /etc/apt/sources.list.d directory provides a way to add sources.list entries in separate files. The format is the same as for the regular sources.list file. File names need to end with .list and may only contain letters (a-z and A-Z), digits (0-9), underscore (_), hyphen (-) and period (.) characters. Otherwise they will be silently ignored.
The /etc/apt/sources.list.d directory provides a way to add sources.list entries in separate files. The format is the same as for the regular sources.list file. File names need to end with .list and may only contain letters (a-z and A-Z), digits (0-9), underscore (_), hyphen (-) and period (.) characters. Otherwise they will be silently ignored.
Comment