bones@bones-desktop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu 9.10"
bones@bones-desktop:~$ uname -a
Linux bones-desktop 2.6.31-22-generic #70-Ubuntu SMP Wed Dec 1 23:51:13 UTC 2010 i686 GNU/Linux
bones@bones-desktop:~$ sudo rm /var/lib/apt/lists/lock
[sudo] password for bones:
bones@bones-desktop:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
bones@bones-desktop:~$
bones@bones-desktop:~$
bones@bones-desktop:~$
bones@bones-desktop:~$
bones@bones-desktop:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
bones@bones-desktop:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
bones@bones-desktop:~$ sudo rm -rf /var/lib/dpkg/updates/*
bones@bones-desktop:~$ sudo rm -rf /var/lib/apt/lists
bones@bones-desktop:~$ sudo rm /var/cache/apt/*.bin
bones@bones-desktop:~$ sudo mkdir /var/lib/apt/lists
bones@bones-desktop:~$ sudo mkdir /var/lib/apt/lists/partial
bones@bones-desktop:~$ LANG=C;sudo apt-get clean
bones@bones-desktop:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
bones@bones-desktop:~$ LANG=C;sudo apt-get --purge autoremove
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:
openoffice.org-base-core: Depends: openoffice.org-core (= 1:3.1.1-5ubuntu1.2) but 1:3.0.1-9ubuntu3.3 is installed
openoffice.org-calc: Depends: openoffice.org-core (= 1:3.1.1-5ubuntu1.2) but 1:3.0.1-9ubuntu3.3 is installed
openoffice.org-draw: Depends: openoffice.org-core (= 1:3.1.1-5ubuntu1.2) but 1:3.0.1-9ubuntu3.3 is installed
openoffice.org-impress: Depends: openoffice.org-core (= 1:3.1.1-5ubuntu1.2) but 1:3.0.1-9ubuntu3.3 is installed
openoffice.org-kde: Depends: openoffice.org-core (= 1:3.1.1-5ubuntu1.2) but 1:3.0.1-9ubuntu3.3 is installed
Recommends: openoffice.org-style-oxygen but it is not installable
openoffice.org-math: Depends: openoffice.org-core (= 1:3.1.1-5ubuntu1.2) but 1:3.0.1-9ubuntu3.3 is installed
openoffice.org-writer: Depends: openoffice.org-core (= 1:3.1.1-5ubuntu1.2) but 1:3.0.1-9ubuntu3.3 is installed
E: Unmet dependencies. Try using -f.
bones@bones-desktop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Get:1 http://archive.ubuntu.com karmic Release.gpg [189B]
Get:2 http://archive.ubuntu.com karmic-updates Release.gpg [198B]
Get:3 http://archive.ubuntu.com karmic-security Release.gpg [198B]
Get:4 http://archive.ubuntu.com karmic Release [65.9kB]
Get:5 http://archive.ubuntu.com karmic-updates Release [51.3kB]
Get:6 http://archive.ubuntu.com karmic-security Release [51.3kB]
Get:7 http://archive.ubuntu.com karmic/main Packages [1353kB]
Get:8 http://archive.ubuntu.com karmic/restricted Packages [7971B]
Get:9 http://archive.ubuntu.com karmic/main Sources [640kB]
Get:10 http://archive.ubuntu.com karmic/restricted Sources [3270B]
Get:11 http://archive.ubuntu.com karmic/universe Packages [5133kB]
Get:12 http://archive.ubuntu.com karmic/universe Sources [2795kB]
Get:13 http://archive.ubuntu.com karmic/multiverse Packages [190kB]
Get:14 http://archive.ubuntu.com karmic/multiverse Sources [116kB]
Get:15 http://archive.ubuntu.com karmic-updates/main Packages [325kB]
Get:16 http://archive.ubuntu.com karmic-updates/restricted Packages [1631B]
Get:17 http://archive.ubuntu.com karmic-updates/main Sources [161kB]
Get:18 http://archive.ubuntu.com karmic-updates/restricted Sources [878B]
Get:19 http://archive.ubuntu.com karmic-updates/universe Packages [192kB]
Get:20 http://archive.ubuntu.com karmic-updates/universe Sources [64.7kB]
Get:21 http://archive.ubuntu.com karmic-updates/multiverse Packages [11.7kB]
Get:22 http://archive.ubuntu.com karmic-updates/multiverse Sources [6058B]
Get:23 http://archive.ubuntu.com karmic-security/main Packages [210kB]
Get:24 http://archive.ubuntu.com karmic-security/restricted Packages [14B]
Get:25 http://archive.ubuntu.com karmic-security/main Sources [122kB]
Get:26 http://archive.ubuntu.com karmic-security/restricted Sources [14B]
Get:27 http://archive.ubuntu.com karmic-security/universe Packages [97.6kB]
Get:28 http://archive.ubuntu.com karmic-security/universe Sources [34.1kB]
Get:29 http://archive.ubuntu.com karmic-security/multiverse Packages [4713B]
Get:30 http://archive.ubuntu.com karmic-security/multiverse Sources [1425B]
Fetched 11.6MB in 21s (545kB/s)
Reading package lists... Done
bones@bones-desktop:~$ sudo dpkg --clear-avail
bones@bones-desktop:~$
bones@bones-desktop:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of openoffice.org-impress:
openoffice.org-impress depends on openoffice.org-core (= 1:3.1.1-5ubuntu1.2); however:
Version of openoffice.org-core on system is 1:3.0.1-9ubuntu3.3.
dpkg: error processing openoffice.org-impress (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openoffice.org-math:
openoffice.org-math depends on openoffice.org-core (= 1:3.1.1-5ubuntu1.2); however:
Version of openoffice.org-core on system is 1:3.0.1-9ubuntu3.3.
dpkg: error processing openoffice.org-math (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openoffice.org-draw:
openoffice.org-draw depends on openoffice.org-core (= 1:3.1.1-5ubuntu1.2); however:
Version of openoffice.org-core on system is 1:3.0.1-9ubuntu3.3.
dpkg: error processing openoffice.org-draw (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openoffice.org-base-core:
openoffice.org-base-core depends on openoffice.org-core (= 1:3.1.1-5ubuntu1.2); however:
Version of openoffice.org-core on system is 1:3.0.1-9ubuntu3.3.
dpkg: error processing openoffice.org-base-core (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openoffice.org-kde:
openoffice.org-kde depends on openoffice.org-core (= 1:3.1.1-5ubuntu1.2); however:
Version of openoffice.org-core on system is 1:3.0.1-9ubuntu3.3.
dpkg: error processing openoffice.org-kde (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
openoffice.org-impress
openoffice.org-math
openoffice.org-draw
openoffice.org-base-core
openoffice.org-kde
bones@bones-desktop:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libopenal1 bluez-gnome mobile-broadband-provider-info python-plasma libsvga1
libboost-program-options1.35.0 xulrunner-1.9 toolame screen-profiles python-dev
libggi-target-x libeet1 libgweather1 dontzap libparted1.8-10 libk3b3-extracodecs libggi2
libgii1 libgweather-common libpoppler4 libqzion0 liblzo2-2 libffado0 python2.6-dev
libgii1-target-x firefox-3.0 imagemagick-doc libvolume-id1 libcolamd-3.2.0 gnome-mount
nvidia-180-kernel-source libqedje0 libntfs-3g49 nvidia-180-libvdpau
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
latex-xft-fonts libneon27-gnutls openoffice.org-common openoffice.org-core
openoffice.org-l10n-en-gb openoffice.org-l10n-en-za openoffice.org-style-human python-uno
xfonts-mathml
Suggested packages:
openoffice.org-style-industrial openoffice.org-style-hicontrast
openoffice.org-style-tango openoffice.org-style-oxygen hunspell-dictionary-en-gb
myspell-dictionary-en-gb openoffice.org-hyphenation-en-gb openoffice.org2-thesaurus-en-gb
hunspell-dictionary-en-za myspell-dictionary-en-za openoffice.org-hyphenation-en-za
openoffice.org2-thesaurus-en-za openoffice.org-help-en-za ttf-mathematica4.1
The following NEW packages will be installed:
latex-xft-fonts libneon27-gnutls xfonts-mathml
The following packages will be upgraded:
openoffice.org-common openoffice.org-core openoffice.org-l10n-en-gb
openoffice.org-l10n-en-za openoffice.org-style-human python-uno
6 upgraded, 3 newly installed, 0 to remove and 164 not upgraded.
7 not fully installed or removed.
Need to get 60.3MB of archives.
After this operation, 19.5MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://archive.ubuntu.com karmic/main openoffice.org-l10n-en-za 1:3.1.1-4ubuntu1 [9158kB]
Get:2 http://archive.ubuntu.com karmic-updates/main openoffice.org-core 1:3.1.1-5ubuntu1.2 [28.0MB]
Get:3 http://archive.ubuntu.com karmic/main openoffice.org-l10n-en-gb 1:3.1.1-4ubuntu1 [1922kB]
Get:4 http://archive.ubuntu.com karmic-updates/main python-uno 1:3.1.1-5ubuntu1.2 [96.8kB]
Get:5 http://archive.ubuntu.com karmic-updates/main openoffice.org-style-human 1:3.1.1-5ubuntu1.2 [3814kB]
Get:6 http://archive.ubuntu.com karmic-updates/main openoffice.org-common 1:3.1.1-5ubuntu1.2 [17.1MB]
Get:7 http://archive.ubuntu.com karmic/main libneon27-gnutls 0.28.6-1 [125kB]
Get:8 http://archive.ubuntu.com karmic/main latex-xft-fonts 0.1-8 [94.8kB]
Get:9 http://archive.ubuntu.com karmic/main xfonts-mathml 2 [42.2kB]
Fetched 60.3MB in 1min 37s (616kB/s)
dpkg: openoffice.org-core: dependency problems, but removing anyway as you requested:
python-uno depends on openoffice.org-core (= 1:3.0.1-9ubuntu3.3).
(Reading database ... 20%dpkg: unrecoverable fatal error, aborting:
files list file for package 'libavidemux0' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
bones@bones-desktop:~$ LANG=C;sudo apt-get --fix-missing install
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
bones@bones-desktop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Hit http://archive.ubuntu.com karmic Release.gpg
Hit http://archive.ubuntu.com karmic-updates Release.gpg
Hit http://archive.ubuntu.com karmic-security Release.gpg
Hit http://archive.ubuntu.com karmic Release
Hit http://archive.ubuntu.com karmic-updates Release
Hit http://archive.ubuntu.com karmic-security Release
Hit http://archive.ubuntu.com karmic/main Packages
Hit http://archive.ubuntu.com karmic/restricted Packages
Hit http://archive.ubuntu.com karmic/main Sources
Hit http://archive.ubuntu.com karmic/restricted Sources
Hit http://archive.ubuntu.com karmic/universe Packages
Hit http://archive.ubuntu.com karmic/universe Sources
Hit http://archive.ubuntu.com karmic/multiverse Packages
Hit http://archive.ubuntu.com karmic/multiverse Sources
Hit http://archive.ubuntu.com karmic-updates/main Packages
Hit http://archive.ubuntu.com karmic-updates/restricted Packages
Hit http://archive.ubuntu.com karmic-updates/main Sources
Hit http://archive.ubuntu.com karmic-updates/restricted Sources
Hit http://archive.ubuntu.com karmic-updates/universe Packages
Hit http://archive.ubuntu.com karmic-updates/universe Sources
Hit http://archive.ubuntu.com karmic-updates/multiverse Packages
Hit http://archive.ubuntu.com karmic-updates/multiverse Sources
Hit http://archive.ubuntu.com karmic-security/main Packages
Hit http://archive.ubuntu.com karmic-security/restricted Packages
Hit http://archive.ubuntu.com karmic-security/main Sources
Hit http://archive.ubuntu.com karmic-security/restricted Sources
Hit http://archive.ubuntu.com karmic-security/universe Packages
Hit http://archive.ubuntu.com karmic-security/universe Sources
Hit http://archive.ubuntu.com karmic-security/multiverse Packages
Hit http://archive.ubuntu.com karmic-security/multiverse Sources
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
bones@bones-desktop:~$
bones@bones-desktop:~$