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

Bug#71108: DPkg { Pre-Invoke ... } not working in apt.conf



Package: apt
Version: 0.3.19
Severity: normal

The lines

DPkg {
  Pre-Invoke {"mount -o remount,rw /usr";};
  Post-Invoke {"mount -o remount,ro /usr";};
}

used to do the desired thing in my apt.conf file, but now they do
nothing.  However, the following lines

DPkg::Pre-Invoke {"mount -o remount,rw /usr";};
DPkg::Post-Invoke {"mount -o remount,ro /usr";};

do work.  I do not have APT_CONFIG set.  The above can be tested
easily by replacing the mount command with "echo pre-invoke".

This stopped working several months ago and I've just got around
to reporting it now.

Dan

-- System Information
Debian Release: woody
Architecture: i386
Kernel: Linux jdc 2.4.0-test4 #1 Sun Aug 13 15:23:42 EDT 2000 i686

Versions of packages apt depends on:
ii  libc6                        2.1.3-10    GNU C Library: Shared libraries an
ii  libstdc++2.10                1:2.95.2-14 The GNU stdc++ library            




Reply to: