update manager leaves lock file
I followed the directions to run some diagnostic commands. I was not able to complete the procedure because it asked me to insert the installation CD which I no longer have. Here are the commands and the output as requested on Launchpad. I don't yet know whether the updater or package manager is now in an operable condition.
mark@markwlinux0:~$ sudo fuser -vvv /var/lib/dpkg/lock
mark@markwlinux0:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
mark@markwlinux0:~$ uname -a
Linux markwlinux0 2.6.35-28-generic #49-Ubuntu SMP Tue Mar 1 14:40:58 UTC 2011 i686 GNU/Linux
mark@markwlinux0:~$ sudo rm /var/lib/
rm: cannot remove `/var/lib/
mark@markwlinux0:~$ sudo cp -arf /var/lib/dpkg /var/lib/
mark@markwlinux0:~$ sudo cp /var/lib/
mark@markwlinux0:~$ sudo cp /var/lib/
mark@markwlinux0:~$ sudo rm -rf /var/lib/
mark@markwlinux0:~$ sudo rm -rf /var/lib/apt/lists
mark@markwlinux0:~$ sudo rm /var/cache/
mark@markwlinux0:~$ sudo mkdir /var/lib/apt/lists
mark@markwlinux0:~$ sudo mkdir /var/lib/
mark@markwlinux0:~$ LANG=C;sudo apt-get clean
mark@markwlinux0:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
mark@markwlinux0:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libgcj-common* libruby1.8* python-bugbuddy* python-evince* python-evolution*
python-
python-
0 upgraded, 0 newly installed, 11 to remove and 0 not upgraded.
24 not fully installed or removed.
After this operation, 8860kB disk space will be freed.
Do you want to continue [Y/n]? Y
warning, in file '/var/lib/
error in Version string '3.1.2-
warning, in file '/var/lib/
error in Config-Version string '3.1.2-
warning, in file '/var/lib/
error in Version string '3.1.2-
(Reading database ... 305958 files and directories currently installed.)
Removing libgcj-common ...
Purging configuration files for libgcj-common ...
Removing ruby1.8 ...
Purging configuration files for ruby1.8 ...
Removing libruby1.8 ...
Purging configuration files for libruby1.8 ...
Removing python-bugbuddy ...
Removing python-evince ...
Removing python-evolution ...
Removing python-gnomedesktop ...
Removing python-gtop ...
Removing python-
Removing python-metacity ...
Removing python-
Processing triggers for man-db ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
warning, in file '/var/lib/
error in Version string '3.1.2-
warning, in file '/var/lib/
error in Config-Version string '3.1.2-
warning, in file '/var/lib/
error in Version string '3.1.2-
Setting up libldap-2.4-2 (2.4.23-0ubuntu3.5) ...
Setting up gdm (2.30.5-0ubuntu4.1) ...
Setting up libqtcore4 (4:4.7.
Setting up libqt4-xml (4:4.7.
Setting up libqt4-dbus (4:4.7.
Setting up libqtgui4 (4:4.7.
Setting up libqt4-script (4:4.7.
Setting up libqt4-designer (4:4.7.
Setting up libqt4-network (4:4.7.
Setting up libqt4-sql (4:4.7.
Setting up libqt4-help (4:4.7.
Setting up libqt4-opengl (4:4.7.
Setting up libqt4-qt3support (4:4.7.
Setting up libqt4-scripttools (4:4.7.
Setting up libqt4-sql-mysql (4:4.7.
Setting up libqt4-sql-sqlite (4:4.7.
Setting up libqt4-svg (4:4.7.
Setting up libqt4-test (4:4.7.
Setting up libqt4-xmlpatterns (4:4.7.
Setting up libwbclient0 (2:3.5.
Setting up libsmbclient (2:3.5.
Setting up samba-common (2:3.5.
Setting up samba-common-bin (2:3.5.
Setting up smbclient (2:3.5.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
mark@markwlinux0:~$ LANG=C;sudo apt-get update -o APT::Cache-
Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid Release.gpg
Get:1 http://
Ign http://
Get:2 http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:3 http://
Ign http://
Ign http://
Get:4 http://
Ign http://
Ign http://
Get:5 http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Media change: please insert the disc labeled
'Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)'
in the drive '/cdrom/' and press enter
99% [Working]
99% [Working]
Media change: please insert the disc labeled
'Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)'
in the drive '/cdrom/' and press enter
99% [Working]^C
mark@markwlinux0:~$
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Mark Wattier for more information if necessary.