Apt performs some actions multiple times when once would suffice
Bug #202459 reported by
David Jaša
This bug report is a duplicate of:
Bug #1250109: Please use dpkg-triggers for update-grub when installing or removing kernel packages.
Edit
Remove
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
dpkg (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I've noticed that if I just ask aptitude to purge kernel packages (packages linux-image-, linux-restricte
1) update-initramfs which doesn't need to be invoked at all (or once at the end when it's got nothing to do)
2) update-grub which needs to be invoked just once at the end
(you can see output of aptitude in attachment). I think that this is reason, why has bug #44535 so bad impact.
Changed in linux: | |
status: | Incomplete → Confirmed |
affects: | debian → ubuntu |
Changed in ubuntu: | |
importance: | Unknown → Undecided |
status: | Won't Fix → New |
no longer affects: | ubuntu |
To post a comment you must log in.
I think it's neither aptitude's nor linux's bug. There are certain actions, which can be run just at the end of apt's actions (update-grub, scrollkeeper-update and maybe others), but there's no way to tell apt to do this, so packager have tu run such action during "setting up" stage of package.