Lists directory /var/lib/apt/lists/partial is missing.
At the time of updating ubuntu 9.1 i got this message
Lists directory /var/lib/
Someone please tell me how to solve this problem???
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu synaptic Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mark Rijckenberg
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hi,
First please make sure to close all open programs, including all package managers like Synaptic, Add/remove programs, etc ...
Then please try this procedure:
Step 1: Open Terminal from "Applications-
Terminal"
Step 2: Please COPY-PASTE each line below into the Terminal then hit <enter> after each line)
sudo rm /var/lib/
sudo cp -arf /var/lib/dpkg /var/lib/
sudo cp /var/lib/
sudo cp /var/lib/
sudo rm -rf /var/lib/
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/
LANG=C;sudo aptitude clean
LANG=C;sudo aptitude autoclean
LANG=C;sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
LANG=C;sudo aptitude install -f
LANG=C;sudo aptitude update
LANG=C;sudo aptitude dist-upgrade
Step 3: Please post results (copy/paste terminal output from each command) on this thread
Hope it helps,
Regards,
Mark
Revision history for this message
|
#2 |
Thankx for your help.
I am giving the terminal output with every command as you asked me.
sudo rm /var/lib/
sudo cp -arf /var/lib/dpkg /var/lib/
sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backu sudo cp
/var/lib/
sudo cp /var/lib/
sudo rm -rf /var/lib/
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/
LANG=C;sudo aptitude clean
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
LANG=C;sudo aptitude autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Freed 0B of disk space
LANG=C;sudo apt-get update
Get:1 http://
Get:2 http://
[189B]
Get:3 http://
[65.9kB]
Get:4 http://
Get:5 http://
Get:6 http://
[44.1kB]
Get:7 http://
Get:8 http://
[44.1kB]
Get:9 http://
[4184B]
Get:10 http://
[1725B]
Get:11 http://
[1353kB]
Get:12 http://
[77.6kB]
Get:13 http://
[14B]
Get:14 http://
[23.3kB]
Get:15 http://
[14B]
Get:16 http://
[37.1kB]
Get:17 http://
[6767B]
Get:18 http://
[1666B]
Get:19 http://
[577B]
Get:20 http://
[7971B]
Get:21 http://
[640kB]
Get:22 http://
[3270B]
Get:23 http://
[5133kB]
Get:24 http://
[2795kB]
Get:25 http://
[190kB]
Get:26 http://
[116kB]
Get:27 http://
[188kB]
Get:28 http://
[14B]
Get:29 http://
[55.2kB]
Get:30 http://
[14B]
Get:31 http://
[109kB]
Get:32 http://
[26.9kB]
Get:33 http://
[7369B]
Get:34 http://
[4025B]
Fetched 10.9MB in 12min 7s
(15.0kB/s)
Reading package lists... Done
sudo dpkg --clear-avail
sudo dpkg --configure -a
Setting up libxcb-shm0 (1.4-1) ...
Setting up libqca2 (2.0.2-1ubuntu1) ...
Setting up libqt4-sql (4.5.3really4.
Setting up libstreams0 (0.7.0-1) ...
Setting up libqt4-svg (4.5.3really4.
Setting up kdebase-
Setting up libqt4-network (4.5.3really4.
Setting up libqt4-sql-mysql (4.5.3really4.
Setting up libqt4-opengl (4.5.3really4.
Setting up kde-icons-oxygen (4:4.3.2-0ubuntu1) ...
Setting up kdebase-
Setting up ttf-dejavu-extra (2.29-2) ...
Setting up liblzma0 (4.999.
Setting up libexiv2-5 (0.18.2-1) ...
Setting up kdelibs5-data (4:4.3.
Setting up libxine1-bin (1.1.16.3-0ubuntu4) ...
Setting up libclucene0ldbl (0.9.20-3) ...
Setting up libqt4-xml (4.5.3really4.
Setting up ttf-dejavu (2.29-2) ...
Setting up libxcb-shape0 (1.4-1) ...
Setting up libxcb-xv0 (1.4-1) ...
Setting up libxine1-
Setting up libxine1-console (1.1.16.3-0ubuntu4) ...
Setting up libqt4-dbus (4.5.3really4.
Setting up exiv2 (0.18.2-1) ...
Setting up libstreamanalyzer0 (0.7.0-1) ...
Setting up libxine1-x (1.1.16.3-0ubuntu4) ...
Setting up libqt4-phonon (4.5.3really4.
Setting up libqt4-webkit (4.5.3really4.
Setting up libqt4-script (4.5.3really4.
Setting up libqt4-designer (4.5.3really4.
Setting up libqt4-qt3support (4.5.3really4.
Setting up libxine1 (1.1.16.3-0ubuntu4) ...
Setting up phonon-backend-xine (4:4.3.1-4ubuntu1) ...
Setting up soprano-daemon (2.3.1+dfsg.1-1) ...
Setting up libsoprano4 (2.3.1+dfsg.1-1) ...
Setting up kdelibs-bin (4:4.3.
Setting up kdelibs5 (4:4.3.
Setting up libplasma3 (4:4.3.
Setting up libknotificatio
Setting up kdebase-
Setting up kdebase-runtime (4:4.3.
Setting up khelpcenter4 (4:4.3.
Setting up kget (4:4.3.2-0ubuntu4) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
LANG=C;sudo aptitude install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
LANG=C;sudo aptitude update
Get:1 http://
Get:2 http://
[189B]
Hit http://
Release.gpg
Get:3 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Packages
Hit http://
Get:4 http://
[44.1kB]
Hit http://
Sources
Hit http://
Get:5 http://
[1353kB]
Hit http://
Hit http://
Hit http://
Sources
Hit http://
Packages
Hit http://
Sources
Get:6 http://
[7971B]
Get:7 http://
[640kB]
Get:8 http://
[3270B]
Get:9 http://
[5133kB]
Get:10 http://
[2795kB]
Get:11 http://
[190kB]
Get:12 http://
[116kB]
Get:13 http://
[188kB]
Get:14 http://
[14B]
Get:15 http://
[55.2kB]
Get:16 http://
[14B]
Get:17 http://
[109kB]
Get:18 http://
[26.9kB]
Get:19 http://
[7369B]
Get:20 http://
[4025B]
Fetched 10.7MB in 11min 53s
(15.0kB/s)
Reading package lists... Done
LANG=C;sudo aptitude dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages will be upgraded:
dpkg gnome-screensaver tzdata
3 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 6979kB of archives. After unpacking 65.5kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://
[2126kB]
Get:2 http://
2010e-0ubuntu0.9.10 [683kB]
Get:3 http://
2.28.0-0ubuntu3.5 [4170kB]
Fetched 6979kB in 7min 41s
(15.1kB/s)
Preconfiguring packages ...
(Reading database ... 130981 files and directories currently installed.)
Preparing to replace dpkg 1.15.4ubuntu2 (using
.../dpkg_
Unpacking replacement dpkg ...
Processing triggers for man-db ...
Setting up dpkg (1.15.4ubuntu2.1) ...
(Reading database ... 130981 files and directories currently installed.)
Preparing to replace tzdata 2009u-0ubuntu0.9.10 (using
.../tzdata_
Unpacking replacement tzdata ...
Setting up tzdata (2010e-
Current default time zone: 'Asia/Kolkata'
Local time is now: Sat Mar 13 23:14:37 IST 2010.
Universal Time is now: Sat Mar 13 17:44:37 UTC 2010.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
(Reading database ... 130990 files and directories currently installed.)
Preparing to replace gnome-screensaver 2.28.0-0ubuntu3.4 (using
.../gnome-
Unpacking replacement gnome-screensaver ...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Setting up gnome-screensaver (2.28.0-0ubuntu3.5) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Current status: 0 updates [-3].
Revision history for this message
|
#3 |
According to your Terminal output, your issue with /var/lib/
Revision history for this message
|
#4 |
Thanks Mark Rijckenberg, that solved my question.
Revision history for this message
|
#9 |
LinkedIn
------------
I'd like to add you to my professional network on LinkedIn.
- Rahul
Rahul Agarwal
Student at Indian School of Mines
Dhanbad Area, India
Confirm that you know Rahul Agarwal:
https:/
--
You are receiving Invitation to Connect emails. Click to unsubscribe:
http://
(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.
Revision history for this message
|
#10 |
LinkedIn
------------
I'd like to add you to my professional network on LinkedIn.
- Rahul
Rahul Agarwal
Associate Technology at SapientNitro
Gurgaon, India
Confirm that you know Rahul Agarwal:
https:/
--
You are receiving Invitation to Connect emails. Click to unsubscribe:
http://
(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.
Revision history for this message
|
#11 |
LinkedIn
------------
I'd like to add you to my professional network on LinkedIn.
- Rahul
Rahul Agarwal
Senior Hybris Developer at White Labelled
Bengaluru Area, India
Confirm that you know Rahul Agarwal:
https:/
--
You are receiving Invitation to Connect emails. Click to unsubscribe:
http://
(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.
Revision history for this message
|
#12 |
Hi ,
I'd like to add you to my professional network on LinkedIn.
- Rahul
You are receiving Invitation emails. Unsubscribe here: http://
Learn why we included this at the following link: http://
© 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA