[Bug 2092463] Re: Upgrading the repository information resulted in a invalid file so a bug reporting process is being started.
Nick Rosbrook
2092463 at bugs.launchpad.net
Fri Jan 24 20:07:35 UTC 2025
I captured your sources.list before and after the rewrite that happens
during the upgrade. Here is the diff:
root at 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 at 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
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
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.
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
I'm trying to upgrade from one TLS version to the next LTS version and
its not working. I've also tried from the command line to see if
there is extra logging not visible to me from the gui. I've also
tried the following commands all of which succeed.
apt-get clean
apt-get update
apt-get upgrade
apt autoremove
Output from command line:
sudo do-release-upgrade -d
Checking for a new Ubuntu release
= Welcome to Ubuntu 24.04 LTS 'Noble Numbat' =
The Ubuntu team is proud to announce Ubuntu 24.04 LTS 'Noble Numbat'.
[ descriptive output removed]
Continue [yN] y
Get:1 Upgrade tool signature [833 B]
Get:2 Upgrade tool [1,277 kB]
Fetched 1,278 kB in 0s (0 B/s)
authenticate 'noble.tar.gz' against 'noble.tar.gz.gpg'
extracting 'noble.tar.gz'
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Hit http://dl.google.com/linux/chrome/deb stable InRelease
Hit http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit http://archive.ubuntu.com/ubuntu jammy InRelease
Hit http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit http://us.archive.ubuntu.com/ubuntu jammy-security InRelease
Hit http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit http://ddebs.ubuntu.com jammy InRelease
Hit https://ppa.launchpadcontent.net/flatpak/stable/ubuntu jammy InRelease
Hit http://ddebs.ubuntu.com jammy-updates InRelease
Hit https://ppa.launchpadcontent.net/ubuntu-desktop/ppa/ubuntu jammy InRelease
Hit http://ddebs.ubuntu.com jammy-proposed InRelease
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Fetched 0 B in 0s (0 B/s)
Checking for installed snaps
Calculating snap size requirements
Updating repository information
Repository information invalid
Upgrading the repository information resulted in a invalid file so a
bug reporting process is being started.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-release-upgrader-core 1:22.04.20
ProcVersionSignature: Ubuntu 5.15.0-130.140-generic 5.15.168
Uname: Linux 5.15.0-130-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckResult: unknown
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Tue Dec 24 12:07:06 2024
InstallationDate: Installed on 2018-11-23 (2223 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
PackageArchitecture: all
ProcEnviron:
LANGUAGE=en_US
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to jammy on 2024-12-24 (0 days ago)
VarLogDistupgradeAptHistorylog:
Start-Date: 2024-12-24 12:05:59
Requested-By: sean (1000)
End-Date: 2024-12-24 12:05:59
VarLogDistupgradeAptlog:
Log time: 2024-12-24 12:05:51.710101
Log time: 2024-12-24 12:05:57.837608
Log time: 2024-12-24 12:07:09.140343
VarLogDistupgradeApttermlog:
Log started: 2024-12-24 12:05:59
Log ended: 2024-12-24 12:05:59
VarLogDistupgradeTermlog:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2092463/+subscriptions
More information about the foundations-bugs
mailing list