[Bug 1744722] Re: Unknown bad source brings up during 'zesty' to 'artful' upgrade and It break the process
Brian Murray
brian at ubuntu.com
Mon Feb 5 19:45:50 UTC 2018
On Mon, Feb 05, 2018 at 07:20:46PM -0000, ZdravkoG wrote:
> Hi @Brian Murray,
>
> As I already noted in comment #12, my release is successfully upgraded and currently I can not reproduce same conditions. Sorry, but it seems that I can not help in such a way. 😞...
> I'm sure that there are more people that are still waiting for "convenient way" and they can help.
>
> I am not sure, but here could be some test issue! Are You sure that in case of 'end of life' release, switching to 'proposed' could be consistent? ('end of life' release repositories are unavailable)
> The important thing is the archived tarball, so any such change could be irrelevant to the actual test target! So, probably preliminary beta testing is meaningless here. Actual test will happen in the final release, where is the only case with same test condition. (any other is unreliable for particular bug, I think)
do-release-upgrade downloads the release upgrader tarball from the
release to which you are upgrading so the fact that zesty is End of Life
won't matter. The test case in the bug description is correct the text
in comment #19 isn't great, i.e. paragraph 2 is wrong, for testing
ubuntu-release-upgrader.
--
Brian Murray
--
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