Cruft Remover removed most of the installed packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
system-cleaner (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Intrepid |
Fix Released
|
Critical
|
Unassigned |
Bug Description
After a clean installation I ran the cruft removal tool (from System-
ISO test image:
http://
Test: http://
SUMMARY FOR SRU: A subset of users can render their systems unusable, by accidentally removing some packages needed for the system to work or, in some cases, all or most packages. This has been handled by checking that two essential packages (dash and gzip) are available in the Packages files, according to apt, and aborting if not. The regression risk for this change is that users might not be able to use the tool at all if the new test is too aggressive, but since update-manager uses the same heuristic, it should work very well.
PATCH: http://
TEST CASE: Install without network access ("kvm -net none" suffices). After installation, install system-cleaner, and verify that "sudo system-cleaner find" finds a lot of cruft (at least several tens and possibly hundreds of packages). Install fixed system-cleaner (enabling networking is fine, as long as nothing runs "apt-get update"), and verify that "sudo system-cleaner find" returns nothing.
Changed in system-cleaner: | |
assignee: | nobody → liw |
assignee: | nobody → liw |
Changed in system-cleaner: | |
status: | In Progress → Fix Committed |
status: | In Progress → Fix Committed |
description: | updated |
description: | updated |
tags: | added: iso-testing |
Confirmed. On a fresh kvm install it proposes to install lots of key packages including the kernel.