package system broken Ubuntu 12.04

Asked by RIZA BAYOGLU on 2013-02-13

I have recently installed Ubuntu 12.04. When I try to install updates, it says package system is broken. In detail part, these are reported:

The following packages have unmet dependencies:

libc6: Depends: libc-bin (= 2.15-0ubuntu10) but 2.15-0ubuntu10.2 is installed
libc6-dev: Depends: libc6 (= 2.15-0ubuntu10.2) but 2.15-0ubuntu10 is installed
Depends: libc-dev-bin (= 2.15-0ubuntu10.2) but 2.15-0ubuntu10.2 is installed

Based on the suggestion, I issued this command: sudo apt-get -f install

But, it did not solve the problem either. It gave me this output:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc-bin libc-dev-bin libc6 libc6-dev
Suggested packages:
glibc-doc
The following packages will be upgraded:
libc-bin libc-dev-bin libc6 libc6-dev
4 upgraded, 0 newly installed, 0 to remove and 319 not upgraded.
1 not fully installed or removed.
Need to get 10.2 MB of archives.
After this operation, 18.4 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc-dev-bin i386 2.15-0ubuntu10.3 [77.7 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc6-dev i386 2.15-0ubuntu10.3 [5,100 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc-bin i386 2.15-0ubuntu10.3 [1,131 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc6 i386 2.15-0ubuntu10.3 [3,940 kB]
Fetched 10.2 MB in 2min 7s (80.6 kB/s)
Preconfiguring packages ...
(Reading database ... 141438 files and directories currently installed.)
Preparing to replace libc-dev-bin 2.15-0ubuntu10.2 (using .../libc-dev-bin_2.15-0ubuntu10.3_i386.deb) ...
Unpacking replacement libc-dev-bin ...
Preparing to replace libc-bin 2.15-0ubuntu10.2 (using .../libc-bin_2.15-0ubuntu10.3_i386.deb) ...
Unpacking replacement libc-bin ...
Processing triggers for man-db ...
Setting up libc-bin (2.15-0ubuntu10.3) ...
(Reading database ... 141438 files and directories currently installed.)
Preparing to replace libc6 2.15-0ubuntu10 (using .../libc6_2.15-0ubuntu10.3_i386.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.15-0ubuntu10.3) ...
Setting up libc-dev-bin (2.15-0ubuntu10.3) ...
dpkg: dependency problems prevent configuration of libc6-dev:
libc6-dev depends on libc6 (= 2.15-0ubuntu10.2); however:
Version of libc6 on system is 2.15-0ubuntu10.3.
libc6-dev depends on libc-dev-bin (= 2.15-0ubuntu10.2); however:
Version of libc-dev-bin on system is 2.15-0ubuntu10.3.
dpkg: error processing libc6-dev (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin ...
No apport report written because MaxReports is reached already
ldconfig deferred processing now taking place
Errors were encountered while processing:
libc6-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)

How shall I proceed?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Solved:
2013-02-18
Last query:
2013-02-18
Last reply:
2013-02-17
Manfred Hampl (m-hampl) said : #1

Please execute the instructions in steps 1 to 6 in https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure with the only exception that in step 6 you should not create a new question, but should continue to use this current question document for pasting the output.

RIZA BAYOGLU (r-bayoglu) said : #3

andrew-woodhead666, I followed the procedure in the link you have provided.

Now, issuing sudo apt-get update gives,

....
it http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
Fetched 1 B in 2s (0 B/s)
W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.

What do you suggest?

N1ck 7h0m4d4k15 (nicktux) said : #4

sudo rm -rf /var/lib/apt/lists/*

sudo apt-get update

sudo apt-get dist-upgrade

Thanks

RIZA BAYOGLU (r-bayoglu) said : #5

Nikth, I tried first two steps you suggested, I got no error.
But, sudo apt-get dist-upgrade gave this:

Processing triggers for fontconfig ...
Errors were encountered while processing:
 /var/cache/apt/archives/libreoffice-impress_1%3a3.5.7-0ubuntu4_i386.deb
 /var/cache/apt/archives/libreoffice-draw_1%3a3.5.7-0ubuntu4_i386.deb
 /var/cache/apt/archives/libreoffice-core_1%3a3.5.7-0ubuntu4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

What shall I do now?

Instead of asking for more suggestions, please first try all suggestions that were already posted, including post #1 (from Manfred).... We never received the full Terminal output from the procedure in post #1.

RIZA BAYOGLU (r-bayoglu) said : #7

Ok. Here it is the output of post #1. Thanks.

rocker@chaos:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for rocker:
rocker@chaos:~$ echo $http_proxy

rocker@chaos:~$ echo $ftp_proxy

rocker@chaos:~$ grep proxy /etc/bash.bashrc
rocker@chaos:~$ sudo fuser -vvv /var/lib/dpkg/lock
rocker@chaos:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
rocker@chaos:~$ uname -a
Linux chaos 3.2.0-37-generic-pae #58-Ubuntu SMP Thu Jan 24 15:51:02 UTC 2013 i686 i686 i386 GNU/Linux
rocker@chaos:~$ sudo rm /var/lib/apt/lists/lock
rocker@chaos:~$ sudo rm /var/lib/dpkg/lock
rocker@chaos:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup

rocker@chaos:~$
rocker@chaos:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
rocker@chaos:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
rocker@chaos:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
rocker@chaos:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
rocker@chaos:~$ sudo rm -rf /var/lib/dpkg/updates/*
rocker@chaos:~$ sudo rm -rf /var/lib/apt/lists
rocker@chaos:~$ sudo rm /var/cache/apt/*.bin
rocker@chaos:~$ sudo mkdir /var/lib/apt/lists
rocker@chaos:~$ sudo mkdir /var/lib/apt/lists/partial
rocker@chaos:~$ LANG=C;sudo apt-get clean
rocker@chaos:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
rocker@chaos:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
24 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up gstreamer0.10-gconf (0.10.31-1ubuntu1.1) ...
Setting up gstreamer0.10-plugins-good (0.10.31-1ubuntu1.1) ...
Setting up language-selector-common (0.79.1) ...
Setting up libqtcore4 (4:4.8.1-0ubuntu4.4) ...
Setting up libqt4-xml (4:4.8.1-0ubuntu4.4) ...
Setting up libqt4-dbus (4:4.8.1-0ubuntu4.4) ...
Setting up qdbus (4:4.8.1-0ubuntu4.4) ...
Setting up libqt4-network (4:4.8.1-0ubuntu4.4) ...
Setting up libqt4-script (4:4.8.1-0ubuntu4.4) ...
Setting up libqt4-sql (4:4.8.1-0ubuntu4.4) ...
Setting up libqt4-xmlpatterns (4:4.8.1-0ubuntu4.4) ...
Setting up libqt4-sql-sqlite (4:4.8.1-0ubuntu4.4) ...
Setting up libreoffice-style-human (1:3.5.7-0ubuntu4) ...
Setting up libreoffice-style-tango (1:3.5.7-0ubuntu4) ...
Setting up fonts-opensymbol (2:102.2+LibO3.5.7-0ubuntu4) ...
Setting up gstreamer0.10-pulseaudio (0.10.31-1ubuntu1.1) ...
Setting up language-selector-gnome (0.79.1) ...
Setting up libqt4-declarative (4:4.8.1-0ubuntu4.4) ...
Setting up ure (3.5.7-0ubuntu4) ...
Setting up uno-libs3 (3.5.7-0ubuntu4) ...
Setting up libreoffice-common (1:3.5.7-0ubuntu4) ...
Setting up libqtgui4 (4:4.8.1-0ubuntu4.4) ...
Setting up libqt4-opengl (4:4.8.1-0ubuntu4.4) ...
Setting up libqt4-svg (4:4.8.1-0ubuntu4.4) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
rocker@chaos:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000
Ign http://archive.ubuntu.com precise InRelease
Ign http://archive.ubuntu.com precise-updates InRelease
Ign http://archive.ubuntu.com precise-backports InRelease
Ign http://archive.ubuntu.com precise-security InRelease
Get:1 http://archive.ubuntu.com precise Release.gpg [198 B]
Get:2 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:3 http://archive.ubuntu.com precise-backports Release.gpg [198 B]
Get:4 http://archive.ubuntu.com precise-security Release.gpg [198 B]
Get:5 http://archive.ubuntu.com precise Release [49.6 kB]
Get:6 http://archive.ubuntu.com precise-updates Release [49.6 kB]
Get:7 http://archive.ubuntu.com precise-backports Release [49.6 kB]
Get:8 http://archive.ubuntu.com precise-security Release [49.6 kB]
Get:9 http://archive.ubuntu.com precise/main Sources [934 kB]
Get:10 http://archive.ubuntu.com precise/restricted Sources [5470 B]
Get:11 http://archive.ubuntu.com precise/universe Sources [5019 kB]
Get:12 http://archive.ubuntu.com precise/multiverse Sources [155 kB]
Get:13 http://archive.ubuntu.com precise/main i386 Packages [1274 kB]
Get:14 http://archive.ubuntu.com precise/restricted i386 Packages [8431 B]
Get:15 http://archive.ubuntu.com precise/universe i386 Packages [4796 kB]
Get:16 http://archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
Get:17 http://archive.ubuntu.com precise/main TranslationIndex [3706 B]
Get:18 http://archive.ubuntu.com precise/multiverse TranslationIndex [2676 B]
Get:19 http://archive.ubuntu.com precise/restricted TranslationIndex [2596 B]
Get:20 http://archive.ubuntu.com precise/universe TranslationIndex [2922 B]
Get:21 http://archive.ubuntu.com precise-updates/main Sources [367 kB]
Get:22 http://archive.ubuntu.com precise-updates/restricted Sources [5135 B]
Get:23 http://archive.ubuntu.com precise-updates/universe Sources [79.2 kB]
Get:24 http://archive.ubuntu.com precise-updates/multiverse Sources [4725 B]
Get:25 http://archive.ubuntu.com precise-updates/main i386 Packages [589 kB]
Get:26 http://archive.ubuntu.com precise-updates/restricted i386 Packages [9503 B]
Get:27 http://archive.ubuntu.com precise-updates/universe i386 Packages [183 kB]
Get:28 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [10.4 kB]
Get:29 http://archive.ubuntu.com precise-updates/main TranslationIndex [3564 B]
Get:30 http://archive.ubuntu.com precise-updates/multiverse TranslationIndex [2605 B]
Get:31 http://archive.ubuntu.com precise-updates/restricted TranslationIndex [2461 B]
Get:32 http://archive.ubuntu.com precise-updates/universe TranslationIndex [2850 B]
Get:33 http://archive.ubuntu.com precise-backports/main Sources [2422 B]
Get:34 http://archive.ubuntu.com precise-backports/restricted Sources [14 B]
Get:35 http://archive.ubuntu.com precise-backports/universe Sources [21.8 kB]
Get:36 http://archive.ubuntu.com precise-backports/multiverse Sources [2669 B]
Get:37 http://archive.ubuntu.com precise-backports/main i386 Packages [1941 B]
Get:38 http://archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Get:39 http://archive.ubuntu.com precise-backports/universe i386 Packages [22.4 kB]
Get:40 http://archive.ubuntu.com precise-backports/multiverse i386 Packages [2504 B]
Get:41 http://archive.ubuntu.com precise-backports/main TranslationIndex [72 B]
Get:42 http://archive.ubuntu.com precise-backports/multiverse TranslationIndex [72 B]
Get:43 http://archive.ubuntu.com precise-backports/restricted TranslationIndex [70 B]
Get:44 http://archive.ubuntu.com precise-backports/universe TranslationIndex [73 B]
Get:45 http://archive.ubuntu.com precise-security/main Sources [63.2 kB]
Get:46 http://archive.ubuntu.com precise-security/restricted Sources [1950 B]
Get:47 http://archive.ubuntu.com precise-security/universe Sources [22.2 kB]
Get:48 http://archive.ubuntu.com precise-security/multiverse Sources [1382 B]
Get:49 http://archive.ubuntu.com precise-security/main i386 Packages [234 kB]
Get:50 http://archive.ubuntu.com precise-security/restricted i386 Packages [3968 B]
Get:51 http://archive.ubuntu.com precise-security/universe i386 Packages [69.4 kB]
Get:52 http://archive.ubuntu.com precise-security/multiverse i386 Packages [2368 B]
Get:53 http://archive.ubuntu.com precise-security/main TranslationIndex [74 B]
Get:54 http://archive.ubuntu.com precise-security/multiverse TranslationIndex [71 B]
Get:55 http://archive.ubuntu.com precise-security/restricted TranslationIndex [71 B]
Get:56 http://archive.ubuntu.com precise-security/universe TranslationIndex [73 B]
Get:57 http://archive.ubuntu.com precise/main Translation-en [726 kB]
Get:58 http://archive.ubuntu.com precise/multiverse Translation-en [93.4 kB]
Get:59 http://archive.ubuntu.com precise/restricted Translation-en [2395 B]
Get:60 http://archive.ubuntu.com precise/universe Translation-en [3341 kB]
Get:61 http://archive.ubuntu.com precise-updates/main Translation-en [259 kB]
Get:62 http://archive.ubuntu.com precise-updates/multiverse Translation-en [5694 B]
Get:63 http://archive.ubuntu.com precise-updates/restricted Translation-en [2328 B]
Get:64 http://archive.ubuntu.com precise-updates/universe Translation-en [108 kB]
Get:65 http://archive.ubuntu.com precise-backports/main Translation-en [1244 B]
Get:66 http://archive.ubuntu.com precise-backports/multiverse Translation-en [1476 B]
Get:67 http://archive.ubuntu.com precise-backports/restricted Translation-en [14 B]
Get:68 http://archive.ubuntu.com precise-backports/universe Translation-en [15.9 kB]
Get:69 http://archive.ubuntu.com precise-security/main Translation-en [110 kB]
Get:70 http://archive.ubuntu.com precise-security/multiverse Translation-en [995 B]
Get:71 http://archive.ubuntu.com precise-security/restricted Translation-en [978 B]
Get:72 http://archive.ubuntu.com precise-security/universe Translation-en [43.2 kB]
Fetched 18.9 MB in 30s (623 kB/s)
Reading package lists... Done
rocker@chaos:~$
rocker@chaos:~$ sudo dpkg --configure -a
rocker@chaos:~$ sudo dpkg --clear-avail
rocker@chaos:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
rocker@chaos:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
rocker@chaos:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Ign http://archive.ubuntu.com precise InRelease
Ign http://archive.ubuntu.com precise-updates InRelease
Ign http://archive.ubuntu.com precise-backports InRelease
Ign http://archive.ubuntu.com precise-security InRelease
Hit http://archive.ubuntu.com precise Release.gpg
Hit http://archive.ubuntu.com precise-updates Release.gpg
Hit http://archive.ubuntu.com precise-backports Release.gpg
Hit http://archive.ubuntu.com precise-security Release.gpg
Hit http://archive.ubuntu.com precise Release
Hit http://archive.ubuntu.com precise-updates Release
Hit http://archive.ubuntu.com precise-backports Release
Hit http://archive.ubuntu.com precise-security Release
Hit http://archive.ubuntu.com precise/main Sources
Hit http://archive.ubuntu.com precise/restricted Sources
Hit http://archive.ubuntu.com precise/universe Sources
Hit http://archive.ubuntu.com precise/multiverse Sources
Hit http://archive.ubuntu.com precise/main i386 Packages
Hit http://archive.ubuntu.com precise/restricted i386 Packages
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse i386 Packages
Hit http://archive.ubuntu.com precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise/restricted TranslationIndex
Hit http://archive.ubuntu.com precise/universe TranslationIndex
Hit http://archive.ubuntu.com precise-updates/main Sources
Hit http://archive.ubuntu.com precise-updates/restricted Sources
Hit http://archive.ubuntu.com precise-updates/universe Sources
Hit http://archive.ubuntu.com precise-updates/multiverse Sources
Hit http://archive.ubuntu.com precise-updates/main i386 Packages
Hit http://archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://archive.ubuntu.com precise-backports/main Sources
Hit http://archive.ubuntu.com precise-backports/restricted Sources
Hit http://archive.ubuntu.com precise-backports/universe Sources
Hit http://archive.ubuntu.com precise-backports/multiverse Sources
Hit http://archive.ubuntu.com precise-backports/main i386 Packages
Hit http://archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://archive.ubuntu.com precise-security/main Sources
Hit http://archive.ubuntu.com precise-security/restricted Sources
Hit http://archive.ubuntu.com precise-security/universe Sources
Hit http://archive.ubuntu.com precise-security/multiverse Sources
Hit http://archive.ubuntu.com precise-security/main i386 Packages
Hit http://archive.ubuntu.com precise-security/restricted i386 Packages
Hit http://archive.ubuntu.com precise-security/universe i386 Packages
Hit http://archive.ubuntu.com precise-security/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-security/main TranslationIndex
Hit http://archive.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-security/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-security/universe TranslationIndex
Hit http://archive.ubuntu.com precise/main Translation-en
Hit http://archive.ubuntu.com precise/multiverse Translation-en
Hit http://archive.ubuntu.com precise/restricted Translation-en
Hit http://archive.ubuntu.com precise/universe Translation-en
Hit http://archive.ubuntu.com precise-updates/main Translation-en
Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://archive.ubuntu.com precise-updates/universe Translation-en
Hit http://archive.ubuntu.com precise-backports/main Translation-en
Hit http://archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://archive.ubuntu.com precise-backports/universe Translation-en
Hit http://archive.ubuntu.com precise-security/main Translation-en
Hit http://archive.ubuntu.com precise-security/multiverse Translation-en
Hit http://archive.ubuntu.com precise-security/restricted Translation-en
Hit http://archive.ubuntu.com precise-security/universe Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libreoffice-core libreoffice-draw libreoffice-impress
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 41.2 MB of archives.
After this operation, 72.7 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main libreoffice-impress i386 1:3.5.7-0ubuntu4 [651 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise-updates/main libreoffice-draw i386 1:3.5.7-0ubuntu4 [3169 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise-updates/main libreoffice-core i386 1:3.5.7-0ubuntu4 [37.4 MB]
Fetched 41.2 MB in 54s (762 kB/s)
(Reading database ... 145005 files and directories currently installed.)
Preparing to replace libreoffice-impress 1:3.5.4-0ubuntu1.1 (using .../libreoffice-impress_1%3a3.5.7-0ubuntu4_i386.deb) ...
Unpacking replacement libreoffice-impress ...
Preparing to replace libreoffice-draw 1:3.5.4-0ubuntu1.1 (using .../libreoffice-draw_1%3a3.5.7-0ubuntu4_i386.deb) ...
Unpacking replacement libreoffice-draw ...
Preparing to replace libreoffice-core 1:3.5.4-0ubuntu1.1 (using .../libreoffice-core_1%3a3.5.7-0ubuntu4_i386.deb) ...
rmdir: failed to remove `/var/lib/libreoffice/basis3.4/program/': No such file or directory
rmdir: failed to remove `/var/lib/libreoffice/basis3.4': No such file or directory
Unpacking replacement libreoffice-core ...
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up libreoffice-core (1:3.5.7-0ubuntu4) ...
Setting up libreoffice-draw (1:3.5.7-0ubuntu4) ...
Setting up libreoffice-impress (1:3.5.7-0ubuntu4) ...
rocker@chaos:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release i386 (20120817.3)]/ precise main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://archive.ubuntu.com/ubuntu precise main restricted
     6 deb-src http://archive.ubuntu.com/ubuntu precise main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://archive.ubuntu.com/ubuntu precise-updates main restricted
    11 deb-src http://archive.ubuntu.com/ubuntu precise-updates main restricted
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 deb http://archive.ubuntu.com/ubuntu precise universe
    17 deb-src http://archive.ubuntu.com/ubuntu precise universe
    18 deb http://archive.ubuntu.com/ubuntu precise-updates universe
    19 deb-src http://archive.ubuntu.com/ubuntu precise-updates universe
    20
    21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    22 ## team, and may not be under a free licence. Please satisfy yourself as to
    23 ## your rights to use the software. Also, please note that software in
    24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25 ## security team.
    26 deb http://archive.ubuntu.com/ubuntu precise multiverse
    27 deb-src http://archive.ubuntu.com/ubuntu precise multiverse
    28 deb http://archive.ubuntu.com/ubuntu precise-updates multiverse
    29 deb-src http://archive.ubuntu.com/ubuntu precise-updates multiverse
    30
    31 ## N.B. software from this repository may not have been tested as
    32 ## extensively as that contained in the main release, although it includes
    33 ## newer versions of some applications which may provide useful features.
    34 ## Also, please note that software in backports WILL NOT receive any review
    35 ## or updates from the Ubuntu security team.
    36 deb http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse
    37 deb-src http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse
    38
    39 deb http://archive.ubuntu.com/ubuntu precise-security main restricted
    40 deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted
    41 deb http://archive.ubuntu.com/ubuntu precise-security universe
    42 deb-src http://archive.ubuntu.com/ubuntu precise-security universe
    43 deb http://archive.ubuntu.com/ubuntu precise-security multiverse
    44 deb-src http://archive.ubuntu.com/ubuntu precise-security multiverse
    45
    46 ## Uncomment the following two lines to add software from Canonical's
    47 ## 'partner' repository.
    48 ## This software is not part of Ubuntu, but is offered by Canonical and the
    49 ## respective vendors as a service to Ubuntu users.
    50 # deb http://archive.canonical.com/ubuntu precise partner
    51 # deb-src http://archive.canonical.com/ubuntu precise partner
    52
    53 ## This software is not part of Ubuntu, but is offered by third-party
    54 ## developers who want to ship their latest software.
    55 # deb http://extras.ubuntu.com/ubuntu precise main
    56 # deb-src http://extras.ubuntu.com/ubuntu precise main
rocker@chaos:~$

Seems that post #1 solved the issue. Next time, please do not ignore or skip instructions that have been given to you.

RIZA BAYOGLU (r-bayoglu) said : #9

Well, I am not sure if that is the case. (I also noticed that package system was repaired, but I got different problems now.)

I got warnings, like "system program problem detected".
It also says "Sorry, Ubuntu 12.04 has experienced an internal error". Do you have an idea what does that mean?

Best N1ck 7h0m4d4k15 (nicktux) said : #10

Do you have any real problems with your system when this message appears ?

I mean , unusable desktop , or some glitches , or something similar ?

IF NOT

then you can ignore this message and you can disappear this message once and for all.

Execute the command below

sudo sed 's/enabled=1/enabled=0/' -i /etc/default/apport

Done. No more messages about "internal errors" ... etc.

Apply the command above ONLY and ONLY IF you have NO REAL PROBLEM with your system.

Thanks

RIZA BAYOGLU (r-bayoglu) said : #11

Thanks NikTh, that solved my question.