Playing with my 25.04 virtual machine, I launched Discover and it reported 386 updates were available. I attempted the upgrade using Discover and after just a few minutes it appeared frozen - no more progress on the downloads. So I cancelled it and opened Konsole for an old school "apt" upgrade starting with "sudo apt update". As expected, I was greeted with:
386 packages can be upgraded. Run 'apt list --upgradable' to see them.
but also
Notice: Some sources can be modernized. Run 'apt modernize-sources' to do so.
I knew what this meant. The older " *.list" files have been changed to a new format and named ending in " .sources" I had added the Chrome repo to apt as one of my experiments and it was still in the old school format. So I ran the command as suggested (with sudo, of course) When it completed, I ran 'sudo apt update' again and got a new error message:
Notice: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://dl.google.com/linux/chrome/deb stable InRelease doesn't support architecture '1386'
A couple minutes of searching revealed a bug report where the "modernize" feature does not convert the "arch=..." type lines to the new format. Opening the old and new chrome source files did show the "arch=amd64" line in the old version but nothing like that in the new version.
If you encounter this, the fix is to manually edit the ".sources" file and add this:
Architectures: amd64
and save.
The above changes allowed Discover to finish the update but I'm not entirely sure if this was the actual cause of it stalling the first time.
386 packages can be upgraded. Run 'apt list --upgradable' to see them.
but also
Notice: Some sources can be modernized. Run 'apt modernize-sources' to do so.
I knew what this meant. The older " *.list" files have been changed to a new format and named ending in " .sources" I had added the Chrome repo to apt as one of my experiments and it was still in the old school format. So I ran the command as suggested (with sudo, of course) When it completed, I ran 'sudo apt update' again and got a new error message:
Notice: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://dl.google.com/linux/chrome/deb stable InRelease doesn't support architecture '1386'
A couple minutes of searching revealed a bug report where the "modernize" feature does not convert the "arch=..." type lines to the new format. Opening the old and new chrome source files did show the "arch=amd64" line in the old version but nothing like that in the new version.
If you encounter this, the fix is to manually edit the ".sources" file and add this:
Architectures: amd64
and save.
The above changes allowed Discover to finish the update but I'm not entirely sure if this was the actual cause of it stalling the first time.
Comment