Comment 3 for bug 226217

Revision history for this message
Ian! D. Allen (idallen) wrote :

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
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:28,240 ERROR IOError/SystemError in cache.update(): 'Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/dapper-backports/main/debian-installer/binary-powerpc/Packages.gz 404 Not Found
'. Retrying (currentRetry: 0)
2008-12-17 10:27:29,892 ERROR IOError/SystemError in cache.update(): 'Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/dapper-backports/main/debian-installer/binary-powerpc/Packages.gz 404 Not Found
'. Retrying (currentRetry: 1)
2008-12-17 10:27:34,148 ERROR IOError/SystemError in cache.update(): 'Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/dapper-backports/main/debian-installer/binary-powerpc/Packages.gz 404 Not Found
'. Retrying (currentRetry: 2)
2008-12-17 10:27:34,149 ERROR doUpdate() failed completely
2008-12-17 10:27:37,188 ERROR Can not find backport 'release-upgrader-apt'
2008-12-17 10:27:37,188 DEBUG writing prereuists sources.list at: '/etc/apt/sources.list.d/prerequists-sources.dapper-ports.list'
2008-12-17 10:27:37,336 DEBUG adding '# sources.list fragment for pre-requists of arches living on ports.ubuntu.com
' prerequists
2008-12-17 10:27:37,336 DEBUG adding '# no mirror because there are no mirrors here
' prerequists
2008-12-17 10:27:37,337 DEBUG adding '# this is safe to remove after the upgrade
' prerequists
2008-12-17 10:27:37,337 DEBUG adding 'deb http://ports.ubuntu.com/ubuntu-ports dapper-backports main/debian-installer
' prerequists
2008-12-17 10:27:37,337 DEBUG running doUpdate() (showErrors=False)
2008-12-17 10:27:41,036 ERROR IOError/SystemError in cache.update(): 'Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/dapper-backports/main/debian-installer/binary-powerpc/Packages.gz 404 Not Found
'. Retrying (currentRetry: 0)
2008-12-17 10:27:42,371 ERROR IOError/SystemError in cache.update(): 'Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/dapper-backports/main/debian-installer/binary-powerpc/Packages.gz 404 Not Found
'. Retrying (currentRetry: 1)
2008-12-17 10:27:44,427 ERROR IOError/SystemError in cache.update(): 'Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/dapper-backports/main/debian-installer/binary-powerpc/Packages.gz 404 Not Found
'. Retrying (currentRetry: 2)
2008-12-17 10:27:44,428 ERROR doUpdate() failed completely
2008-12-17 10:27:46,664 ERROR Can not find backport 'release-upgrader-apt'
2008-12-17 10:27:46,665 WARNING no backport for 'release-upgrader-apt' found

==> /var/log/dist-upgrade/term.log <==