Sometimes, we get an error when we are trying to use apt-get in Ubuntu–>
Error-
E: Could not get lock /var/lib/dpkg/lock – open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
You can delete the lock file using this commands:
# sudo rm /var/lib/apt/lists/lock
This line will delete your lock, You may also need to delete the lock file in the cache directory
# sudo rm /var/cache/apt/archives/lock
# sudo rm /var/lib/dpkg/lock
After that, try again apt-get and you will be able to access it.
This is good…Ashu 🙂
LikeLiked by 1 person
Thanks
LikeLike
This is really advanced advices! I will become a total pro!
😄😄
LikeLiked by 1 person
☺️☺️☺️👍
LikeLiked by 1 person
Useful👌
Presentation👌😍
LikeLiked by 1 person
Thank yo so much Pragya. I really approve your comments. It’s motivating me
LikeLiked by 1 person
😊😊😊
LikeLiked by 1 person
Good. I guess you have a good knowledge on the operating systems. Great job. Go ahead.
LikeLiked by 1 person
Thanks Mohan
LikeLike
Anshu, I am technologically challenged! You’ve got to explain all this to me! lol
LikeLiked by 2 people
not anshu. Ashu ☺️☺️☺️. welcome. i wish it will help you.
LikeLiked by 2 people
😂
LikeLiked by 1 person
and yeah you can ping me for any issues or query- insta- techflax168 or email- techflax168@gmail.com
LikeLiked by 2 people
Sounds great! 🙂
LikeLiked by 2 people
can i know why this is happening?
LikeLiked by 1 person
this is a sign that something else is installing or removing software and has locked the apt database while it performs the actions.
LikeLike