peercast-servent can not be uninstalled

Bug #95225 reported by Ralf Nieuwenhuijsen
22
Affects Status Importance Assigned to Milestone
peercast (Ubuntu)
Confirmed
Undecided
MOTU

Bug Description

Binary package hint: peercast-servent

peercast-servent was installed as a dependency of the desktop program 'geekast'
Uninstalling geekast fails because of errors relating to 'peercast-servent'.

I've removed this package, because it didn't seem to function anyway. But it might be due to port settings, so I didn't fill a bug about that. However, I should be able to _remove_ the package.

Specific output:

Removing peercast-servent ...
Stopping Peercast peer to peer broadcasting: invoke-rc.d: initscript peercast-servent, action "stop" failed.
dpkg: error processing peercast-servent (--remove):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 peercast-servent
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:

Revision history for this message
Ralf Nieuwenhuijsen (ralf-nieuwenhuijsen) wrote :

I've just found that I had to install libpeercast0 to fix my database.

Then I did a:
  sudo /etc/init.d/peercast-servant start

And then I was able to succesfully remove peercast-servent (and libpeercast0)
So when the server isn't running you can't remove it.

I guess it crashed or did not launch succesfully when I installed it. Which also explains why geekast wasn't working.

I'll experiment a bit more.
But being unable to stop a deamon (because it isn't running) is no reason to not uninstall it. So the bug is still valid though.

magilus (magilus)
Changed in peercast:
assignee: nobody → motu
status: Unconfirmed → Confirmed
Revision history for this message
Ralf Nieuwenhuijsen (ralf-nieuwenhuijsen) wrote :

Is this bug still valid? Or has peercast been upgraded?

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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