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

Re: How to Pre-Invoke {"mount -o remount,rw /usr";}; with /etc/apt/apt.conf?



On 30/11/99 Shaul Karl wrote:

Your lines are exactly as mine, aren't they? However I do not think that I have a problem similar to yours because remounting manually before and after apt-get runs is working. Maybe some other setting in /etc/apt/apt.conf changes the behavior of these lines. Can you email me your /etc/apt/apt.conf?

well yes the lines doing that are the same, however my apt.conf is very light yours is very complex so I thought perhaps all that complexity was messing things up.

[eb@plato eb]$ cat /etc/apt/apt.conf
DPkg
{
// Auto re-mounting of readonly /usr
Pre-Invoke {"mount -o remount,rw /usr";};
Post-Invoke {"mount -o remount,ro /usr";};

// Pre-configure all packages before they are installed.
Pre-Install-Pkgs {"dpkg-preconfig --apt";};
}

as for my busy /usr yes, that has nothing to do with apt as trying to remount it readonly manually also fails, its probably some braindamaged program being started/restarted leaving a file open with write permission. (the xfs's tend to trigger this)

Ethan


Reply to: