when doing the upgrade you do have the option of doing
a test run to see what changes are made or not making the
changes at that time.
when going through this process the comments in
sources.list were discarded.
On Thu, 6 Feb 2025 07:53:07 +0000
Andy Smith <andy@strugglers.net> wrote:
Having said that, I am not sure how the complaint could be addressed
since from what I understand you are basically asking for otherwise
valid but commented-out sources.list lines to be converted into
inactive deb822 files, which seems like a big request.
Another option would be to retain all comments, and let the user
manually convert commented out entries. Simple, easy to do, and only a
little obnoxious for the user.
And for those who are wondering, this is going on in trixie.
Having said that, I am not sure how the complaint could be addressed
since from what I understand you are basically asking for otherwise
valid but commented-out sources.list lines to be converted into
inactive deb822 files, which seems like a big request.
On Thu, 6 Feb 2025 07:53:07 +0000
Andy Smith <andy@strugglers.net> wrote:
Having said that, I am not sure how the complaint could be addressed
since from what I understand you are basically asking for otherwise
valid but commented-out sources.list lines to be converted into
inactive deb822 files, which seems like a big request.
Another option would be to retain all comments, and let the user
manually convert commented out entries. Simple, easy to do, and only a
little obnoxious for the user.
And for those who are wondering, this is going on in trixie.
On 2/6/25 8:20 AM, Charles Curley wrote:
On Thu, 6 Feb 2025 07:53:07 +0000
Andy Smith <andy@strugglers.net> wrote:
Having said that, I am not sure how the complaint could be addressed since from what I understand you are basically asking for otherwise
valid but commented-out sources.list lines to be converted into
inactive deb822 files, which seems like a big request.
Another option would be to retain all comments, and let the user
manually convert commented out entries. Simple, easy to do, and only a little obnoxious for the user.
And for those who are wondering, this is going on in trixie.
I did this recently. Seemed to go well except that now when I update I
get
this :
All packages are up to date.
Notice: Missing Signed-By in the sources.list(5) entry for 'http://deb.debian.org/debian'
Notice: Missing Signed-By in the sources.list(5) entry for 'https://repo.vivaldi.com/stable/deb'
There is no suggestion as to what to do when this happens.
On 2/6/25 8:20 AM, Charles Curley wrote:
On Thu, 6 Feb 2025 07:53:07 +0000
Andy Smith <andy@strugglers.net> wrote:
Having said that, I am not sure how the complaint could be
addressed since from what I understand you are basically asking
for otherwise valid but commented-out sources.list lines to be
converted into inactive deb822 files, which seems like a big
request.
Another option would be to retain all comments, and let the user
manually convert commented out entries. Simple, easy to do, and
only a little obnoxious for the user.
And for those who are wondering, this is going on in trixie.
I did this recently. Seemed to go well except that now when I
update I get
this :
All packages are up to date.
Notice: Missing Signed-By in the sources.list(5) entry for 'http://deb.debian.org/debian'
Notice: Missing Signed-By in the sources.list(5) entry for 'https://repo.vivaldi.com/stable/deb'
There is no suggestion as to what to do when this happens.
Is there anything that tells one how to make this conversion? Better
yet, a script or two to do it for us? There will be a lot of people >scrambling to convert at the last minute.
The long-term fix is a file standard.sources root:root 644 in /etc/sources.list.d containing:
On Thu, 6 Feb 2025 14:51:17 +0000 Joe <joe@jretrading.com> wrote:
The long-term fix is a file standard.sources root:root 644 in
/etc/sources.list.d containing:
Is there anything that tells one how to make this conversion? Better
yet, a script or two to do it for us? There will be a lot of people scrambling to convert at the last minute.
On Thu, 6 Feb 2025 14:51:17 +0000
Joe <joe@jretrading.com> wrote:
The long-term fix is a file standard.sources root:root 644 in /etc/sources.list.d containing:
Is there anything that tells one how to make this conversion? Better
yet, a script or two to do it for us? There will be a lot of people scrambling to convert at the last minute.
I haven't seen this hit yet (though I probably will next time I
dist-upgrade against testing), but a comment in bug #1094263 leads me to >suspect that there is now supposed to be an 'apt modernize-sources' >sub-command, which looks like it might be intended to make this type of >conversion.
...except that, per the rest of the discussion in that bug, it almost >certainly won't be able to predict which signer to apply for each >sources.list entry. That you'll probably have to add on your own.
Hi,
On Thu, Feb 06, 2025 at 01:51:49AM -0500, songbird wrote:
when doing the upgrade you do have the option of doing
a test run to see what changes are made or not making the
changes at that time.
when going through this process the comments in
sources.list were discarded.
I think this behaviour is unlikely to change unless you report a bug
about it.
Why in the world bother making your own scripts when you can just do
# apt modernize-sources
The following files need modernizing:
- /etc/apt/sources.list.d/google-chrome-beta.list
- /etc/apt/sources.list.d/google-earth-pro.list
- /etc/apt/sources.list.d/jidanni.list
...except that, per the rest of the discussion in that bug, it almost >certainly won't be able to predict which signer to apply for each >sources.list entry. That you'll probably have to add on your own.
It even tells you that!
# apt modernize-sources
The following files need modernizing:
- /etc/apt/sources.list
However, it is not in the man page for apt or apt-get.
On Thu, 6 Feb 2025 15:30:02 +0000
Joe <joe@jretrading.com> wrote:
Why in the world bother making your own scripts when you can just do
# apt modernize-sources
The following files need modernizing:
- /etc/apt/sources.list.d/google-chrome-beta.list
- /etc/apt/sources.list.d/google-earth-pro.list
- /etc/apt/sources.list.d/jidanni.list
Right. Thank you.
Charles Curley wrote:
Another option would be to retain all comments, and let the user
manually convert commented out entries. Simple, easy to do, and only a little obnoxious for the user.
And for those who are wondering, this is going on in trixie.
I would find that vastly more preferable. Discarding comments in
a conversion is a disservice to the user.
On Thu, 6 Feb 2025 10:42:27 -0500
Michael Stone <mstone@debian.org> wrote:
...except that, per the rest of the discussion in that bug, it almost
certainly won't be able to predict which signer to apply for each
sources.list entry. That you'll probably have to add on your own.
It even tells you that!
# apt modernize-sources
The following files need modernizing:
- /etc/apt/sources.list
Yup. Thank you. However, it is not in the man page for apt or apt-get.
On 2/6/25 8:20 AM, Charles Curley wrote:
And for those who are wondering, this is going on in trixie.
The quick fix in sources.list for debian is to add signed-by into
existing lines after deb or deb-src:
deb \
[signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] http://deb.debian.org/debian/ \ <software categories>
The long-term fix is a file standard.sources root:root 644 in /etc/sources.list.d containing:
Types: deb
URIs: https://deb.debian.org/debian/
Suites: unstable
Components: main contrib non-free non-free-firmware
Enabled: yes
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Non-debian .list files may not contain any signing information, [...]
Yes, I did all this in sid about a week ago.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 149:53:07 |
Calls: | 10,383 |
Files: | 14,054 |
Messages: | 6,417,777 |