Это старая версия IT/Debian/apt за 23.01.2019 10:37.

apt

!/FAQ


# Stretch
 
deb http://security.debian.org/ stretch/updates main
# Line commented out by installer because it failed to verify:
deb-src http://security.debian.org/ stretch/updates main
 
deb http://mirror.yandex.ru/debian stretch main
deb-src http://mirror.yandex.ru/debian stretch main
 
deb http://mirror.yandex.ru/debian stretch-updates main
deb-src http://mirror.yandex.ru/debian stretch-updates main
 
deb http://mirror.yandex.ru/debian/ stretch-proposed-updates main non-free contrib
deb-src http://mirror.yandex.ru/debian/ stretch-proposed-updates main non-free contrib
 
# Backports
#deb http://mirror.yandex.ru/debian stretch-backports main contrib non-free
#deb-src http://mirror.yandex.ru/debian stretch-backports main contrib non-free



1. Чтобы иметь возможность добавлять репозитарии из PPA ссылок
$ apt-get install software-properties-common


2.
https://www.nixp.ru/recipes/4.html Проблема с NO_PUBKEY: как получить GPG-ключ и добавить его в базу apt
https://chrisjean.com/fix-apt-[..]ey-is-not-available/ Fix apt-get update “the following signatures couldn’t be verified because the public key is not available”



Virtualbox
echo 'deb http://download.virtualbox.org/virtualbox/debian stretch contrib' > /etc/apt/sources.list.d/virtualbox.list
wget https://www.virtualbox.org/dow[..]oracle_vbox_2016.asc -O- | apt-key add -



PostgreSQL
https://www.tecmint.com/instal[..]n-debian-and-ubuntu/


File /etc/apt/sources.list.d/pgdg.list

--------------- On Stretch 9.x ---------------
deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main
--------------- On Jessie 8.x ---------------
deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main
--------------- On Wheezy 7.x ---------------
deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main


$ wget --quiet -O – https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
$ sudo apt update


Telegram
//sudo add-apt-repository ppa:atareao/telegram
sudo add-apt-repository ppa:noobslab/apps
sudo apt-get update
sudo apt-get install telegram-desktop


Удаление
sudo apt-get purge telegram-desktop
sudo add-apt-repository -r ppa:noobslab/apps