fail to install

Bug #238686 reported by Andifferous
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mpd (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: mpd

I had typed " sudo apt-get purge mpd mpc && sudo apt-get autoremove && sudo apt-get autoclean && sudo apt-get clean && sudo apt-get update && sudo apt-get upgrade"
and got
"Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mpc is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libmikmod2
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  mpd*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 438kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 138095 files and directories currently installed.)
Removing mpd ...
 * Stopping Music Player Daemon mpd [fail]
invoke-rc.d: initscript mpd, action "stop" failed.
dpkg: error processing mpd (--purge):
 subprocess pre-removal script returned error exit status 1
action: abort-remove not supported
Errors were encountered while processing:
 mpd
E: Sub-process /usr/bin/dpkg returned an error code (1)"

ProblemType: Package
Architecture: i386
Date: Mon Jun 9 16:44:20 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess pre-removal script returned error exit status 1
Package: mpd 0.13.1-3ubuntu1
PackageArchitecture: i386
SourcePackage: mpd
Title: package mpd 0.13.1-3ubuntu1 failed to install/upgrade: subprocess pre-removal script returned error exit status 1
Uname: Linux 2.6.24-18-generic i686

Revision history for this message
Andifferous (andy.bowman) wrote :
Revision history for this message
Craig Maloney (craig-decafbad) wrote :

Hello,

Is this a reproducible bug for you? Also, was mpd running prior to you running this command? It appears mpd crashed prior to you running this command.

Changed in mpd:
status: New → Incomplete
Revision history for this message
Andifferous (andy.bowman) wrote :

Craig
It happened a few more times while I tried to remove mpd.
I had entered "mpd --kill" prior to attempting to remove it, and according to Gnome System Monitor it wasn't running. I ended up rebooting after the kernel was upgraded and then successfully removed mpd. Thus, I can't say it is really reproducible.
Thanks

Revision history for this message
Craig Maloney (craig-decafbad) wrote :

I'm going to mark this as invalid only because you attempted to remove a package after doing an upgrade on the kernel. I've tried this in the past, and it generally is a good practice to restart after doing a kernel upgrade on the system, or any major upgrade. If this happens again for you, please re-open this bug.
Thanks!

Changed in mpd:
status: Incomplete → Invalid
Revision history for this message
Craig Maloney (craig-decafbad) wrote :

Also, I've had good success with just using autoremove and the package name. I'd rework the command as:

sudo apt-get autoremove mpd mpc && sudo apt-get autoclean && sudo apt-get clean && sudo apt-get update && sudo apt-get upgrade

Though I wouldn't necessarily put the && between each command.

Revision history for this message
Andifferous (andy.bowman) wrote :

Sounds fair, for clarity sake: Apt never to upgrade the kernel when I entered all of that, the upgrade occurred separately after that failed.
I forgot that autoremove is suggested over purge
Thanks

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.