[Bug 2039590] [NEW] after upgrade to mantic, duplicate entries in /etc/apt/sources.list
Steve Langasek
2039590 at bugs.launchpad.net
Tue Oct 17 16:25:42 UTC 2023
Public bug reported:
Running 'apt showsrc' on mantic I saw surprising output:
[...]
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:42 and /etc/apt/sources.list:58
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:42 and /etc/apt/sources.list:58
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:42 and /etc/apt/sources.list:58
[...]
And line 58 is:
deb http://security.ubuntu.com/ubuntu mantic-security main restricted #
auto generated by ubuntu-release-upgrader
this is a duplicate of the lines I already had in sources.list before
upgrade.
diffing /etc/apt/sources.list against /etc/apt/sources.list.distUpgrade,
aside from the change in release name, I see the following added lines:
+deb http://archive.ubuntu.com/ubuntu mantic main restricted # auto generated by ubuntu-release-upgrader
+deb http://archive.ubuntu.com/ubuntu mantic-updates main restricted # auto generated by ubuntu-release-upgrader
+deb http://security.ubuntu.com/ubuntu mantic-security main restricted # auto generated by ubuntu-release-upgrader
It looks like the upgrader quirk to handle the case where
security.ubuntu.com is missing from sources.list might be misfiring?
Also I see no justification for adding archive.ubuntu.com to the
sources.list, which clearly already had a mirror configured prior to the
update. We should not be adding archive.ubuntu.com to sources.list on
upgrade.
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: High
Status: Invalid
** Affects: ubuntu-release-upgrader (Ubuntu Mantic)
Importance: High
Status: Invalid
** Tags: foundations-todo
** Changed in: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided => High
** Also affects: ubuntu-release-upgrader (Ubuntu Mantic)
Importance: High
Status: New
** Tags added: foundations-todo
--
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/2039590
Title:
after upgrade to mantic, duplicate entries in /etc/apt/sources.list
Status in ubuntu-release-upgrader package in Ubuntu:
Invalid
Status in ubuntu-release-upgrader source package in Mantic:
Invalid
Bug description:
Running 'apt showsrc' on mantic I saw surprising output:
[...]
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:42 and /etc/apt/sources.list:58
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:42 and /etc/apt/sources.list:58
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:42 and /etc/apt/sources.list:58
[...]
And line 58 is:
deb http://security.ubuntu.com/ubuntu mantic-security main restricted
# auto generated by ubuntu-release-upgrader
this is a duplicate of the lines I already had in sources.list before
upgrade.
diffing /etc/apt/sources.list against
/etc/apt/sources.list.distUpgrade, aside from the change in release
name, I see the following added lines:
+deb http://archive.ubuntu.com/ubuntu mantic main restricted # auto generated by ubuntu-release-upgrader
+deb http://archive.ubuntu.com/ubuntu mantic-updates main restricted # auto generated by ubuntu-release-upgrader
+deb http://security.ubuntu.com/ubuntu mantic-security main restricted # auto generated by ubuntu-release-upgrader
It looks like the upgrader quirk to handle the case where
security.ubuntu.com is missing from sources.list might be misfiring?
Also I see no justification for adding archive.ubuntu.com to the
sources.list, which clearly already had a mirror configured prior to
the update. We should not be adding archive.ubuntu.com to
sources.list on upgrade.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2039590/+subscriptions
More information about the foundations-bugs
mailing list