On Mon 13 Apr 2020 at 08:54:25 (+0300), Reco wrote: > On Sun, Apr 12, 2020 at 06:50:04PM -0500, David Wright wrote: > > On Sun 12 Apr 2020 at 15:46:45 (+0200), to...@tuxteam.de wrote: > > > On Sun, Apr 12, 2020 at 08:43:12AM -0500, Richard Owlett wrote: > > > > Using Synaptic I: > > > > 1. searched package names for "info" > > > > 2. selected it > > > > 3. clicked Apply > > > > 4. received error message saying > > > > >E: Could not open lock file /var/cache/apt/archives/lock - open (2: No > > > > >such file or directory) > > > > >E: Could not open file descriptor -1 > > > > >E: Unable to lock the download directory > > > > > > Question: is there a /var/cache/apt/archives directory? There should > > > be one. > > > > The impression given by the FHS is that, upon deletion, the system > > should be able to recreate anything in a cache directory. > > That is assuming that the cache directory itself is existing (i.e. > /var/cache, and everything down the filesystem hierarchy that's needed). > Note that FHS part you're quoting specifically refers to the "files", > not anything else.
I think you're right, of course, and it's probably necessary to dpkg -S (or grep /var/lib/dpkg/info/*list) for the directory/ies, and reinstall their creator, apt, after manually downloading it (in the absence of hints given here). Cheers, David.