ann_droid wrote: 2025-02-06 13:59
Weird behaviour, I installed from a USB and the repo for apt is a CDROM I don't have.
That is what you get when you do not answer yes to the question to set up the repositories for use with apt.
Here is an example of the new 8222 style method for telling apt what to use from my install notes when I converted them to it.
Code: Select all
apt (2.9.24) unstable; urgency=medium
/etc/apt/trusted.gpg is no longer trusted. Setting the Dir::Etc::trusted
option manually continues to work for some more time.
sources.list(5) entries without the Signed-By field are deprecated;
migrate any legacy entries to the deb822 .sources format. See the
apt-secure(7) manual page for best practices for signer configuration.
This deprecates the /etc/apt/trusted.gpg.d directory.
-- Julian Andres Klode <jak@debian.org> Tue, 21 Jan 2025 12:17:36 +0100
First up the debian.sources file on 8500t machine.
root@8500t:~# nano /etc/apt/sources.list.d/debian.sources
root@8500t:~# cat /etc/apt/sources.list.d/debian.sources
## Debian 13 Trixie
## The new style method of using repositories to install software.
## This /etc/apt/sources.list.d/debian.sources is new style and location file
## The /etc/apt/sources.list.old.style contains the same as this.
## https://linuxconfig.org/ubuntus-repository-configuration-ubuntu-sources-have-moved-to-etc-apt-sources-list-d-ubuntu-sources
## Normal trixie sources
Types: deb
URIs: http://ftp.ca.debian.org/debian/
Suites: trixie
Components: main non-free contrib non-free-firmware
Enabled: yes
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
## trixie security sources
Types: deb
URIs: http://security.debian.org/debian-security
Suites: trixie-security
Components: main non-free contrib non-free-firmware
Enabled: yes
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Change the
trixie to
stable in the file you create if using it on the Debian 12, the trixie is the up coming release I am running to get the newer software I want to use. Make sure the gpg key is in the
/usr/share/keyrings/debian-archive-keyring.gpg location and the
/etc/apt/sources.list.d/debian.sources is in that location with the .sources for the ending. Since you have nothing in the existing sources.list but the cdrom that thing does not really matter but may as well do a
cp /etc/apt/sources.list /etc/apt/sources.list.old.style to disable it from being used. All commands run as root in a terminal or using sudo in front of them if using that method. I do not think there have been any changes to the archive layout between the 12 and upcoming 13 to make those wrong but if so just change them to reflect those needed for them, the .sources has been enabled for a long time but is only recently being recommended for use, on the 25th of last month to be precise, when that changed apt package news file let me know of it. Oh and now I read it over change the
ftp.ca part to
deb to be using the default method for the load balancing servers in use not your local mirror like I use.