[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dselect: unable to open/create access method lockfile


You may recall that I destroyed my /var partition earlier this month trying to learn how to use dd to clone a hard drive. See:


I have, surprisingly, managed to mostly recover from backups. However, I did not have a full /var backup and keep coming across sub-directories of /var that some program or other cannot find. A full hierarchy of /var from a clean minimal Sarge installation would be welcome.

My most immediate problem is that dselect won't let me upgrade anything because when I tell it to update, it replies:

dselect: unable to open/create access method lockfile

I've tried creating several /var subdirectories that I think dselect might be looking for, including:


but I still get the same error. Can anyone explain how to allow dselect to create the lockfile it wants to?


Reply to: