Hello Peter, I have a shared atp archive working successfully. I too had the same problem of not being able to do anything with the lock file through the NFS share. So I assumed that I couldnt get around this easily so avoided the problem by creating a link from the NFS share back to the local filespace.
An example is always nice, so here goes: <make neccessary NFS mount, mine is at /nfs/ftp> cd /var/cache/apt mv archives old.archives ln -s /nfs/ftp/apt-cache archives touch apt-lock cd archives ln -s /var/cache/apt/apt-lock lock cd .. cp old.archives/*.deb archives Its a complete cheat, but everything seems to work just fine. The only thing I havent checked is what happens when I try and run dselect (or apt) on multiple machines at the same time. Could be interesting!!! Hope this helps. John Stevenson peter karlsson wrote: > > I thought it be a good idea to share the apt-get cache dir between my > computers, so that I need not to re-download each package for each machine > that I update. I'm exporting it over NFS, however, I cannot get this to work > - it refuses to lock: > > E: Could not get lock /var/cache/apt/archives/lock - open (13 Access denied) > E: Unable to lock the download directory > > I have it exported like this in /etc/exports: > > /var/cache/apt/archives 10.10.10.8(rw,no_root_squash) > > Any ideas? > > -- > \\// > peter - http://www.softwolves.pp.se/ > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null