Running "system-cleaner" from the command line is wrong

Bug #290444 reported by Alex Ruddick
8
Affects Status Importance Assigned to Milestone
command-not-found (Ubuntu)
Fix Released
Medium
Michael Vogt
Intrepid
Fix Released
Medium
Michael Vogt
system-cleaner (Ubuntu)
Invalid
Undecided
Unassigned
Intrepid
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: system-cleaner

TEST CASE:
1. use intrepid
2. type "system-cleaner-gtk" and verify that it outputs system-cleaner-gtk as the suggested package

3. install the update for command-not-found-data
4. type "system-cleaner-gtk" and verify that it does not suggest anything
5. type "cruft-remover-gtk" and verify that it suggests system-cleaner-gtk

I think the terminal output below is self-explanatory.

alex@alex-laptop:~$ sudo apt-get install system-cleaner
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  python-fstab
The following NEW packages will be installed:
  python-fstab system-cleaner
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.1kB of archives.
After this operation, 389kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com intrepid/main python-fstab 1.3-0ubuntu1 [5784B]
Get:2 http://us.archive.ubuntu.com intrepid/main system-cleaner 1.10.4-0ubuntu1 [26.4kB]
Fetched 32.1kB in 4s (6430B/s)
Selecting previously deselected package python-fstab.
(Reading database ... 166545 files and directories currently installed.)
Unpacking python-fstab (from .../python-fstab_1.3-0ubuntu1_all.deb) ...
Selecting previously deselected package system-cleaner.
Unpacking system-cleaner (from .../system-cleaner_1.10.4-0ubuntu1_all.deb) ...
Processing triggers for man-db ...
Setting up python-fstab (1.3-0ubuntu1) ...

Setting up system-cleaner (1.10.4-0ubuntu1) ...

alex@alex-laptop:~$ system-cleaner
The program 'system-cleaner' is currently not installed. You can install it by typing:
sudo apt-get install system-cleaner
bash: system-cleaner: command not found
alex@alex-laptop:~$ sudo apt-get install system-cleaner
Reading package lists... Done
Building dependency tree
Reading state information... Done
system-cleaner is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
alex@alex-laptop:~$

Revision history for this message
to be removed (liw) wrote :

Bash figures out the packages in which missing commands reside using a database, which did not get updated yet after the system-cleaner command (but not package) got renamed to cruft-remover. Thus, it still has the old information. We will fix this in a stable release update. Sorry about the confusion.

Changed in system-cleaner:
status: New → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

I'm working on a update and it will soon be available in intrepid-proposed.

Changed in command-not-found:
assignee: nobody → mvo
importance: Undecided → Medium
milestone: none → intrepid-updates
status: New → In Progress
Michael Vogt (mvo)
description: updated
Revision history for this message
Michael Vogt (mvo) wrote :

The update is uploaded now. The debdiff of the data will look a bit scary, I attached a better readable version of the diff.

I also ran "verify_scan_data.py" over the new data and it is happy (that tool checks for component mismatch or missing packages). The tools can be found in the command-not-found bzr tree under "UnifiedDataExtractor" (for those who are curious).

Revision history for this message
Michael Vogt (mvo) wrote :

I should add that "new packages" just menas that the package was added now to the command-not-found data. This might be because the recent version got a binary that was not there before or because the extration tool missed that package for some reason (are sync issues etc).

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into intrepid-proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in system-cleaner:
status: Confirmed → Invalid
status: Confirmed → Invalid
Changed in command-not-found:
milestone: intrepid-updates → none
status: In Progress → Fix Committed
Revision history for this message
Hew (hew) wrote :

Verified the test case. After updating with the version in proposed, system-cleaner-gtk no longer suggests anything, and cruft-remover-gtk suggests system-cleaner-gtk.

Revision history for this message
Martin Pitt (pitti) wrote :

Copied intrepid-proposed version to jaunty.

Changed in command-not-found:
milestone: intrepid-updates → none
status: In Progress → Fix Released
milestone: none → intrepid-updates
Revision history for this message
Martin Pitt (pitti) wrote :

Copied to intrepid-updates.

Changed in command-not-found:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.