oio11: (Default)
[personal profile] oio11

For all those who installed aptitude to easily search through apt on ubuntu 11+, upon upgrading to 11.10 I am now receiving this error.

[ ERR] Reading state information E: Could not open lock file /var/lock/aptitude - open (2: No such file or directory)   

1 Answer

 

up vote 1 down vote accepted

To fix this:

sudo mkdir /run/lock 

Aptitude should now run without issue.

shareimprove this answer
 
http://askubuntu.com/questions/120756/could-not-open-lock-file-var-lock-aptitude-no-such-file-or-directory
(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

October 2025

S M T W T F S
   1234
567891011
12131415161718
19202122 232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 4th, 2026 12:23 am
Powered by Dreamwidth Studios