Bug#308092: apt-get --reinstall doesn't replace missing files
Marty <martyb@ix.netcom.com> writes:
> Package: apt
> Version: 0.5.28.6
>
> On an up-to-date stock sarge system, I tried to replace the
> following missing files,
>
> /etc/hotplug/usb/libgphoto2
> /etc/hotplug/blacklist.d/libsane
Those are conffiles. Conffiles are left as they are by dpkg. Nothing
apt specific. If you are lucky you will have a
/etc/hotplug/usb/libgphoto2.dpkg* file.
> using the following commands:
>
> apt-get --reinstall install libsane
> apt-get --reinstall install libgphoto2-2
>
> The respective directories of the missing files exist and the commands
> run without evident error, but neither missing file is replaced.
>
> On the other hand, reinstalling the packages using "dpkg -P" followed
> by "apt-get install" replaces the missing files as expected.
Yes, expected behaviour.
MfG
Goswin
Reply to: