Package Manager 11.04 fix package Log

Asked by Bob

bobalso@bobalso-IC780M-A:~$ sudo fuser -vvv /var/lib/dpkg/lock
[sudo] password for bobalso:
bobalso@bobalso-IC780M-A:~$ uname -a
Linux bobalso-IC780M-A 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 athlon i386 GNU/Linux
bobalso@bobalso-IC780M-A:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"
bobalso@bobalso-IC780M-A:~$ uname -a
Linux bobalso-IC780M-A 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 athlon i386 GNU/Linux
bobalso@bobalso-IC780M-A:~$ sudo rm /var/lib/apt/lists/lock
bobalso@bobalso-IC780M-A:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
bobalso@bobalso-IC780M-A:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
bobalso@bobalso-IC780M-A:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
bobalso@bobalso-IC780M-A:~$ sudo rm /var/lib/apt/lists/lock
rm: cannot remove `/var/lib/apt/lists/lock': No such file or directory
bobalso@bobalso-IC780M-A:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
bobalso@bobalso-IC780M-A:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
bobalso@bobalso-IC780M-A:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
bobalso@bobalso-IC780M-A:~$ sudo rm -rf /var/lib/dpkg/updates/*
bobalso@bobalso-IC780M-A:~$ sudo rm -rf /var/lib/apt/lists
bobalso@bobalso-IC780M-A:~$ sudo rm /var/cache/apt/*.bin
bobalso@bobalso-IC780M-A:~$ sudo mkdir /var/lib/apt/lists
bobalso@bobalso-IC780M-A:~$ sudo mkdir /var/lib/apt/lists/partial
bobalso@bobalso-IC780M-A:~$
bobalso@bobalso-IC780M-A:~$
bobalso@bobalso-IC780M-A:~$ LANG=C;sudo apt-get clean
bobalso@bobalso-IC780M-A:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
bobalso@bobalso-IC780M-A:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libcanberra-gtk3-0* libcanberra-gtk3-module* libclutter-1.0-0*
  libclutter-1.0-common* libclutter-gtk-1.0-0* libgail-3-0* libgtk-3-0*
  libgtk-3-bin* libgtk-3-common* libwebkitgtk-3.0-0* libwebkitgtk-3.0-common*
0 upgraded, 0 newly installed, 11 to remove and 0 not upgraded.
14 not fully installed or removed.
After this operation, 30.6 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 135804 files and directories currently installed.)
Removing libcanberra-gtk3-module ...
Purging configuration files for libcanberra-gtk3-module ...
Removing libcanberra-gtk3-0 ...
Purging configuration files for libcanberra-gtk3-0 ...
Removing libclutter-gtk-1.0-0 ...
Purging configuration files for libclutter-gtk-1.0-0 ...
Removing libclutter-1.0-0 ...
Purging configuration files for libclutter-1.0-0 ...
Removing libclutter-1.0-common ...
Removing libwebkitgtk-3.0-0 ...
Purging configuration files for libwebkitgtk-3.0-0 ...
Removing libgail-3-0 ...
Purging configuration files for libgail-3-0 ...
Removing libgtk-3-bin ...
Removing 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin'
Removing 'diversion of /usr/share/man/man8/update-icon-caches.8.gz to /usr/share/man/man8/update-icon-caches.gtk2.8.gz by libgtk-3-bin'
Purging configuration files for libgtk-3-bin ...
Removing libgtk-3-0 ...
Purging configuration files for libgtk-3-0 ...
dpkg: warning: while removing libgtk-3-0, directory '/usr/lib/gtk-3.0/3.0.0' not empty so not removed.
dpkg: warning: while removing libgtk-3-0, directory '/usr/lib/gtk-3.0' not empty so not removed.
Removing libgtk-3-common ...
Removing libwebkitgtk-3.0-common ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for man-db ...
Processing triggers for libglib2.0-0 ...
Setting up x11proto-core-dev (7.0.20-1) ...
Setting up libice-dev (2:1.0.7-1ubuntu1) ...
Setting up xtrans-dev (1.2.6-1) ...
Setting up libpthread-stubs0 (0.3-2) ...
Setting up libpthread-stubs0-dev (0.3-2) ...
Setting up libsm-dev (2:1.2.0-1ubuntu1) ...
Setting up libxau-dev (1:1.0.6-1ubuntu1) ...
Setting up libxdmcp-dev (1:1.1.0-1ubuntu1) ...
Setting up x11proto-input-dev (2.0.1-1ubuntu1) ...
Setting up x11proto-kb-dev (1.0.5-1) ...
Setting up libxcb1-dev (1.7-2ubuntu2) ...
Setting up libx11-dev (2:1.4.2-1ubuntu3) ...
Setting up libxt-dev (1:1.0.9-1ubuntu1) ...
Setting up openjdk-6-jdk (6b22-1.10.1-0ubuntu1) ...
bobalso@bobalso-IC780M-A:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign http://archive.canonical.com natty InRelease
Ign http://extras.ubuntu.com natty InRelease
Ign http://archive.ubuntu.com natty InRelease
Ign http://archive.ubuntu.com natty-updates InRelease
Ign http://archive.ubuntu.com natty-security InRelease
Ign http://ppa.launchpad.net natty InRelease
Get:1 http://archive.canonical.com natty Release.gpg [198 B]
Get:2 http://extras.ubuntu.com natty Release.gpg [72 B]
Get:3 http://archive.ubuntu.com natty Release.gpg [198 B]
Get:4 http://ppa.launchpad.net natty Release.gpg [316 B]
Get:5 http://archive.canonical.com natty Release [5916 B]
Get:6 http://extras.ubuntu.com natty Release [9753 B]
Get:7 http://archive.ubuntu.com natty-updates Release.gpg [198 B]
Get:8 http://ppa.launchpad.net natty Release [9735 B]
Get:9 http://archive.ubuntu.com natty-security Release.gpg [198 B]
Get:10 http://archive.canonical.com natty/partner i386 Packages [7884 B]
Get:11 http://archive.ubuntu.com natty Release [39.8 kB]
Get:12 http://ppa.launchpad.net natty/main Sources [5304 B]
Get:13 http://extras.ubuntu.com natty/main i386 Packages [14 B]
Get:14 http://ppa.launchpad.net natty/main i386 Packages [7648 B]
Ign http://ppa.launchpad.net natty/main TranslationIndex
Ign http://archive.canonical.com natty/partner TranslationIndex
Ign http://extras.ubuntu.com natty/main TranslationIndex
Get:15 http://archive.ubuntu.com natty-updates Release [27.2 kB]
Get:16 http://archive.ubuntu.com natty-security Release [27.2 kB]
Get:17 http://archive.ubuntu.com natty/main Sources [862 kB]
Ign http://ppa.launchpad.net natty/main Translation-en
Ign http://archive.canonical.com natty/partner Translation-en
Ign http://extras.ubuntu.com natty/main Translation-en
Get:18 http://archive.ubuntu.com natty/restricted Sources [4104 B]
Get:19 http://archive.ubuntu.com natty/universe Sources [4380 kB]
Get:20 http://archive.ubuntu.com natty/multiverse Sources [155 kB]
Get:21 http://archive.ubuntu.com natty/main i386 Packages [1550 kB]
Get:22 http://archive.ubuntu.com natty/restricted i386 Packages [8986 B]
Get:23 http://archive.ubuntu.com natty/universe i386 Packages [6021 kB]
Get:24 http://archive.ubuntu.com natty/multiverse i386 Packages [183 kB]
Ign http://archive.ubuntu.com natty/main TranslationIndex
Ign http://archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty/restricted TranslationIndex
Ign http://archive.ubuntu.com natty/universe TranslationIndex
Get:25 http://archive.ubuntu.com natty-updates/main Sources [43.6 kB]
Get:26 http://archive.ubuntu.com natty-updates/restricted Sources [14 B]
Get:27 http://archive.ubuntu.com natty-updates/universe Sources [14.5 kB]
Get:28 http://archive.ubuntu.com natty-updates/multiverse Sources [1378 B]
Get:29 http://archive.ubuntu.com natty-updates/main i386 Packages [138 kB]
Get:30 http://archive.ubuntu.com natty-updates/restricted i386 Packages [14 B]
Get:31 http://archive.ubuntu.com natty-updates/universe i386 Packages [58.1 kB]
Get:32 http://archive.ubuntu.com natty-updates/multiverse i386 Packages [3750 B]
Ign http://archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-updates/universe TranslationIndex
Get:33 http://archive.ubuntu.com natty-security/main Sources [12.1 kB]
Get:34 http://archive.ubuntu.com natty-security/restricted Sources [14 B]
Get:35 http://archive.ubuntu.com natty-security/universe Sources [6102 B]
Get:36 http://archive.ubuntu.com natty-security/multiverse Sources [656 B]
Get:37 http://archive.ubuntu.com natty-security/main i386 Packages [36.2 kB]
Get:38 http://archive.ubuntu.com natty-security/restricted i386 Packages [14 B]
Get:39 http://archive.ubuntu.com natty-security/universe i386 Packages [20.4 kB]
Get:40 http://archive.ubuntu.com natty-security/multiverse i386 Packages [2069 B]
Ign http://archive.ubuntu.com natty-security/main TranslationIndex
Ign http://archive.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-security/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-security/universe TranslationIndex
Ign http://archive.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty/multiverse Translation-en
Ign http://archive.ubuntu.com natty/restricted Translation-en
Ign http://archive.ubuntu.com natty/universe Translation-en
Ign http://archive.ubuntu.com natty-updates/main Translation-en
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://archive.ubuntu.com natty-updates/universe Translation-en
Ign http://archive.ubuntu.com natty-security/main Translation-en
Ign http://archive.ubuntu.com natty-security/multiverse Translation-en
Ign http://archive.ubuntu.com natty-security/restricted Translation-en
Ign http://archive.ubuntu.com natty-security/universe Translation-en
Fetched 13.6 MB in 1min 18s (175 kB/s)
Reading package lists... Done
bobalso@bobalso-IC780M-A:~$ sudo dpkg --clear-avail
bobalso@bobalso-IC780M-A:~$ sudo dpkg --configure -a
bobalso@bobalso-IC780M-A:~$ 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 0 not upgraded.
bobalso@bobalso-IC780M-A:~$ 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 0 not upgraded.
bobalso@bobalso-IC780M-A:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign http://extras.ubuntu.com natty InRelease
Ign http://archive.canonical.com natty InRelease
Ign http://archive.ubuntu.com natty InRelease
Ign http://archive.ubuntu.com natty-updates InRelease
Ign http://archive.ubuntu.com natty-security InRelease
Hit http://extras.ubuntu.com natty Release.gpg
Ign http://ppa.launchpad.net natty InRelease
Hit http://archive.canonical.com natty Release.gpg
Hit http://archive.ubuntu.com natty Release.gpg
Hit http://extras.ubuntu.com natty Release
Hit http://ppa.launchpad.net natty Release.gpg
Hit http://archive.canonical.com natty Release
Hit http://archive.ubuntu.com natty-updates Release.gpg
Hit http://extras.ubuntu.com natty/main i386 Packages
Hit http://ppa.launchpad.net natty Release
Hit http://archive.canonical.com natty/partner i386 Packages
Hit http://archive.ubuntu.com natty-security Release.gpg
Ign http://extras.ubuntu.com natty/main TranslationIndex
Hit http://ppa.launchpad.net natty/main Sources
Ign http://archive.canonical.com natty/partner TranslationIndex
Hit http://archive.ubuntu.com natty Release
Hit http://ppa.launchpad.net natty/main i386 Packages
Ign http://ppa.launchpad.net natty/main TranslationIndex
Hit http://archive.ubuntu.com natty-updates Release
Hit http://archive.ubuntu.com natty-security Release
Hit http://archive.ubuntu.com natty/main Sources
Hit http://archive.ubuntu.com natty/restricted Sources
Hit http://archive.ubuntu.com natty/universe Sources
Hit http://archive.ubuntu.com natty/multiverse Sources
Hit http://archive.ubuntu.com natty/main i386 Packages
Hit http://archive.ubuntu.com natty/restricted i386 Packages
Hit http://archive.ubuntu.com natty/universe i386 Packages
Hit http://archive.ubuntu.com natty/multiverse i386 Packages
Ign http://archive.ubuntu.com natty/main TranslationIndex
Ign http://archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty/restricted TranslationIndex
Ign http://archive.ubuntu.com natty/universe TranslationIndex
Hit http://archive.ubuntu.com natty-updates/main Sources
Hit http://archive.ubuntu.com natty-updates/restricted Sources
Hit http://archive.ubuntu.com natty-updates/universe Sources
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://archive.canonical.com natty/partner Translation-en
Hit http://archive.ubuntu.com natty-updates/multiverse Sources
Hit http://archive.ubuntu.com natty-updates/main i386 Packages
Hit http://archive.ubuntu.com natty-updates/restricted i386 Packages
Hit http://archive.ubuntu.com natty-updates/universe i386 Packages
Ign http://ppa.launchpad.net natty/main Translation-en
Hit http://archive.ubuntu.com natty-updates/multiverse i386 Packages
Ign http://archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-updates/universe TranslationIndex
Hit http://archive.ubuntu.com natty-security/main Sources
Hit http://archive.ubuntu.com natty-security/restricted Sources
Hit http://archive.ubuntu.com natty-security/universe Sources
Hit http://archive.ubuntu.com natty-security/multiverse Sources
Hit http://archive.ubuntu.com natty-security/main i386 Packages
Hit http://archive.ubuntu.com natty-security/restricted i386 Packages
Hit http://archive.ubuntu.com natty-security/universe i386 Packages
Hit http://archive.ubuntu.com natty-security/multiverse i386 Packages
Ign http://archive.ubuntu.com natty-security/main TranslationIndex
Ign http://archive.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-security/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-security/universe TranslationIndex
Ign http://archive.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty/multiverse Translation-en
Ign http://archive.ubuntu.com natty/restricted Translation-en
Ign http://archive.ubuntu.com natty/universe Translation-en
Ign http://archive.ubuntu.com natty-updates/main Translation-en
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://archive.ubuntu.com natty-updates/universe Translation-en
Ign http://archive.ubuntu.com natty-security/main Translation-en
Ign http://archive.ubuntu.com natty-security/multiverse Translation-en
Ign http://archive.ubuntu.com natty-security/restricted Translation-en
Ign http://archive.ubuntu.com natty-security/universe Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
bobalso@bobalso-IC780M-A:~$

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

The message "0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded." at the end shows that apt-get does not see a problem in the package management any more. Running the Package management trouble shooting procedure seems to have solved the problem that was there at the beginning.

Do you see any further problem on your system related to package installation?

Revision history for this message
Bob (sckbr) said :
#2

Attempting to install "Empathy".

Following received from Synaptic Package Manager:
  E. Unable to correct problems, You have held broken packages.
  E. Error, pkgProblemResolution: Resolve generated breaks, This may be
caused by held Packages.
  E. Unable to correct dependencies.

Have attempted to "Fix problems". in Synaptic Package Manager.

Bob R

On Wed, 2011-06-15 at 10:01 +0000, Manfred Hampl wrote:
> Your question #161469 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/161469
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> The message "0 upgraded, 0 newly installed, 0 to remove and 0 not
> upgraded." at the end shows that apt-get does not see a problem in the
> package management any more. Running the Package management trouble
> shooting procedure seems to have solved the problem that was there at
> the beginning.
>
> Do you see any further problem on your system related to package
> installation?
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Please issue the following commands and then paste the complete output:

sudo dpkg --audit
sudo apt-get install -f
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install empathy

Can you help with this problem?

Provide an answer of your own, or ask Bob for more information if necessary.

To post a message you must log in.