![]() |
/var/lib/apt/lists MISSING :/
Hi!
I have this application manager problem: Code:
E: could not open lock file /var/lib/apt/lists/lock - open (2 As the error message says, the dir: Code:
/var/lib/apt/lists How can I resolve this? I mean it has nothing to do with a rootfs space issue. I got almost 40mb there. Its all about the apt missing its dirs and cant do its thing. |
Re: /var/lib/apt/lists MISSING :/
FWIW, mkdir -p /var/lib/apt/lists/partial (as root) and then setting permissions on both the partial and lists folder to 755 should work. An "apt-get update" will recreate the files in the lists folder.
|
Re: /var/lib/apt/lists MISSING :/
This fixed my application manager not working. Its all good, from here!
What I did was for the interested crowed: 1# SSH into your lovely device 2# sudo gainroot 3# Code:
mkdir -p /var/lib/apt/lists/partial Code:
chmod 755 /var/lib/apt/lists && chmod 755 /var/lib/apt/lists/partial |
Re: /var/lib/apt/lists MISSING :/
sorry but my question might sound silly...what does it mean to ssh?
|
Re: /var/lib/apt/lists MISSING :/
Quote:
|
Re: /var/lib/apt/lists MISSING :/
Quote:
Its rather I, that am sorry for not explaining things better. I will take this into account in the future! Thanks for your input! :) |
Re: /var/lib/apt/lists MISSING :/
Quote:
Maybe anyone confuse with point #1 and #2. Just type "sudo su" on your terminal. After finish, you can quit from gainroot (sudo su) by "Ctrl+D". Maybe I've made mistake?:cool: |
Re: /var/lib/apt/lists MISSING :/
If somebody else has that problem and to quickly solve:
as root mkdir /var/lib/apt/lists vi /var/lib/apt/lists/lock -> Press Esc on the screen then write ':wq' on the keyboard, then Enter mkdir /var/lib/apt/lists/partial Problem solved |
Re: /var/lib/apt/lists MISSING :/
Sorry for diggin up such an old topic but I've got a bit different problem here.
with su Code:
/home/user # apt-get update How to fix that? |
Re: /var/lib/apt/lists MISSING :/
It may be that the automatic update from Hildon Application Manager is interfering, this even might take some minutes...
Are you really using 'su' instead of the other tweaks to gain the rights of root? |
Re: /var/lib/apt/lists MISSING :/
Quote:
Code:
mkdir /var/lib/apt/lists |
Re: /var/lib/apt/lists MISSING :/
Quote:
I've also tried root access by BusyBox. Doesn't really work and I'm kind of scared of that one really. I'm not a pro Linux user, just a regular one. My app manager on startup states "Operation Failed" and I can't really do anything. /var/lib/apt/lists is empty and... I don't know what to do. I had that once already on the Easy Debian LXDE image and couldn't fix that either. |
Re: /var/lib/apt/lists MISSING :/
You need rootsh installed for these commands to work
Code:
sudo gainroot |
Re: /var/lib/apt/lists MISSING :/
Here's a full paste.
Code:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash) |
Re: /var/lib/apt/lists MISSING :/
Quote:
Those are not revertable but with a full reflash of the device. Please verify the error message of apt-get Code:
ls -al /var/lib/apt |
All times are GMT. The time now is 23:27. |
vBulletin® Version 3.8.8