I captured your sources.list before and after the rewrite that happens during the upgrade. Here is the diff:
root@j:~# diff -u before after --- before 2025-01-24 19:59:10.114598273 +0000 +++ after 2025-01-24 19:59:35.050033122 +0000 @@ -2,20 +2,20 @@ # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. -deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu jammy main restricted +deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu noble main restricted # deb-src http://us.old-releases.ubuntu.com/ubuntu/ bionic main restricted ## Major bug fix updates produced after the final release of the ## distribution. -deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu jammy-updates main restricted +deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu noble-updates main restricted # deb-src http://us.old-releases.ubuntu.com/ubuntu/ bionic-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. -deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu jammy universe +deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu noble universe # deb-src http://us.old-releases.ubuntu.com/ubuntu/ bionic universe -deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu jammy-updates universe +deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu noble-updates universe # deb-src http://us.old-releases.ubuntu.com/ubuntu/ bionic-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu @@ -23,9 +23,9 @@ ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. -deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu jammy multiverse +deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu noble multiverse # deb-src http://us.old-releases.ubuntu.com/ubuntu/ bionic multiverse -deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu jammy-updates multiverse +deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu noble-updates multiverse # deb-src http://us.old-releases.ubuntu.com/ubuntu/ bionic-updates multiverse ## N.B. software from this repository may not have been tested as @@ -33,19 +33,19 @@ ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. -deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse +deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu noble-backports main restricted universe multiverse # deb-src http://us.old-releases.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse -deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu jammy-security main restricted +deb [trusted=yes] http://security.ubuntu.com/ubuntu noble-security main restricted # deb-src http://old-releases.ubuntu.com/ubuntu bionic-security main restricted -deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu jammy-security universe +deb [trusted=yes] http://security.ubuntu.com/ubuntu noble-security universe # deb-src http://old-releases.ubuntu.com/ubuntu bionic-security universe -deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu jammy-security multiverse +deb [trusted=yes] http://security.ubuntu.com/ubuntu noble-security multiverse # deb-src http://old-releases.ubuntu.com/ubuntu bionic-security multiverse # deb https://dl.winehq.org/wine-builds/ubuntu/ focal main # disabled on upgrade to focal # deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main # deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main -deb http://archive.ubuntu.com/ubuntu jammy main restricted # auto generated by ubuntu-release-upgrader -deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted # auto generated by ubuntu-release-upgrader -deb http://security.ubuntu.com/ubuntu jammy-security main restricted # auto generated by ubuntu-release-upgrader +deb http://archive.ubuntu.com/ubuntu noble main restricted # auto generated by ubuntu-release-upgrader +deb http://archive.ubuntu.com/ubuntu noble-updates main restricted # auto generated by ubuntu-release-upgrader +deb http://security.ubuntu.com/ubuntu noble-security main restricted # auto generated by ubuntu-release-upgrader Attempting to run apt update with the re-written sources: root@j:~# apt update E: Conflicting values set for option Trusted regarding source http://security.ubuntu.com/ubuntu/ noble-security E: The list of sources could not be read. So, the problem is that your current jammy-security source is (a) configured using us.archive.ubuntu.com rather than security.ubuntu.com, and (b) explicitly sets [trusted=yes]. Because, during the upgrade, ubuntu-release-upgrader sees that you are not using security.ubuntu.com and wants to fix that. But, then you have a conflict because there are two source entries using security.ubuntu.com for noble-security, and one is [trusted=yes] while the other is not. However, you can easily fix this by removing the three "auto generated by ubuntu-release-upgrader" entries at the bottom of your sources.list. For that reason, I think this is "won't fix". I think the best thing is to just edit your sources.list and try again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2092463 Title: Upgrading the repository information resulted in a invalid file so a bug reporting process is being started. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2092463/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
