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

Bug#31853: apt: Remounting /usr read-write



Package: apt
Version: 0.1.5
Severity: wishlist

Hi,

Would it be possible to make apt automatically remount my /usr partition
read-write when installing, then remount it read-only when it's finished?

I'd envisage something like
	/etc/apt/before.sh
and	/etc/apt/after.sh

which would contain the appropriate mount commands for individual situations.

While I'm not willing to trust myself and others not to accidently do
stupid things to system binaries, I'm quite prepared to trust dpkg and
apt to do the right thing, and I'd like to avoid the annoying errors
dpkg gives when /usr is read-only.

Thanks,
aj

-- System Information
Debian Release: 2.0
Kernel Version: Linux chronos 2.0.35 #2 Wed Aug 26 22:00:48 EST 1998 i586 unknown

Versions of the packages apt depends on:
ii  libc6           2.0.7u-6       The GNU C library version 2 (run-time files)
ii  libc6           2.0.7u-6       The GNU C library version 2 (run-time files)
ii  libstdc++2.8    2.90.29-0.6    The GNU stdc++ library (egcs version)

--- Begin /etc/apt/sources.list (modified conffile)
deb http://ftp.questnet.net.au/debian stable main contrib non-free
deb http://ftp.questnet.net.au/debian-non-US stable/binary-i386/

--- End /etc/apt/sources.list


Reply to: