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 :-
shirish@Mugglewille:~$ 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?
shirish@Mugglewille:~$ sudo fuser -vki /var/lib/dpkg/lock; sudo dpkg --configure -a
shirish@Mugglewille:~$ 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?
shirish@Mugglewille:~$ dpkg --configure -a
dpkg: requested operation requires superuser privilege
shirish@Mugglewille:~$ sudo dpkg --configure -a
shirish@Mugglewille:~$ 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.
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 :-
shirish@ Mugglewille: ~$ sudo aptitude update apt/lists/ lock - open (11 Resource temporarily unavailable) Mugglewille: ~$ sudo fuser -vki /var/lib/dpkg/lock; sudo dpkg --configure -a Mugglewille: ~$ sudo aptitude update apt/lists/ lock - open (11 Resource temporarily unavailable) Mugglewille: ~$ dpkg --configure -a Mugglewille: ~$ sudo dpkg --configure -a Mugglewille: ~$ sudo aptitude update apt/lists/ lock - open (11 Resource temporarily unavailable)
E: Could not get lock /var/lib/
E: Couldn't lock list directory..are you root?
shirish@
shirish@
E: Could not get lock /var/lib/
E: Couldn't lock list directory..are you root?
shirish@
dpkg: requested operation requires superuser privilege
shirish@
shirish@
E: Could not get lock /var/lib/
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.