Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: sotnik on 2025/04/02, 14:33:49

Title: apt modernize-sources
Post by: sotnik on 2025/04/02, 14:33:49
In my recent DI I get "69 packages can be upgraded. Run 'apt list --upgradable' to see them.
Notice: Some sources can be modernized. Run 'apt modernize-sources' to do so."
Then
Quoteapt modernize-sources
The following files need modernizing:
  - /etc/apt/sources.list
  - /etc/apt/sources.list.d/dbgsym.list
  - /etc/apt/sources.list.d/debian.list
  - /etc/apt/sources.list.d/extra.list
  - /etc/apt/sources.list.d/fixes.list

Modernizing will replace .list files with the new .sources format,
add Signed-By values where they can be determined automatically,
and save the old files into .list.bak files.

This command supports the 'signed-by' and 'trusted' options. If you
have specified other options inside [] brackets, please transfer them
manually to the output files; see sources.list(5) for a mapping.

For a simulation, respond N in the following prompt.
Rewrite 5 sources? [Y/n] N
Simulating only...
Modernizing /etc/apt/sources.list...

Modernizing /etc/apt/sources.list.d/dbgsym.list...

Modernizing /etc/apt/sources.list.d/debian.list...

# Would write to: /etc/apt/sources.list.d/debian.sources
Types: deb
URIs: http://deb.debian.org/debian/
Suites: sid
Components: main  contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

# Would write to: /etc/apt/sources.list.d/debian.sources
Types: deb
URIs: http://deb.debian.org/debian/
Suites: unstable
Components: main  contrib non-free
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

# Would write to: /etc/apt/sources.list.d/debian.sources
Types: deb
URIs: http://deb.debian.org/debian/
Suites: experimental
Components: main  contrib non-free
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

# Would write to: /etc/apt/sources.list.d/debian.sources
Types: deb
URIs: http://deb.debian.org/debian/
Suites: testing
Components: main  contrib non-free
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

# Would write to: /etc/apt/sources.list.d/debian.sources
Types: deb
URIs: http://deb.debian.org/debian/
Suites: stable
Components: main  contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Modernizing /etc/apt/sources.list.d/extra.list...

# Would write to: /etc/apt/sources.list.d/extra.sources
Types: deb
URIs: http://ftp.uni-stuttgart.de/siduction/extra/
Suites: unstable
Components: main
Signed-By: /usr/share/keyrings/siduction-archive-keyring.gpg

# Would write to: /etc/apt/sources.list.d/extra.sources
Types: deb
URIs: http://ftp.uni-stuttgart.de/siduction/fixes/
Suites: unstable
Components: main  contrib non-free
Signed-By: /usr/share/keyrings/siduction-archive-keyring.gpg

Modernizing /etc/apt/sources.list.d/fixes.list...

# Would write to: /etc/apt/sources.list.d/fixes.sources
Types: deb
URIs: https://packages.siduction.org/extra/
Suites: experimental
Components: main  contrib non-free
Signed-By: /usr/share/keyrings/siduction-archive-keyring.gpg

# Would write to: /etc/apt/sources.list.d/fixes.sources
Types: deb
URIs: https://packages.siduction.org/extra/
Suites: unstable
Components: non-free  contrib non-free-firmware
Signed-By: /usr/share/keyrings/siduction-archive-keyring.gpg

Should I proceed with that option?
Title: Re: apt modernize-sources
Post by: eriefisher on 2025/04/02, 16:04:17
YES!