/etc/apt/sources.list

Ответить
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

/etc/apt/sources.list

Сообщение ya »

apt-cdrom add

apt-get update
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Re: /etc/apt/sources.list

Сообщение ya »

Uses the archive stored locally (or NFS mounted) at /home/apt/debian for stable/main, stable/contrib, stable/non-free and stable/non-free-firmware.

deb file:/home/apt/debian stable main contrib non-free non-free-firmware
Types: deb
URIs: file:/home/apt/debian
Suites: stable
Components: main contrib non-free non-free-firmware
As above, except this uses the unstable (development) distribution.

deb file:/home/apt/debian unstable main contrib non-free non-free-firmware
Types: deb
URIs: file:/home/apt/debian
Suites: unstable
Components: main contrib non-free non-free-firmware
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Re: /etc/apt/sources.list

Сообщение ya »

/etc/apt/sources.list

Код: Выделить всё

deb file:/home/gt/deb9_iso/d1/ stretch contrib main
deb file:/home/gt/deb9_iso/d2/ stretch contrib main
deb file:/home/gt/deb9_iso/d2/ stretch contrib main
cdrom.sh

Код: Выделить всё

#!/bin/bash

sudo mount /home/gt/deb9_iso/debian-9.13.0-i386-DVD-1.iso /home/gt/deb9_iso/d1/ -o loop
sudo mount /home/gt/deb9_iso/debian-9.13.0-i386-DVD-2.iso /home/gt/deb9_iso/d2/ -o loop
sudo mount /home/gt/deb9_iso/debian-9.13.0-i386-DVD-3.iso /home/gt/deb9_iso/d3/ -o loop
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Re: /etc/apt/sources.list

Сообщение ya »

Код: Выделить всё

deb http://www.debian-multimedia.org stretch main non-free


#http://mirror.duocast.net/debian-archive/
deb http://mirror.duocast.net/debian-archive/ stretch main non-free contrib
deb-src http://mirror.duocast.net/debian-archive/ stretch main non-free contrib
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Re: /etc/apt/sources.list

Сообщение ya »

Код: Выделить всё

#deb http://www.debian-multimedia.org stretch main non-free


#http://mirror.duocast.net/debian-archive/
deb http://mirror.duocast.net/debian-archive/ stretch main non-free contrib
deb-src http://mirror.duocast.net/debian-archive/ stretch main non-free contrib

#mirror.nl.leaseweb.net/debian-archive/debian/
deb http://mirror.nl.leaseweb.net/debian-archive/debian/ stretch main non-free contrib
deb-src http://mirror.nl.leaseweb.net/debian-archive/debian/ stretch main non-free contrib

#mirror.nl.leaseweb.net/debian-archive/debian/
deb http://mirror.nl.leaseweb.net/debian-archive/debian-security stretch/updates stretch main non-free contrib
deb-src http://mirror.nl.leaseweb.net/debian-archive/debian-security stretch/updates stretch main non-free contrib
Последний раз редактировалось ya 18 окт 2023, 12:24, всего редактировалось 1 раз.
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Re: /etc/apt/sources.list

Сообщение ya »

Код: Выделить всё

deb http://mirror.nl.leaseweb.net/debian/ bullseye main
deb-src http://mirror.nl.leaseweb.net/debian/ bullseye main

deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main

# bullseye-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://mirror.nl.leaseweb.net/debian/ bullseye-updates main
deb-src http://mirror.nl.leaseweb.net/debian/ bullseye-updates main
apt-get update
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Re: /etc/apt/sources.list

Сообщение ya »

Код: Выделить всё

# deb cdrom:[Official Debian GNU/Linux Live 11.7.0 lxqt 2023-04-29T16:25]/ bullseye main

#deb cdrom:[Official Debian GNU/Linux Live 11.7.0 lxqt 2023-04-29T16:25]/ bullseye main

deb http://mirror.nl.leaseweb.net/debian/ bullseye main
deb-src http://mirror.nl.leaseweb.net/debian/ bullseye main

deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main

# bullseye-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://mirror.nl.leaseweb.net/debian/ bullseye-updates main
deb-src http://mirror.nl.leaseweb.net/debian/ bullseye-updates main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

deb http://ftp.de.debian.org/debian/ bullseye non-free
deb-src http://ftp.de.debian.org/debian/ bullseye non-free
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Re: /etc/apt/sources.list

Сообщение ya »

ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Re: /etc/apt/sources.list

Сообщение ya »

apt-get clean
gnupg

apt-key
apt-get install debian-keyring debian-archive-keyring
apt-key update

с сайта https://packages.debian.org/sid/debian-archive-keyring в /tmp, а затем вручную установив его с помощью dpkg -i /tmp/debian-archive-keyring*.deb.

To fix it I executed the following commands in terminal:

sudo -i
apt-get clean
cd /var/lib/apt
mv lists lists.old
mkdir -p lists/partial
apt-get clean
apt-get update
Ответить