apt-file update should *not* be run in postinst without any feedback (was: [Feisty->Gutsy] apt-file causing upgrade to fail)
Bug #154180 reported by
Jingyu Zou
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-file (Ubuntu) |
Fix Released
|
High
|
Daniel Hahler |
Bug Description
Binary package hint: update-manager
Upgrade from Feisty to Gutsy using update-manager failed.
The update-manager was freezing for like an hour at the package 'apt-file' setup stage. After I stopped it by pressing Ctrl+C, the upgrade continued to work for a short while but finally crashed because of the previous apt-file error.
My machine is a Thinkpad T43 with all the latest Feisty updates applied before the upgrade.
From the logs: completion. d/apt-file ...
"""
Setting up apt-file (2.0.8.2ubuntu2) ...
Installing new version of config file /etc/bash_
q
dpkg: error processing apt-file (--configure):
subprocess post-installation script killed by signal (Interrupt)
"""
It appears that apt-file runs the follow bits in its postinst:
This means that one (or more) ~14Mb file(s) are fetched. This is something that should not be done in a postinst script without asking.