taminrob
July 5th, 2008, 10:03 AM
Tried to open "add/remove" software and received the following:
Failed to check for installed and available applications
This is a major failure of your software management system. Please check for broken packages with synaptic, check the file permissions and correctness of the file '/etc/apt/sources.list' and reload the software information with: 'sudo apt-get update' and 'sudo apt-get install -f'.
So, I opened a terminal and entered the sudo commands.
rob@robs-acer:~$ sudo apt-get update
[sudo] password for rob:
Get:1 http://security.ubuntu.com hardy-security Release.gpg [189B]
Ign http://security.ubuntu.com hardy-security/main Translation-en_US
Hit http://archive.canonical.com hardy Release.gpg
Ign http://archive.canonical.com hardy/partner Translation-en_US
Hit http://us.archive.ubuntu.com hardy Release.gpg
Ign http://us.archive.ubuntu.com hardy/main Translation-en_US
Ign http://security.ubuntu.com hardy-security/restricted Translation-en_US
Ign http://security.ubuntu.com hardy-security/universe Translation-en_US
Ign http://security.ubuntu.com hardy-security/multiverse Translation-en_US
Get:2 http://security.ubuntu.com hardy-security Release [58.5kB]
Hit http://archive.canonical.com hardy Release
Ign http://us.archive.ubuntu.com hardy/restricted Translation-en_US
Ign http://us.archive.ubuntu.com hardy/universe Translation-en_US
Ign http://us.archive.ubuntu.com hardy/multiverse Translation-en_US
Get:3 http://us.archive.ubuntu.com hardy-updates Release.gpg [189B]
Ign http://us.archive.ubuntu.com hardy-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com hardy-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com hardy-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com hardy-updates/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com hardy Release
Get:4 http://us.archive.ubuntu.com hardy-updates Release [58.5kB]
Hit http://archive.canonical.com hardy/partner Packages
Hit http://archive.canonical.com hardy/partner Sources
Hit http://us.archive.ubuntu.com hardy/main Packages
Hit http://us.archive.ubuntu.com hardy/restricted Packages
Hit http://us.archive.ubuntu.com hardy/main Sources
Hit http://us.archive.ubuntu.com hardy/restricted Sources
Hit http://us.archive.ubuntu.com hardy/universe Packages
Hit http://us.archive.ubuntu.com hardy/universe Sources
Hit http://us.archive.ubuntu.com hardy/multiverse Packages
Hit http://us.archive.ubuntu.com hardy/multiverse Sources
Get:5 http://security.ubuntu.com hardy-security/main Packages [29.0kB]
Get:6 http://us.archive.ubuntu.com hardy-updates/main Packages [276kB]
Get:7 http://security.ubuntu.com hardy-security/restricted Packages [6156B]
Get:8 http://security.ubuntu.com hardy-security/main Sources [7567B]
Get:9 http://us.archive.ubuntu.com hardy-updates/restricted Packages [6626B]
Get:10 http://us.archive.ubuntu.com hardy-updates/main Sources [79.1kB]
Get:11 http://security.ubuntu.com hardy-security/restricted Sources [906B]
Get:12 http://security.ubuntu.com hardy-security/universe Packages [20.8kB]
Get:13 http://security.ubuntu.com hardy-security/universe Sources [3308B]
Get:14 http://us.archive.ubuntu.com hardy-updates/restricted Sources [907B]
Get:15 http://us.archive.ubuntu.com hardy-updates/universe Packages [69.5kB]
Get:16 http://security.ubuntu.com hardy-security/multiverse Packages [3465B]
Get:17 http://security.ubuntu.com hardy-security/multiverse Sources [14B]
Get:18 http://us.archive.ubuntu.com hardy-updates/universe Sources [15.0kB]
Get:19 http://us.archive.ubuntu.com hardy-updates/multiverse Packages [12.0kB]
Get:20 http://us.archive.ubuntu.com hardy-updates/multiverse Sources [1943B]
Fetched 650kB in 3s (173kB/s)
Reading package lists... Done
And:
rob@robs-acer:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
openoffice.org-core
The following NEW packages will be installed:
openoffice.org-core
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
15 not fully installed or removed.
Need to get 0B/26.8MB of archives.
After this operation, 113MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 120462 files and directories currently installed.)
Unpacking openoffice.org-core (from .../openoffice.org-core_1%3a2.4.1-1ubuntu2_i386.deb) ...
lzma: Decoder error
dpkg-deb: subprocess <decompress> returned error exit status 1
dpkg: error processing /var/cache/apt/archives/openoffice.org-core_1%3a2.4.1-1ubuntu2_i386.deb (--unpack):
short read in buffer_copy (backend dpkg-deb during `./usr/lib/openoffice/program/libpackage2.so')
Errors were encountered while processing:
/var/cache/apt/archives/openoffice.org-core_1%3a2.4.1-1ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
rob@robs-acer:~$
So, what needs to be fixed and how do I fix it?
Failed to check for installed and available applications
This is a major failure of your software management system. Please check for broken packages with synaptic, check the file permissions and correctness of the file '/etc/apt/sources.list' and reload the software information with: 'sudo apt-get update' and 'sudo apt-get install -f'.
So, I opened a terminal and entered the sudo commands.
rob@robs-acer:~$ sudo apt-get update
[sudo] password for rob:
Get:1 http://security.ubuntu.com hardy-security Release.gpg [189B]
Ign http://security.ubuntu.com hardy-security/main Translation-en_US
Hit http://archive.canonical.com hardy Release.gpg
Ign http://archive.canonical.com hardy/partner Translation-en_US
Hit http://us.archive.ubuntu.com hardy Release.gpg
Ign http://us.archive.ubuntu.com hardy/main Translation-en_US
Ign http://security.ubuntu.com hardy-security/restricted Translation-en_US
Ign http://security.ubuntu.com hardy-security/universe Translation-en_US
Ign http://security.ubuntu.com hardy-security/multiverse Translation-en_US
Get:2 http://security.ubuntu.com hardy-security Release [58.5kB]
Hit http://archive.canonical.com hardy Release
Ign http://us.archive.ubuntu.com hardy/restricted Translation-en_US
Ign http://us.archive.ubuntu.com hardy/universe Translation-en_US
Ign http://us.archive.ubuntu.com hardy/multiverse Translation-en_US
Get:3 http://us.archive.ubuntu.com hardy-updates Release.gpg [189B]
Ign http://us.archive.ubuntu.com hardy-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com hardy-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com hardy-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com hardy-updates/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com hardy Release
Get:4 http://us.archive.ubuntu.com hardy-updates Release [58.5kB]
Hit http://archive.canonical.com hardy/partner Packages
Hit http://archive.canonical.com hardy/partner Sources
Hit http://us.archive.ubuntu.com hardy/main Packages
Hit http://us.archive.ubuntu.com hardy/restricted Packages
Hit http://us.archive.ubuntu.com hardy/main Sources
Hit http://us.archive.ubuntu.com hardy/restricted Sources
Hit http://us.archive.ubuntu.com hardy/universe Packages
Hit http://us.archive.ubuntu.com hardy/universe Sources
Hit http://us.archive.ubuntu.com hardy/multiverse Packages
Hit http://us.archive.ubuntu.com hardy/multiverse Sources
Get:5 http://security.ubuntu.com hardy-security/main Packages [29.0kB]
Get:6 http://us.archive.ubuntu.com hardy-updates/main Packages [276kB]
Get:7 http://security.ubuntu.com hardy-security/restricted Packages [6156B]
Get:8 http://security.ubuntu.com hardy-security/main Sources [7567B]
Get:9 http://us.archive.ubuntu.com hardy-updates/restricted Packages [6626B]
Get:10 http://us.archive.ubuntu.com hardy-updates/main Sources [79.1kB]
Get:11 http://security.ubuntu.com hardy-security/restricted Sources [906B]
Get:12 http://security.ubuntu.com hardy-security/universe Packages [20.8kB]
Get:13 http://security.ubuntu.com hardy-security/universe Sources [3308B]
Get:14 http://us.archive.ubuntu.com hardy-updates/restricted Sources [907B]
Get:15 http://us.archive.ubuntu.com hardy-updates/universe Packages [69.5kB]
Get:16 http://security.ubuntu.com hardy-security/multiverse Packages [3465B]
Get:17 http://security.ubuntu.com hardy-security/multiverse Sources [14B]
Get:18 http://us.archive.ubuntu.com hardy-updates/universe Sources [15.0kB]
Get:19 http://us.archive.ubuntu.com hardy-updates/multiverse Packages [12.0kB]
Get:20 http://us.archive.ubuntu.com hardy-updates/multiverse Sources [1943B]
Fetched 650kB in 3s (173kB/s)
Reading package lists... Done
And:
rob@robs-acer:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
openoffice.org-core
The following NEW packages will be installed:
openoffice.org-core
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
15 not fully installed or removed.
Need to get 0B/26.8MB of archives.
After this operation, 113MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 120462 files and directories currently installed.)
Unpacking openoffice.org-core (from .../openoffice.org-core_1%3a2.4.1-1ubuntu2_i386.deb) ...
lzma: Decoder error
dpkg-deb: subprocess <decompress> returned error exit status 1
dpkg: error processing /var/cache/apt/archives/openoffice.org-core_1%3a2.4.1-1ubuntu2_i386.deb (--unpack):
short read in buffer_copy (backend dpkg-deb during `./usr/lib/openoffice/program/libpackage2.so')
Errors were encountered while processing:
/var/cache/apt/archives/openoffice.org-core_1%3a2.4.1-1ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
rob@robs-acer:~$
So, what needs to be fixed and how do I fix it?