MythWeb 2:0.27.0+fixes.20140417.b93fb14-0ubuntu0mythbuntu3 stuck at half-installed

Bug #1310344 reported by Jack Deslippe
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mythbuntu
Fix Released
Undecided
Unassigned

Bug Description

I just updated mythbuntu from 12.04 to 14.04. Things are mostly working, but the mythweb package (2:0.27.0+fixes.20140417.b93fb14-0ubuntu0mythbuntu3) is borked.

It looke like it is half installed and I can't remove or reinstall it.

 sudo apt-get remove mythweb
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  mythweb
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 4,427 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 139898 files and directories currently installed.)
Removing mythweb (2:0.27.0+fixes.20140417.b93fb14-0ubuntu0mythbuntu3) ...
rm: invalid option -- '/'
Try 'rm --help' for more information.
dpkg: error processing package mythweb (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 mythweb
E: Sub-process /usr/bin/dpkg returned an error code (1)

----

sudo dpkg --force-remove-reinstreq --remove mythweb
(Reading database ... 139898 files and directories currently installed.)
Removing mythweb (2:0.27.0+fixes.20140417.b93fb14-0ubuntu0mythbuntu3) ...
rm: invalid option -- '/'
Try 'rm --help' for more information.
dpkg: error processing package mythweb (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 mythweb

-----

How can I fix this??

Revision history for this message
Aaron (fqn-uirin-x08) wrote :

I just upgraded from from 12.04 to 14.04 as well. I have the exact same issue.

Revision history for this message
Thomas Winteler (Win-Soft) (thomi) wrote :

On my installation i just installed the upgrade of mythweb:
2:0.27.0+fixes.20140428.46a146c-0ubuntu0mythbuntu2

I wanted to purge/remove it to reinstall it, but can't remove it.. same error as described above...

Revision history for this message
Thomas Winteler (Win-Soft) (thomi) wrote :

check file:
/var/lib/dpkg/info/mythweb.postrm

at line 36, add a space between -f and $SYMLINK that it looks like:

rm -f $SYMLINK

thanks to tgm4883 at kubuntu irc ;)

So you can remove the package...

Revision history for this message
Mario Limonciello (superm1) wrote :

This was just committed to our packaging here:

https://github.com/MythTV/packaging/commit/eb931726947091b174367d6f0bb2f75ae2a42d9b
https://github.com/MythTV/packaging/commit/75c1f357d6cf35f30c75739c2f339e1fab374df6

any future builds will include the fix. Otherwise please just use the manual workaround until then.

Thanks!

Changed in mythbuntu:
status: New → Fix Committed
Revision history for this message
Thomas Mashos (tgm4883) wrote :

Marking as Fix Released since we provide newer builds in our PPA and this has been marked fix committed for awhile now.

Changed in mythbuntu:
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

Remote bug watches

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