[Bug 1513232] Re: do-release-upgrade no longer works from lucid to precise
Alex Muntada
alexm at alexm.org
Fri Nov 6 18:35:03 UTC 2015
I spent quite some time debugging this yesterday adding extra
information on the logs and I finally found that it's a transient error
due to the state of the remote mirror. Using archive.ubuntu.com makes no
difference (I guess because it's not the mirror master).
Thus, after trying many times, do-release-upgrade eventually accepted
all packages as trusted. Tried a couple of times more and it worked fine
each time. A few minutes later it failed again. All this without any
changes in the code, so the problem is that something is happening in
the remote end that lucid doesn't like.
I also found that the workaround didn't work (I'm not sure why) so this
is what I did:
1. run do-release-upgrade and wait until it fails
2. cd $(ls -trd /tmp/tmp* | tail -1)
3. edit DistUpgradeCache.py and find the comment "check if the user overwrote the unauthenticated warning"
4. add a new line below with "return True" that will avoid aborting and save the file
5. run ./precise
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1513232
Title:
do-release-upgrade no longer works from lucid to precise
Status in update-manager package in Ubuntu:
Confirmed
Status in update-manager source package in Precise:
Confirmed
Bug description:
When trying to run do-release-upgrade to go from Lucid to Precise, the
upgrade fails with :
Error authenticating some packages
It was not possible to authenticate some packages. This may be a
transient network problem. You may want to try again later. See below
for a list of unauthenticated packages.
accountsservice ...
Workaround is to add the following statement in /etc/update-manager/release-upgrades.d/unauth.cfg :
[Distro]
AllowUnauthenticated=yes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1513232/+subscriptions
More information about the foundations-bugs
mailing list