Поиск по сайту:

Как устранить ошибку «add-apt-repository: команда не найдена» в Ubuntu 12.10

Как мы все знаем, add-apt-repository — это команда, которую можно использовать для добавления нового репозитория в список источников apt Ubuntu/Debian. Эта команда автоматически загрузит открытый ключ репозитория и зарегистрирует его.

ostechnix@server:~$ sudo add-apt-repository ppa:cherokee-webserver
[sudo] password for ostechnix: 
sudo: add-apt-repository: command not found
ostechnix@server:~$ sudo apt-get install software-properties-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  python3-software-properties unattended-upgrades
Suggested packages:
  bsd-mailx mail-transport-agent
The following NEW packages will be installed:
  python3-software-properties software-properties-common unattended-upgrades
0 upgraded, 3 newly installed, 0 to remove and 61 not upgraded.
Need to get 55.3 kB of archives.
After this operation, 543 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
ostechnix@server:~$ sudo apt-get update
ostechnix@server:~$ sudo add-apt-repository ppa:cherokee-webserver
You are about to add the following PPA to your system:
 Cherokee is a very fast, flexible and easy to configure Web Server. It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, on the fly encoding, Load balancing, Apache compatible log files, and much more.
 More info: https://launchpad.net/~cherokee-webserver/+archive/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmp55xlve/secring.gpg' created
gpg: keyring `/tmp/tmp55xlve/pubring.gpg' created
gpg: requesting key EBA7BD49 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp55xlve/trustdb.gpg: trustdb created
gpg: key EBA7BD49: public key "Launchpad PPA for Cherokee Web Server" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK
ostechnix@server:~$ sudo apt-get update

Вот и все. Наслаждаться.

Статьи по данной тематике