Ссылки:
1 |
https://wiki.debian.org/SourcesList |
APT
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
apt-get install debian-archive-keyring ____________________ При проблеме update aptitude update dpkg --audit apt-get install -f ___________________ aptitude clean apt-get update apt-get -f install apt-get dist-upgrade apt-cdrom add |
Debian 12 / bookworm / объединили non-free и firmware
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# ссылка https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware deb-src http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware deb-src http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware |
Debian 12 / bookworm
1 2 3 4 5 6 7 8 9 10 11 |
deb http://deb.debian.org/debian bookworm main contrib non-free deb-src http://deb.debian.org/debian bookworm main contrib non-free deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free deb-src http://deb.debian.org/debian-security/ bookworm-security main contrib non-free deb http://deb.debian.org/debian bookworm-updates main contrib non-free deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free deb http://deb.debian.org/debian bookworm-backports main contrib non-free deb-src http://deb.debian.org/debian bookworm-backports main contrib non-free |
Debian 11 / bullseye
1 2 3 4 5 6 7 8 9 10 11 |
deb http://deb.debian.org/debian bullseye main contrib non-free deb-src http://deb.debian.org/debian bullseye main contrib non-free deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free deb http://deb.debian.org/debian bullseye-updates main contrib non-free deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free deb http://deb.debian.org/debian bullseye-backports main contrib non-free deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free |
Debian 10 / Buster
1 2 3 4 5 6 7 8 9 10 11 |
deb http://deb.debian.org/debian buster main contrib non-free deb-src http://deb.debian.org/debian buster main contrib non-free deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free deb http://deb.debian.org/debian buster-updates main contrib non-free deb-src http://deb.debian.org/debian buster-updates main contrib non-free deb http://deb.debian.org/debian buster-backports main contrib non-free deb-src http://deb.debian.org/debian buster-backports main contrib non-free |
Debian 9 / Stretch
1 2 3 4 5 6 |
deb http://deb.debian.org/debian stretch main deb-src http://deb.debian.org/debian stretch main deb http://deb.debian.org/debian stretch-updates main deb-src http://deb.debian.org/debian stretch-updates main deb http://security.debian.org/ stretch/updates main deb-src http://security.debian.org/ stretch/updates main |
Debian 9 / Stretch репозиторий с несвободными компонентами системы
1 2 3 4 5 6 7 8 9 |
#no-free deb http://deb.debian.org/debian stretch main contrib non-free deb-src http://deb.debian.org/debian stretch main contrib non-free deb http://deb.debian.org/debian stretch-updates main contrib non-free deb-src http://deb.debian.org/debian stretch-updates main contrib non-free deb http://security.debian.org/ stretch/updates main contrib non-free deb-src http://security.debian.org/ stretch/updates main contrib non-free #backport deb http://ftp.ru.debian.org/debian/ stretch-backports main contrib non-free |
Debian 8 Jessie
1 2 3 4 5 6 7 8 9 10 |
#Пример /etc/sources.list deb http://httpredir.debian.org/debian jessie main deb-src http://httpredir.debian.org/debian jessie main deb http://httpredir.debian.org/debian jessie-updates main deb-src http://httpredir.debian.org/debian jessie-updates main deb http://security.debian.org/ jessie/updates main deb-src http://security.debian.org/ jessie/updates main # jessie-updates, previously known as 'volatile' deb http://mirror.yandex.ru/debian/ jessie-updates main deb-src http://mirror.yandex.ru/debian/ jessie-updates main |
Debian 7 Squeeze
1 2 3 4 5 6 7 8 9 10 11 12 |
# Debian repository deb http://ftp.ru.debian.org/debian/ squeeze main non-free contrib deb-src http://ftp.ru.debian.org/debian/ squeeze main non-free contrib # Security fixes deb http://security.debian.org/ squeeze/updates main contrib non-free deb-src http://security.debian.org/ squeeze/updates main contrib non-free # Debian updates deb http://ftp.debian.org/debian squeeze-updates main contrib non-free deb-src http://ftp.debian.org/debian squeeze-updates main contrib non-free # Backports deb http://backports.debian.org/debian-backports squeeze-backports main non-free contrib deb-src http://backports.debian.org/debian-backports squeeze-backports main non-free contrib |
Debian 6 Wheezy
1 2 3 4 5 6 7 |
deb http://ftp.ru.debian.org/debian wheezy main deb-src http://ftp.ru.debian.org/debian wheezy main deb http://ftp.ru.debian.org/debian stable main contrib non-free deb http://security.debian.org/ wheezy/updates main contrib deb-src http://security.debian.org/ wheezy/updates main contrib deb http://mirror.yandex.ru/debian/ wheezy-updates main contrib deb-src http://mirror.yandex.ru/debian/ wheezy-updates main contrib |
Всегда стабильная ветка
1 2 3 4 5 6 7 8 9 |
deb http://httpredir.debian.org/debian stable main deb-src http://httpredir.debian.org/debian stable main deb http://httpredir.debian.org/debian stable-updates main deb-src http://httpredir.debian.org/debian stable-updates main deb http://security.debian.org/ stable/updates main deb-src http://security.debian.org/ stable/updates main # jessie-updates, previously known as 'volatile' deb http://mirror.yandex.ru/debian/ stable-updates main deb-src http://mirror.yandex.ru/debian/ stable-updates main |
Как добавить ключи для Repasitory в Debian \ Ubuntu
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
Repasitory-key install (apt-get) Step 1: On the PPA's overview page, look for the heading that reads Adding this PPA to your system. Make a note of the PPA's location, which looks like: ppa:gwibber-daily/ppa Step 2: Open a terminal and enter: sudo add-apt-repository ppa:user/ppa-name Replace ppa:user/ppa-name with the PPA's location that you noted above. Screen shot of a terminal with the sudo add-apt-repoistory line Your system will now fetch the PPA's key. This enables your Ubuntu system to verify that the packages in the PPA have not been interfered with since they were built. Screen shot of a system retrieving the PPA details Step 3: Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added: sudo apt-get update ------------------------ Now you're ready to start installing software from the PPA! On older (pre 9.10) Ubuntu systems Step 1: Visit the PPA's overview page in Launchpad. Look for the heading that reads Adding this PPA to your system and click the Technical details about this PPA link. Step 2: Use the Display sources.list entries drop-down box to select the version of Ubuntu you're using. Step 3: You'll see that the text-box directly below reads something like this: deb http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu jaunty main deb-src http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu jaunty main Copy those lines. Step 4: Open a terminal and type: sudo gedit /etc/apt/sources.list This will open a text editor containing the list of archives that your system is currently using. Scroll to the bottom of the file and paste the lines you copied in the step above. Save the file and exit the text editor. Step 5: Back on the PPA's overview page, look for the Signing key heading. You'll see something like: 1024R/72D340A3 (What is this?) Copy the portion after the slash but not including the help link; e.g. just 72D340A3. Step 6: Now you need to add that key to your system so Ubuntu can verify the packages from the PPA. In your terminal, enter: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 72D340A3 Replace 72D340A3 with whatever you copied in the step 5. This will now pull down the PPA's key and add it to your system. Step 7: Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added: sudo apt-get update Now you're ready to start installing software from the PPA! |