PDA

View Full Version : [ubuntu] 9.04 Fresh install perfect untill UPDATES!!!



xaegis
May 17th, 2009, 05:23 AM
I just re installed 9.04 onto a reformatted partition and imported my home folder.
Everything works stellar until I try to update the system.( A whopping 133 files need updating apparently)
The downloads for the updates seem sketchy and slow and then I get massive dependency errors and corrupted tar file messages.
Could this be because of super secret Time Warner broadband throttling is causing lots of packet loss/corruption? (I love a good conspiracy theory! ;) )

Would anyone like to help me stabilize my system?

Thanks!

taurus
May 17th, 2009, 05:25 AM
Why not just post the whole error message here then?

xaegis
May 17th, 2009, 05:27 AM
Wow fast response! I'm in the middle of updating now. Will have the error messages in another 5 or 10 min.

Thanks for being so prompt!

xaegis
May 17th, 2009, 05:46 AM
here is the error I got from update manager.



E: /var/cache/apt/archives/gnome-applets-data_2.26.1-0ubuntu1_all.deb: corrupted filesystem tarfile - corrupted package archive
E: /var/cache/apt/archives/libgl1-mesa-dri_7.4-0ubuntu3.1_amd64.deb: short read in buffer_copy (backend dpkg-deb during `./usr/lib/dri/i965_dri.so')
E: /var/cache/apt/archives/libgl1-mesa-glx_7.4-0ubuntu3.1_amd64.deb: short read in buffer_copy (backend dpkg-deb during `./usr/share/doc/libgl1-mesa-glx/copyright')
E: /var/cache/apt/archives/linux-image-2.6.28-12-generic_2.6.28-12.43_amd64.deb: corrupted filesystem tarfile - corrupted package archive

taurus
May 17th, 2009, 05:48 AM
Close down the update manager. Then, switch to another server in System -> Administration -> Software Sources. Make sure you close down Software Sources before you run these commands from a terminal.


sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade

xaegis
May 17th, 2009, 05:51 AM
...

xaegis
May 17th, 2009, 06:06 AM
ok here is the output from the last commands.



user@home:~$ sudo apt-get clean
[sudo] password for user:
user@home:~$ sudo apt-get update
Hit http://archive.canonical.com jaunty Release.gpg
Ign http://archive.canonical.com jaunty/partner Translation-en_US
Hit http://archive.ubuntu.com jaunty Release.gpg
Ign http://archive.ubuntu.com jaunty/main Translation-en_US
Hit http://security.ubuntu.com jaunty-security Release.gpg
Ign http://security.ubuntu.com jaunty-security/universe Translation-en_US
Hit http://archive.canonical.com jaunty Release
Ign http://archive.ubuntu.com jaunty/universe Translation-en_US
Ign http://archive.ubuntu.com jaunty/restricted Translation-en_US
Hit http://archive.ubuntu.com jaunty-updates Release.gpg
Ign http://archive.ubuntu.com jaunty-updates/universe Translation-en_US
Ign http://archive.ubuntu.com jaunty-updates/main Translation-en_US
Ign http://archive.ubuntu.com jaunty-updates/restricted Translation-en_US
Hit http://archive.ubuntu.com jaunty-proposed Release.gpg
Ign http://archive.ubuntu.com jaunty-proposed/universe Translation-en_US
Ign http://archive.ubuntu.com jaunty-proposed/main Translation-en_US
Ign http://security.ubuntu.com jaunty-security/main Translation-en_US
Ign http://security.ubuntu.com jaunty-security/restricted Translation-en_US
Hit http://security.ubuntu.com jaunty-security Release
Ign http://archive.ubuntu.com jaunty-proposed/restricted Translation-en_US
Hit http://archive.ubuntu.com jaunty Release
Ign http://archive.canonical.com jaunty/partner Packages
Hit http://archive.ubuntu.com jaunty-updates Release
Hit http://archive.ubuntu.com jaunty-proposed Release
Hit http://security.ubuntu.com jaunty-security/universe Packages
Hit http://archive.canonical.com jaunty/partner Packages
Hit http://archive.ubuntu.com jaunty/main Packages
Hit http://archive.ubuntu.com jaunty/universe Packages
Hit http://archive.ubuntu.com jaunty/restricted Packages
Hit http://security.ubuntu.com jaunty-security/main Packages
Hit http://security.ubuntu.com jaunty-security/restricted Packages
Hit http://archive.ubuntu.com jaunty-updates/universe Packages
Hit http://archive.ubuntu.com jaunty-updates/main Packages
Hit http://archive.ubuntu.com jaunty-updates/restricted Packages
Hit http://archive.ubuntu.com jaunty-proposed/universe Packages
Hit http://archive.ubuntu.com jaunty-proposed/main Packages
Hit http://archive.ubuntu.com jaunty-proposed/restricted Packages
Reading package lists... Done
user@home:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-restricted-modules-2.6.28-12-generic: Depends: linux-image-2.6.28-12-generic but it is not installed
E: Unmet dependencies. Try using -f.
user@home:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
linux-image-2.6.28-12-generic
Suggested packages:
fdutils linux-doc-2.6.28 linux-source-2.6.28
The following NEW packages will be installed:
linux-image-2.6.28-12-generic
0 upgraded, 1 newly installed, 0 to remove and 116 not upgraded.
1 not fully installed or removed.
Need to get 24.2MB of archives.
After this operation, 112MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com jaunty-proposed/main linux-image-2.6.28-12-generic 2.6.28-12.43 [24.2MB]
Fetched 24.2MB in 8min 14s (49.1kB/s)
(Reading database ... 102094 files and directories currently installed.)
Unpacking linux-image-2.6.28-12-generic (from .../linux-image-2.6.28-12-generic_2.6.28-12.43_amd64.deb) ...
Done.
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.28-12-generic_2.6.28-12.43_amd64.deb (--unpack):
corrupted filesystem tarfile - corrupted package archive
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.28-11-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Errors were encountered while processing:
/var/cache/apt/archives/linux-image-2.6.28-12-generic_2.6.28-12.43_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

xaegis
May 17th, 2009, 06:20 AM
Any suggestions as to what I should try next?

xaegis
May 17th, 2009, 04:49 PM
bump..

bendshead
August 11th, 2009, 05:01 AM
I'm getting the same error message regarding unmet dependencies for linux-image.

I've executed you the help suggested in this thread with no change.

Could you please advise next steps?

Thanks!

bendshead
August 11th, 2009, 05:27 AM
Here's the errors I get:

epteacher@epteacher-desktop:~$ sudo apt-get clean
[sudo] password for epteacher:
epteacher@epteacher-desktop:~$ sudo apt-get update
Hit http://us.archive.ubuntu.com jaunty Release.gpg
Ign http://us.archive.ubuntu.com jaunty/main Translation-en_US
Ign http://us.archive.ubuntu.com jaunty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com jaunty/universe Translation-en_US
Ign http://us.archive.ubuntu.com jaunty/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com jaunty-updates Release.gpg
Ign http://us.archive.ubuntu.com jaunty-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com jaunty-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com jaunty-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com jaunty-updates/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com jaunty-security Release.gpg
Ign http://us.archive.ubuntu.com jaunty-security/main Translation-en_US
Ign http://us.archive.ubuntu.com jaunty-security/restricted Translation-en_US
Ign http://us.archive.ubuntu.com jaunty-security/universe Translation-en_US
Ign http://us.archive.ubuntu.com jaunty-security/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com jaunty Release
Hit http://us.archive.ubuntu.com jaunty-updates Release
Hit http://us.archive.ubuntu.com jaunty-security Release
Hit http://us.archive.ubuntu.com jaunty/main Packages
Hit http://us.archive.ubuntu.com jaunty/restricted Packages
Hit http://us.archive.ubuntu.com jaunty/main Sources
Hit http://us.archive.ubuntu.com jaunty/restricted Sources
Get:1 http://us.archive.ubuntu.com jaunty/universe Packages [4757kB]
Get:2 http://us.archive.ubuntu.com jaunty/universe Sources [2375kB]
Get:3 http://us.archive.ubuntu.com jaunty/multiverse Packages [197kB]
Get:4 http://us.archive.ubuntu.com jaunty/multiverse Sources [107kB]
Get:5 http://us.archive.ubuntu.com jaunty-updates/main Packages [131kB]
Get:6 http://us.archive.ubuntu.com jaunty-updates/restricted Packages [2391B]
Get:7 http://us.archive.ubuntu.com jaunty-updates/main Sources [40.1kB]
Get:8 http://us.archive.ubuntu.com jaunty-updates/restricted Sources [522B]
Get:9 http://us.archive.ubuntu.com jaunty-updates/universe Packages [44.8kB]
Get:10 http://us.archive.ubuntu.com jaunty-updates/universe Sources [13.0kB]
Get:11 http://us.archive.ubuntu.com jaunty-updates/multiverse Packages [4968B]
Get:12 http://us.archive.ubuntu.com jaunty-updates/multiverse Sources [1661B]
Get:13 http://us.archive.ubuntu.com jaunty-security/main Packages [67.1kB]
Get:14 http://us.archive.ubuntu.com jaunty-security/restricted Packages [2391B]
Get:15 http://us.archive.ubuntu.com jaunty-security/main Sources [19.4kB]
Get:16 http://us.archive.ubuntu.com jaunty-security/restricted Sources [522B]
Get:17 http://us.archive.ubuntu.com jaunty-security/universe Packages [26.1kB]
Get:18 http://us.archive.ubuntu.com jaunty-security/universe Sources [6091B]
Get:19 http://us.archive.ubuntu.com jaunty-security/multiverse Packages [1662B]
Get:20 http://us.archive.ubuntu.com jaunty-security/multiverse Sources [588B]
Fetched 3687kB in 3min 24s (18.0kB/s)
Reading package lists... Done
epteacher@epteacher-desktop:~$ sudo apt-get upgrade
[sudo] password for epteacher:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-restricted-modules-2.6.28-14-generic: Depends: linux-image-2.6.28-14-generic but it is not installed
E: Unmet dependencies. Try using -f.

bendshead
August 11th, 2009, 05:28 AM
Also, another thread on this site suggested going to http://www.linuxforums.org/. But many of the same issues are reported there without a resolution.

Can't anyone help? : (

xaegis
August 11th, 2009, 05:31 AM
From which server are you pulling your packages? I find that the server for the USA is kinda wonky. (with connection issues) What I did was connected my router directly to my computer via ethernet cable (until you get your updates finished). That way if your router is dropping packets it wont affect your package updates.

Hope this helps.

bendshead
August 11th, 2009, 07:18 AM
Thanks, Xaegis. I'm Thailand and was using the Thai server. Tried the USA server after reading your initial post. Will try others. If any recommendation, please let me know.

Ethernet cable is not possible with the setup we have here...

xaegis
August 11th, 2009, 08:51 AM
The files that were causing me problems on my system were xulrunner and firefox mostly if you can find the files that are sticking (synaptic or read the error reports in your system) you can download the individual packages with their dependencies from here! (http://packages.ubuntu.com/lt/jaunty/xulrunner-1.9) If you can still run firefox then go to that site or you can download the Opera deb and try that. I also disabled all updates excluding security and that has kept my system stable.

Cheers

eunix1
August 11th, 2009, 10:30 AM
I also had problems. The download of the updates was so slow that I had dinner and went out. The download took 3.5hrs + but fortunately no error messages.
Trying to download Thunderbird is another matter. My Internet connection is fine but what ever mechanism is used to download has stopped working completely.
eunix

eunix1
August 11th, 2009, 10:38 AM
The download/update mechanism now works at the 4th time of trying.