[Bug 1744722] Re: Unknown bad source brings up during 'zesty' to 'artful' upgrade and It break the process
Julian Andres Klode
1744722 at bugs.launchpad.net
Mon Feb 5 16:31:25 UTC 2018
** Description changed:
+ [Impact]
+ Upgrades from unsupported releases do not work if they have some third-party repositories in their sources.list, for example a repository with "stable" as the suite. u-r-u generates a new sources.list with an Ubuntu entry for "stable".
+
+ [Test case]
+ On a zesty system, add
+
+ deb https://example.com/3rd-party/deb/ stable main
+
+ to the sources.list and try to upgrade to artful. It will generate an
+ entry:
+
+ deb https://archive.ubuntu.com/ stable main
+
+ and fail.
+
+ Now run do-release-upgrade --proposed and check that it does not do
+ that.
+
+ Alternatively, just rely on the autopkgtest test case testing that.
+
+ [Regression Potential]
+ This affects release upgrades, and if broken, might prevent some release updates. It seems unlikely though: The change just checks that the new distribution of a sources.list entry is valid before writing it out.
+
+ [Original bug report]
+
During update after release 'zesty' 'end of life' strange error appear:
E:The repository 'http://archive.ubuntu.com/ubuntu stable Release' does
not have a Release file.
This error prevent upgrade process. There is no entry like 'http://archive.ubuntu.com/ubuntu stable Release' in my 'sources.list'. I have no idea where this entry comes from. During regular packages update try, only appears error messages directly related to 'end of life' release state. No error like above. I am not sure, but it seems like 'http://archive.ubuntu.com/ubuntu stable Release' is wrongly formatted and have no idea where this comes from as all. Here is my sources list (as is now). As could be seen from the sources list my install is from 2014. Over the years I make upgrade after 'end of life' release few times without any problems. Now is the first time I have such issue.
Thanks in advance!
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: ubuntu-release-upgrader-core 1:17.04.10
ProcVersionSignature: Ubuntu 4.10.0-42.46-generic 4.10.17
Uname: Linux 4.10.0-42-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.4-0ubuntu4.10
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: KDE
Date: Mon Jan 22 15:56:24 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-07-12 (1289 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to zesty on 2018-01-20 (2 days ago)
VarLogDistupgradeAptlog:
- Log time: 2018-01-20 03:20:51.814404
- Log time: 2018-01-20 03:20:56.946483
- Log time: 2018-01-20 03:21:25.049488
+ Log time: 2018-01-20 03:20:51.814404
+ Log time: 2018-01-20 03:20:56.946483
+ Log time: 2018-01-20 03:21:25.049488
--
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/1744722
Title:
Unknown bad source brings up during 'zesty' to 'artful' upgrade and It
break the process
Status in ubuntu-release-upgrader package in Ubuntu:
Fix Released
Status in ubuntu-release-upgrader source package in Artful:
Fix Committed
Bug description:
[Impact]
Upgrades from unsupported releases do not work if they have some third-party repositories in their sources.list, for example a repository with "stable" as the suite. u-r-u generates a new sources.list with an Ubuntu entry for "stable".
[Test case]
On a zesty system, add
deb https://example.com/3rd-party/deb/ stable main
to the sources.list and try to upgrade to artful. It will generate an
entry:
deb https://archive.ubuntu.com/ stable main
and fail.
Now run do-release-upgrade --proposed and check that it does not do
that.
Alternatively, just rely on the autopkgtest test case testing that.
[Regression Potential]
This affects release upgrades, and if broken, might prevent some release updates. It seems unlikely though: The change just checks that the new distribution of a sources.list entry is valid before writing it out.
[Original bug report]
During update after release 'zesty' 'end of life' strange error
appear:
E:The repository 'http://archive.ubuntu.com/ubuntu stable Release'
does not have a Release file.
This error prevent upgrade process. There is no entry like 'http://archive.ubuntu.com/ubuntu stable Release' in my 'sources.list'. I have no idea where this entry comes from. During regular packages update try, only appears error messages directly related to 'end of life' release state. No error like above. I am not sure, but it seems like 'http://archive.ubuntu.com/ubuntu stable Release' is wrongly formatted and have no idea where this comes from as all. Here is my sources list (as is now). As could be seen from the sources list my install is from 2014. Over the years I make upgrade after 'end of life' release few times without any problems. Now is the first time I have such issue.
Thanks in advance!
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: ubuntu-release-upgrader-core 1:17.04.10
ProcVersionSignature: Ubuntu 4.10.0-42.46-generic 4.10.17
Uname: Linux 4.10.0-42-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.4-0ubuntu4.10
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: KDE
Date: Mon Jan 22 15:56:24 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-07-12 (1289 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to zesty on 2018-01-20 (2 days ago)
VarLogDistupgradeAptlog:
Log time: 2018-01-20 03:20:51.814404
Log time: 2018-01-20 03:20:56.946483
Log time: 2018-01-20 03:21:25.049488
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1744722/+subscriptions
More information about the foundations-bugs
mailing list