Re: Problem sharing apt cache through NFS

Andre Costa <[email protected]> Tue, 20 Jul 2004 10:12:40 -0300
Newsgroups gmane.linux.conectiva.apt-rpm
Organization TecGraf
Message-ID <[email protected]>
On Tue, 20 Jul 2004 15:57:06 +0300
Panu Matilainen <[email protected]> wrote:

> You can't separate the lockfile without patching apt, and even if you
> move the lockfile someplace else .. it doesn't make much sense to have
> local lockfiles since the locking will be messed up anyway.

Thks, I thought so -- it would cause more evil than good...

> As a last resort/temporary workaround you could run apt with
> 'Debug::NoLocking=true" to completely avoid locking the archive
> directory but that might cause some "interesting" effects if two hosts
> are trying to simultaneously download the same file :)

Thks, that worked =) Yeah, I understand this would lead to weird things,
but I guess this is manageable -- updates are only performed manually on
the clients, so it won't be hard to avoid any upgrades being done on
the "master" server.

I don't intend to do this (I want this to be really a _temporary_
workaround), but, just to improve my apt management skills, how would I
put it on/etc/apt/apt.conf? Would it be

Debug {
	NoLocking "true";
};

at the top level?

Thks,

Andre

-- 
Andre Oliveira da Costa
([email protected])