LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-23-2007, 05:07 AM   #1
trscookie
Member
 
Registered: Apr 2004
Location: oxford
Distribution: gentoo
Posts: 463

Rep: Reputation: 30
ubuntu upgrade fails


Hello all, the other day I ran the Ubuntu update manager with the intention of upgrading the distro, the problem is I lost the internet connection whilst it was downloading the updates.

Now when I run sudo update-manager -c I get:
Code:
Could not calculate upgrade
An unresolvable problem occurred while calculating the upgrade.

Please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bugreport.

and if i run sudo aptitude update/upgrade I get:

Code:
1151 packages upgraded, 0 newly installed, 65 to remove and 319 not upgraded.
Need to get 0B/927MB of archives. After unpacking 24.5MB will be freed.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
Extract templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 236804 files and directories currently installed.)
Preparing to replace libarts1-audiofile 4:3.5.5-0ubuntu1 (using .../libarts1-audiofile_4%3a3.5.6-0ubuntu4_i386.deb) ...
Unpacking replacement libarts1-audiofile ...
dpkg: error processing /var/cache/apt/archives/libarts1-audiofile_4%3a3.5.6-0ubuntu4_i386.deb (--unpack):
 trying to overwrite `/usr/lib/libarts_audiofile.so', which is also in package kdemultimedia-dev
Errors were encountered while processing:
 /var/cache/apt/archives/libarts1-audiofile_4%3a3.5.6-0ubuntu4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
adrian@adrians-laptop:~$

please help.
 
Old 04-23-2007, 08:32 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Were you trying to update the packages on the system, or did you mean you wanted to upgrade the whole distribution to the next release?

In any case, the best is to try and revert any changes to configurations, flush apt's cache and restart the whole upgrade. If you were planning to upgrade the release version (for example, from edgy to feisty), then the first step that is done is that in /etc/apt/sources.list every word "edgy" is replaced with "feisty". If the upgrade process is interrupted, you will either need to replace "feisty" with "edgy" on each line again (i.e. go backwards) to be able to use the graphical upgrade tool, or simply continue the process using apt (after flushing caches).

To clear the package cache, read
Code:
man apt-get
man dpkg
they contain the information needed to remove all cached packages etc. Then I'd run 'apt-get update' and 'apt-get -f upgrade' to see if it can fix any errors left; after this try and restart. Hope your connection won't die next time
 
Old 04-23-2007, 09:15 AM   #3
trscookie
Member
 
Registered: Apr 2004
Location: oxford
Distribution: gentoo
Posts: 463

Original Poster
Rep: Reputation: 30
nice one cheers, it seems to be going well, just one more question though, you said "try and restart" im not going to encounter the reminiscence of windows where my computer doesn't reboot am i?
 
Old 04-23-2007, 10:53 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Moved: This thread is more suitable in the Ubuntu forum and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackpkg fails on upgrade-all albhaf Slackware 1 12-02-2006 11:22 AM
9.1 to 10.1 upgrade and apache fails peterb Mandriva 1 02-10-2006 06:03 AM
Boot of Fedora 2 T2 fails after upgrade geustace Fedora 6 04-27-2004 11:28 PM
Raid Fails on upgrade deangeloni Red Hat 0 02-22-2004 01:33 AM
upgrade RH7.3 to RH9 fails guenter.k Linux - Newbie 0 01-22-2004 11:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration