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

Bug#241901: apt: E: Could not open lock file /var/cache/apt/archives/lock - open (2 No such file or directory)



On Sat, Apr 03, 2004 at 11:50:33AM -0800, Matt Zimmerman wrote:
> On Sat, Apr 03, 2004 at 08:57:32PM +0200, Jan Minar wrote:
> 
> > Package: apt
> > Version: 0.5.4
> > Severity: important
> > 
> > Hi.
> > 
> > rm -rf /var/cache/* should not result in any problems per FHS.  apt-get,
> > however, can't recover gracefully, and stops working after the fact.  The apt
> > directories under /var/cache must be re-created by hand, then everything is ok
> > again.
> 
> If you read the FHS more closely, you see that it only refers to the
> deletion of _files_ under /var/cache, not directories.

Yap, You're right.  But as directory is a special kind of a file, the
wording there is ambiguous, or misleading, at least (*I* was mislead).

I'd suggest the progs being able to survive the deletion of *anything*
under /var/cache, and FHS being worded more clearly.

Cheers,
Jan.

-- 
``[A]le vubec si to nezaslouzis, takze ti doporucuju abys pokracoval standardni
  ... cestou a nasel si nejblizsi oficialni ap.''
	-- Lukas Holubicka alias Skrin

Attachment: pgpL1sf3_hT7H.pgp
Description: PGP signature


Reply to: