update-manager fails to update from feisty to gutsy due to trust problem

Bug #147328 reported by Aaron C. de Bruyn on 2007-09-30
4
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Undecided
Unassigned

Bug Description

update-manager -d fails saying that the release-upgrader package isn't trusted.

2007-09-30 11:04:36,790 INFO release-upgrader version '0.78' started
2007-09-30 11:04:37,247 DEBUG lsb-release: 'feisty'
2007-09-30 11:04:37,248 DEBUG _pythonSymlinkCheck run
2007-09-30 11:04:38,395 DEBUG checkViewDepends()
2007-09-30 11:04:38,395 DEBUG getRequiredBackports()
2007-09-30 11:04:41,354 DEBUG marking 'release-upgrader-apt' for install
2007-09-30 11:04:41,491 DEBUG marking 'release-upgrader-dpkg' for install
2007-09-30 11:04:55,713 DEBUG pre-requists item: '<pkgAcquire::ItemIterator object: Status: 2 Complete: 1 Local: 0 IsTrusted: 0 FileSize: 1924684 DestFile:'/
tmp/tmpyPKxag/backports/release-upgrader-dpkg_1.14.5ubuntu11.2_i386.udeb' DescURI: 'http://ca.archive.ubuntu.com/ubuntu/pool/main/r/release-upgrader-dpkg/rel
ease-upgrader-dpkg_1.14.5ubuntu11.2'
2007-09-30 11:04:55,714 ERROR pre-requists item 'http://ca.archive.ubuntu.com/ubuntu/pool/main/r/release-upgrader-dpkg/release-upgrader-dpkg_1.14.5ubuntu11.2
_i386.udeb' is NOT trusted

/etc/apt/trusted.gpg
--------------------
pub 1024D/969F3F57 2005-02-15
uid Peter Lieverdink (Creative Contingencies Pty. Ltd.) <email address hidden>
uid Peter Lieverdink (Cafuego) <email address hidden>
uid Peter Lieverdink (MEL08 LCA) <email address hidden>
uid Peter Lieverdink <email address hidden>
uid [jpeg image of size 4784]
uid Peter Lieverdink <email address hidden>
uid Peter Lieverdink (Ubuntu) <email address hidden>
sub 1024g/AD9CD7B9 2005-02-15

pub 1024D/0C5A2783 2006-11-23
uid The Medibuntu Team <email address hidden>
sub 2048g/16C7105A 2006-11-23

pub 1024D/437D05B5 2004-09-12
uid Ubuntu Archive Automatic Signing Key <email address hidden>
sub 2048g/79164387 2004-09-12

pub 1024D/FBB75451 2004-12-30
uid Ubuntu CD Image Automatic Signing Key <email address hidden>

Update manager requested these logs be attached.

I have just found a workaround.
The file DistUpgradeControler.py, used for upgrade, contains this code:
  if not item.IsTrusted:
   logging.error("pre-requists item '%s' is NOT trusted" % item.DescURI)
  return False
You can find this file under the folder /tmp/tmpXXXXXX that the upgrade manager create during install (XXXXXX change every time you try to execute the upgrade).
These are steps I used to exclude the control and to continue with the upgrade:
- launched an installation that failed with the error "is NOT trusted";
- changed the DistUpgradeControler.py row "return False" with "#return False";
- launched another installation and, immediately after "Distribution Upgrade" window appeared, replaced the file DistUpgradeControler.py (just created in the newly temporary dir /tmp/tmpYYYYYY) with the modified one, doing a command like this:
 mv /tmp/tmpXXXXXX/DistUpgradeControler.py /tmp/tmpYYYYYY
I hope this will help you to upgrade to Gutsy.
This worked for me!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers