mythtv-themes metapackage needs to be != metapackages section

Bug #529740 reported by Michael Martin-Smucker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
myththemes (Ubuntu)
Fix Released
Medium
Thomas Mashos

Bug Description

Binary package hint: software-center

I installed the MythTV Frontend and Backend a few days ago from the Karmic repositories. For a few days, this worked, but I ran into some MythTV database issues that I couldn't seem to fix. I thought that uninstalling and reinstalling the software might help. This is where the problem started... steps to reproduce (steps in parentheses are probably not essential):

1. Install MythTV frontend in Karmic using the Software Center.
    (1a. Configure the Backend using the mythtv-setup command)
    (1b. Restart your computer a few times)
2. Uninstall the MythTV frontend using the Software Center. This automatically uninstalls the backend as well, I think.
    (2a. Restart your computer.)

At this point, you would expect MythTV to be gone, but if you run 'mythfrontend' or 'mythtv-setup' from the command line, you can still run the software. Actually, if I look in my menus, all the icons for MythTV are still there, and they're still functional. Uninstalling seemed to do absolutely nothing. If I reinstall it at this point, I highly doubt it will function like a clean installation, which was my original goal.

I'm blaming this on software-center because that's visibly what seems to be the problem. In reality, this could be a problem with MythTV or dpkg. I have no idea.

Revision history for this message
Delan Azabani (azabani) wrote :

Try installing MythTV fully again and then, run this command:

sudo apt-get purge .*mythtv.*

Revision history for this message
Delan Azabani (azabani) wrote :

I haven't had this problem during my use of MythTV.

Revision history for this message
Michael Martin-Smucker (mmartinsmucker) wrote :

With a little investigation, it turns out that this is definitely specific to the way the MythTV packages work. apt-get autoremove found ~120mb of MythTV cruft lying around even after uninstalling it from the Software Center (mythtv-themes, mythtv-database, mythtv-backend, mythtv-frontend, and a whole bunch of mysql server packages). I installed all of these things using the MythTV Backend Setup package, which seems to be sort of a meta-package. When I uninstalled the MythTV Frontend from the Software Center, it marked the Backend Setup package as uninstalled as well.

I'm not really sure what the appropriate way to handle this is. From a user standpoint, it seems like if I install something from the Software Center, removing it from the SC shouldn't leave 120 MB of unused packages around. I realize that working with the un/installation of metapackages presents tricky situations, and it's probably being discussed in a bug report with a larger scope somewhere. If anyone knows of one of those reports and thinks it's appropriate to close this report as a duplicate, I'd probably agree with that resolution.

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

I just tested this on lucid (that does a autoremove on removal automatically). It works fine, the only problem is that the themes are kept. The reason is that :
$ apt-cache show mythtv-themes
Package: mythtv-themes
Section: multiverse/metapackages
...

This means that apt will not mark the themes are auto-installed. I'm not sure if for a theme meta-package the
section is the best choice.

affects: software-center (Ubuntu) → mythtv (Ubuntu)
Changed in mythtv (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Mario Limonciello (superm1) wrote :

<mvo> superm1: well, the way we use metapackage is that anything directly under metapackage will not get marked as auto-installed. this has the nice effect that removing ubuntu-desktop does not remove half your system. now for the themese that is probably not what we want, so I would suggest to put it into a different section

affects: mythtv (Ubuntu) → myththemes (Ubuntu)
summary: - I uninstalled MythTV, but I can still run the software
+ mythtv-themes metapackage needs to be != metapackages section
Changed in myththemes (Ubuntu):
status: Confirmed → Triaged
assignee: nobody → Dave Walker (davewalker)
Changed in myththemes (Ubuntu):
assignee: Dave Walker (davewalker) → Thomas Mashos (tgm4883)
Revision history for this message
Thomas Mashos (tgm4883) wrote :

Packaging fine, fixed by slangasek in the archive

Changed in myththemes (Ubuntu):
status: Triaged → Fix Committed
Thomas Mashos (tgm4883)
Changed in myththemes (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Thomas Mashos (tgm4883) wrote :

This appears to be a bug in the archive. This was fixed by one of the archive admins. This was possible due to the first upload being in the metapackages section, but is unknown

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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