Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #221459

Re: Synaptic error

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Synaptic error
Date 2020-04-13 23:10 +0200
Message-ID <zVev7-3pg-7@gated-at.bofh.it> (permalink)
References <zUL9M-1VT-11@gated-at.bofh.it> <zUL9M-1VT-9@gated-at.bofh.it> <zUUG6-7I5-3@gated-at.bofh.it> <zV0it-2NM-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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), tomas@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.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: Synaptic error <tomas@tuxteam.de> - 2020-04-12 15:50 +0200
  Re: Synaptic error Richard Owlett <rowlett@cloud85.net> - 2020-04-12 16:10 +0200
    Re: Synaptic error Reco <recoverym4n@enotuniq.net> - 2020-04-12 16:20 +0200
      Re: Synaptic error Reco <recoverym4n@enotuniq.net> - 2020-04-12 17:50 +0200
        Re: Synaptic error Mark Allums <maa@allums.com> - 2020-04-12 20:00 +0200
      Re: Synaptic error Richard Owlett <rowlett@cloud85.net> - 2020-04-12 17:50 +0200
  Re: Synaptic error Cindy Sue Causey <butterflybytes@gmail.com> - 2020-04-12 17:20 +0200
  Re: Synaptic error David Wright <deblis@lionunicorn.co.uk> - 2020-04-13 02:00 +0200
    Re: Synaptic error Reco <recoverym4n@enotuniq.net> - 2020-04-13 08:00 +0200
      Re: Synaptic error David Wright <deblis@lionunicorn.co.uk> - 2020-04-13 23:10 +0200

csiph-web