Ubuntu

Couldn't upgrade to 12.04

Asked by Abjdarras on 2012-05-08

I tried upgrading using the upgrade manager but nothing has happened, then i used this command to upgrade

"sudo do-release-upgrade -d"

And its also didn't work, this is the output that i got

"Checking for a new ubuntu release
Get:1 Upgrade tool signature [198 B]
Get:2 Upgrade tool [1550 kB]
Fetched 1550 kB in 6s (254 kB/s)
authenticate 'precise.tar.gz' against 'precise.tar.gz.gpg'
extracting 'precise.tar.gz'

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Ign http://archive.canonical.com precise InRelease
Ign http://us.archive.ubuntu.com precise InRelease
Ign http://us.archive.ubuntu.com precise-updates InRelease
Ign http://us.archive.ubuntu.com precise-security InRelease
Hit http://archive.canonical.com precise Release.gpg
Hit http://archive.canonical.com precise Release
Hit http://us.archive.ubuntu.com precise Release.gpg
Hit http://us.archive.ubuntu.com precise-updates Release.gpg
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://us.archive.ubuntu.com precise-security Release.gpg
Hit http://us.archive.ubuntu.com precise Release
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates Release
Err http://archive.canonical.com precise/partner Translation-en

Hit http://us.archive.ubuntu.com precise-security Release
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Err http://archive.canonical.com precise/partner Translation-en

Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Err http://archive.canonical.com precise/partner Translation-en

Err http://archive.canonical.com precise/partner Translation-en

Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/main Sources
Hit http://us.archive.ubuntu.com precise-updates/restricted Sources
Ign http://archive.canonical.com precise/partner Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Sources
Hit http://us.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://us.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-security/main Sources
Hit http://us.archive.ubuntu.com precise-security/restricted Sources
Hit http://us.archive.ubuntu.com precise-security/universe Sources
Hit http://us.archive.ubuntu.com precise-security/multiverse Sources
Hit http://us.archive.ubuntu.com precise-security/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-security/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-security/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-security/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-security/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-security/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://us.archive.ubuntu.com precise-security/main Translation-en
Hit http://us.archive.ubuntu.com precise-security/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-security/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-security/universe Translation-en
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done

Updating repository information
WARNING: Failed to read mirror file
Ign http://archive.canonical.com precise InRelease
Ign http://us.archive.ubuntu.com precise InRelease
Ign http://us.archive.ubuntu.com precise-updates InRelease
Ign http://us.archive.ubuntu.com precise-security InRelease
Hit http://us.archive.ubuntu.com precise Release.gpg
Hit http://archive.canonical.com precise Release.gpg
Hit http://us.archive.ubuntu.com precise-updates Release.gpg
Hit http://archive.canonical.com precise Release
Hit http://us.archive.ubuntu.com precise-security Release.gpg
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://us.archive.ubuntu.com precise Release
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates Release
Err http://archive.canonical.com precise/partner Translation-en

Hit http://us.archive.ubuntu.com precise-security Release
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Err http://archive.canonical.com precise/partner Translation-en

Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Err http://archive.canonical.com precise/partner Translation-en

Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/main Sources
Hit http://us.archive.ubuntu.com precise-updates/restricted Sources
Err http://archive.canonical.com precise/partner Translation-en

Hit http://us.archive.ubuntu.com precise-updates/universe Sources
Hit http://us.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://us.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe i386 Packages
Ign http://archive.canonical.com precise/partner Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-security/main Sources
Hit http://us.archive.ubuntu.com precise-security/restricted Sources
Hit http://us.archive.ubuntu.com precise-security/universe Sources
Hit http://us.archive.ubuntu.com precise-security/multiverse Sources
Hit http://us.archive.ubuntu.com precise-security/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-security/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-security/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-security/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-security/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-security/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://us.archive.ubuntu.com precise-security/main Translation-en
Hit http://us.archive.ubuntu.com precise-security/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-security/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-security/universe Translation-en
Fetched 0 B in 0s (0 B/s)

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done

Calculating the changes

Calculating the changes

A fatal error occurred

Please report this as a bug and include the files
/var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in
your report. The upgrade has aborted.
Your original sources.list was saved in
/etc/apt/sources.list.distUpgrade.

Traceback (most recent call last):

File "/tmp/update-manager-a99Zr3/precise", line 7, in <module>
sys.exit(main())

File "/tmp/update-manager-a99Zr3/DistUpgradeMain.py", line 220, in
main
if app.run():

File "/tmp/update-manager-a99Zr3/DistUpgradeController.py", line
1721, in run
return self.fullUpgrade()

File "/tmp/update-manager-a99Zr3/DistUpgradeController.py", line
1678, in fullUpgrade
if not self.askDistUpgrade():

File "/tmp/update-manager-a99Zr3/DistUpgradeController.py", line 913,
in askDistUpgrade
if not self._checkFreeSpace():

File "/tmp/update-manager-a99Zr3/DistUpgradeController.py", line 881,
in _checkFreeSpace
self.cache.checkFreeSpace(with_snapshots)

File "/tmp/update-manager-a99Zr3/DistUpgradeCache.py", line 1167, in
checkFreeSpace
for (dir, size) in [(archivedir, self.requiredDownload),

File "/tmp/update-manager-a99Zr3/DistUpgradeCache.py", line 215, in
requiredDownload
pm.get_archives(fetcher, self._list, self._records)

SystemError: E:I wasn't able to locate a file for the
linux-image-2.6.38-11-generic package. This might mean you need to
manually fix this package. "

Any ideas ?? :s

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
2012-05-10
Last reply:
2012-07-30

Hi.
There is accured bug. Please report it that developers can fix it. You can still upgrade your ubuntu version by upgrading it with Upgrade manager.

Hope this helps and please if it does mark question as solved
Regards
Miha

Abjdarras (abjdarras) said : #2

Hello Miha
I have no clue how to report the bug. Also i can't upgrade to the newer version using my Upgrade manager, i get a partial upgrade screen :s

Best regards
abjdarras.

Nik.Th. (nick-athens30) said : #3

Hi ,

can you please attach the 2 files ?

==================================
gedit /var/log/dist-upgrade/main.log
gedit /var/log/dist-upgrade/apt.log
==================================

You can still upgrade from an Ubuntu Live CD or Usb.

Download the iso image , burn it to a CD or Usb , boot from there and choose the option "Upgrade Ubuntu <release nubmer> with Ubuntu <release number> " from Ubuntu Installer.
This option will (try) upgrade your current Ubuntu Installation , without delete your personal files.

Thanks

Can you help with this problem?

Provide an answer of your own, or ask Abjdarras for more information if necessary.

To post a message you must log in.