Having problem with package manager
samsung@ubuntu:~$ sudo fuser -vvv /var/lib/dpkg/lock
[sudo] password for samsung:
samsung@ubuntu:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
samsung@ubuntu:~$ uname -a
Linux ubuntu 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:50:54 UTC 2012 i686 i686 i386 GNU/Linux
samsung@ubuntu:~$ sudo rm /var/lib/
samsung@ubuntu:~$ sudo cp -arf /var/lib/dpkg /var/lib/
samsung@ubuntu:~$ sudo cp /var/lib/
samsung@ubuntu:~$ sudo cp /var/lib/
samsung@ubuntu:~$ sudo rm -rf /var/lib/
samsung@ubuntu:~$ sudo rm -rf /var/lib/apt/lists
samsung@ubuntu:~$ sudo rm /var/cache/
samsung@ubuntu:~$ sudo mkdir /var/lib/apt/lists
samsung@ubuntu:~$ sudo mkdir /var/lib/
samsung@ubuntu:~$ LANG=C;sudo apt-get clean
samsung@ubuntu:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
samsung@ubuntu:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
8 not fully installed or removed.
After this operation, 98.2 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 213286 files and directories currently installed.)
Removing linux-headers-
Removing linux-headers-
Setting up libpng12-0 (1.2.46-3ubuntu1.1) ...
Setting up adobe-flashplugin (11.1.102.
Setting up adobe-flash-
Setting up thunderbird (10.0.1+
Setting up thunderbird-
Setting up thunderbird-
Setting up update-manager-core (1:0.152.25.8) ...
Setting up update-manager (1:0.152.25.8) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
samsung@ubuntu:~$ LANG=C;sudo apt-get update -o APT::Cache-
Ign http://
Ign http://
Ign http://
Ign http://
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Ign http://
Get:11 http://
Get:12 http://
Ign http://
Get:13 http://
Ign http://
Ign http://
Get:14 http://
Get:15 http://
Get:16 http://
Fetched 2880 kB in 44s (65.0 kB/s)
Reading package lists... Done
samsung@ubuntu:~$ sudo dpkg --configure -a
samsung@ubuntu:~$ sudo dpkg --clear-avail
samsung@ubuntu:~$ 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.
samsung@ubuntu:~$ 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.
samsung@ubuntu:~$ LANG=C;sudo apt-get update -o APT::Cache-
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Ign http://
Ign http://
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.
samsung@ubuntu:~$
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask samir xalxo for more information if necessary.