Dapper-to-Hardy upgrade fails on PowerPC (prerequisite dapper-backports missing)

Bug #226217 reported by vnevoa on 2008-05-03
This bug affects 2 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)

Bug Description

Binary package hint: update-manager

Upgrading a Mac G3 from Ubuntu 6.06.2 to 8.04 fails at the beginning (prerequisites).

 gksu "update-manager -d"

Error (from /var/log/dist-upgrade/main.log):
 'Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/dapper-backports/main/debian-installer/binary-powerpc/Packages.gz 404 Not Found'

This URL is generated by the application and inserted into "/etc/apt/sources.list.d/prerequists-sources.dapper-ports.list", which is then used by the upgrader.

I've checked manually, and the URL in fact does not exist!

I have found another URL that may be the correct one, but I'm not sure:

Anyway, what is the workaround for this?

vnevoa (vasco-nevoa) wrote :

The error also appears as:
 ERROR Can not find backport 'release-upgrader-apt'
in the dist-upgrade log.

I can't get the logs out of that machine without great effort. Let me know if you absolutely need them.

vnevoa (vasco-nevoa) wrote :

Found the workaround.

Add to the /etc/apt/sources.list:
deb http://archive.ubuntu.com/ubuntu dapper-backports main/debian-installer

Then the upgrader works as intended.
Remove the line after the upgrade (just in case).

Ian! D. Allen (idallen) wrote :
Download full text (5.5 KiB)

The update-manager offered to upgrade my Powerbook G4 from 6.06 to 8.04,
but when I tried it, it died due to a missing Packages.gz file and then
told me to submit this as a bug to you.

Either do not offer to upgrade me, or make the upgrade work.

# uname -a ; lsb_release -a
Linux powerbook 2.6.15-53-powerpc #1 Mon Nov 24 17:52:08 UTC 2008 ppc GNU/Linux

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 6.06.2 LTS
Release: 6.06
Codename: dapper

# apt-cache policy update-manager
  Installed: 0.42.2ubuntu22.2
  Candidate: 0.42.2ubuntu22.2
  Version table:
 *** 0.42.2ubuntu22.2 0
        500 http://ca.archive.ubuntu.com dapper-updates/main Packages
        100 /var/lib/dpkg/status
     0.42.2ubuntu22 0
        500 http://ca.archive.ubuntu.com dapper/main Packages

# update-manager
/usr/lib/python2.4/site-packages/apt/__init__.py:17: FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
extracting '/tmp/tmpNrTvK0/hardy.tar.gz'
authenticate '/tmp/tmpNrTvK0/hardy.tar.gz' against '/tmp/tmpNrTvK0/hardy.tar.gz.gpg'
WARNING: Failed to read mirror file
WARNING: Failed to read mirror file
Exit 1

Getting upgrade prerequisites failed
The system was unable to get the prerequisites for the upgrade. The
upgrade will abort now and restore the original system state.
Please report this as a bug against the 'update-manager' package and
include the files in /var/log/dist-upgrade/ in the bugreport.

# ls -l /var/log/dist-upgrade
total 8
-rw-r--r-- 1 root root 592 Dec 17 10:28 apt.log
-rw-r--r-- 1 root root 3614 Dec 17 10:27 main.log
-rw-r--r-- 1 root root 0 Dec 17 10:27 term.log

==> /var/log/dist-upgrade/apt.log <==
Log time: 2008-11-18 19:28:54.775611
Log time: 2008-12-17 10:27:26.605180
Log time: 2008-12-17 10:27:37.180675
Log time: 2008-12-17 10:27:46.656850
Log time: 2008-12-17 10:28:49.613883

==> /var/log/dist-upgrade/main.log <==
2008-12-17 10:27:23,372 INFO release-upgrader version '0.87.27' started
2008-12-17 10:27:24,175 DEBUG svg pixbuf loader failed (Error displaying image)
2008-12-17 10:27:24,231 DEBUG Using 'DistUpgradeViewGtk' view
2008-12-17 10:27:24,386 DEBUG enable dpkg --force-overwrite
2008-12-17 10:27:24,657 DEBUG lsb-release: 'dapper'
2008-12-17 10:27:24,658 DEBUG _pythonSymlinkCheck run
2008-12-17 10:27:26,647 DEBUG checkViewDepends()
2008-12-17 10:27:26,648 DEBUG need backports
2008-12-17 10:27:26,648 DEBUG getRequiredBackports()
2008-12-17 10:27:26,649 DEBUG writing prereuists sources.list at: '/etc/apt/sources.list.d/prerequists-sources.dapper-ports.list'
2008-12-17 10:27:26,812 DEBUG adding '# sources.list fragment for pre-requists of arches living on ports.ubuntu.com
' prerequists
2008-12-17 10:27:26,812 DEBUG adding '# no mirror because there are no mirrors here
' prerequists
2008-12-17 10:27:26,813 DEBUG adding '# this is safe to remove after the upgrade
' prerequists
2008-12-17 10:27:26,813 DEBUG adding 'deb http://ports.ubuntu.com/ubuntu-ports dapper-backports main/debian-installer
' prerequists
2008-12-17 10:27:26,814 DEBUG running doUpdate() (showErrors=False)
2008-12-17 10:27:2...


RedSingularity (redsingularity) wrote :

Cleaning out old reports.
Ubuntu Bug Squad volunteer triager

Changed in update-manager (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers