-
Notifications
You must be signed in to change notification settings - Fork 47
Description
This can cause inconsistencies and might confuse unrelated subsystems.
For example: I added emacs-nox to the server ISO as an aid to investigate and fix on the fly problems caused by my autoinstall user-data.
The files from the emacs-nox package and even the postinst-created update-alternatives symlinks ended up in the target system, forcing emacs-nox to be run instead of emacs-gtk, even though apt was showing that emacs-nox is not installed at all.
Even worse: the fix is not exactly straight-forward, since "apt remove emacs-nox" will just say that there's nothing to do (apt thinks emacs-nox was never installed, right?). So to fix the problem , I had to:
- install emacs-nox
- remove emacs-gtk
- install emacs-gtk
- remove emacs-nox
Even more confusing is that dpkg metadata seem to have survived into the target-system, since "dpkg -L emacs-nox" happily lists all the files.
IMHO, packages installed by --install-packages should
- either not be forwarded to the target system
- or their apt metadata should be forwarded as well.