[mythtv-users] removal

Stephen Worthington stephen_agent at jsw.gen.nz
Fri Mar 14 14:47:37 UTC 2014

On Thu, 13 Mar 2014 13:08:27 -0400, you wrote:

>Greetings Mythizens, I have a second computer that I installed Mythtv
>on when I was trying to get a Kworld card working, I did the install
>through Software center, and when I was done experimenting, I
>uninstalled, through Software center, however I keep getting prompts
>to update Mythtv via update manager and I have current backend logs.
>Would a command line approach thoroughly purge it from this computer?
>Something like "sudo apt-get remove mythtv"?

My understanding is that mythtv is a metapackage that pulls in the
real MythTV packages as dependencies.  So removing it will just remove
the metapackage, leaving behind all the real packages that installing
it caused to also be installed.  What you probably need to do is:

  apt-cache show-pkg mythtv

In the "Reverse Depends" section of the output, there is a list of
packages.  Any of those that are installed need to be removed using an
"apt-get purge" command.  Using purge instead of remove deletes all
the config files too, instead of leaving them behind.  I believe that
the apt-get purge command does not stop on packages that are not
installed, so you can just make up one big apt-get purge command
listing all those packages and run it.

After that, look at the "Dependencies" section of the output, and you
will find that mythtv depends on the mysql-server package.  If there
is nothing else installed that depends on mysql-server, then it can be
uninstalled also.

I have never actually had to do this, so I can not guarantee I have
got this right.  Hence it would be a good idea to do a backup of the
system first before trying it out.

More information about the mythtv-users mailing list