Hi all, Some comments. I have apt Version 0.7.9ubuntu15 I was doing sudo aptitude update While downloading the index one of the index files was corrupt or something. It did the whole cycle of the update. Then I tried to re-update the index & the following things came up :-
[EMAIL PROTECTED]:~$ sudo aptitude update E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable) E: Couldn't lock list directory..are you root? [EMAIL PROTECTED]:~$ sudo fuser -vki /var/lib/dpkg/lock; sudo dpkg --configure -a [EMAIL PROTECTED]:~$ sudo aptitude update E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable) E: Couldn't lock list directory..are you root? [EMAIL PROTECTED]:~$ dpkg --configure -a dpkg: requested operation requires superuser privilege [EMAIL PROTECTED]:~$ sudo dpkg --configure -a [EMAIL PROTECTED]:~$ sudo aptitude update E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable) E: Couldn't lock list directory..are you root? As one can see none of the workarounds told above works/worked for me. :( Which means either I need to shutdown and/or restart the machine or do the sudo killall apt aptitude apt-get Of course that's not the recommended thing but that's what works for me most of the time. -- Poor resolution of "database locked" problem https://bugs.launchpad.net/bugs/48627 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
