package mumble-django 2.9-2 failed to install/upgrade: package mumble-django is not ready for configuration cannot configure (current status `half-installed')

Bug #1242389 reported by kaushikkg
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
mumble-django (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

The mumble-django always shows an error during the software installation process. It can be neither installed nor uninstalled and its status remains half-installed. Kindly help.

ProblemType: Package
DistroRelease: Ubuntu 13.10
Package: mumble-django 2.9-2
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic i686
ApportVersion: 2.12.5-0ubuntu2
Architecture: i386
Date: Sun Oct 20 20:35:03 2013
DuplicateSignature: package:mumble-django:2.9-2:package mumble-django is not ready for configuration cannot configure (current status `half-installed')
ErrorMessage: package mumble-django is not ready for configuration cannot configure (current status `half-installed')
InstallationDate: Installed on 2013-09-18 (32 days ago)
InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Alpha i386 (20130903)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: mumble-django
Title: package mumble-django 2.9-2 failed to install/upgrade: package mumble-django is not ready for configuration cannot configure (current status `half-installed')
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
kaushikkg (kaushikkg-b) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Reviewing your dmesg attachment in this bug report it seems that there is a problem with your hardware. I recommend performing a back up and then investigating the situation. Measures you might take include checking cable connections and using software tools to investigate the health of your hardware. In the event that is is not in fact an error with your hardware please set the bug's status back to New. Thanks and good luck!

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: hardware-error
Changed in mumble-django (Ubuntu):
importance: Undecided → Low
status: New → Invalid
Revision history for this message
stblack (stblack-linux) wrote :

I confirm .
To remove I did "sudo apt-get -f remove mumble-django"

log apt:
history.log
Start-Date: 2013-10-29 22:02:41
Commandline: apt-get install mumble-django
Install: mumble-django:i386 (2.9-2)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2013-10-29 22:02:44

term.log
Estrazione di mumble-django (da .../mumble-django_2.9-2_all.deb)...
Elaborazione dei trigger per man-db...
Configurazione di mumble-django (2.9-2)...
dpkg: errore nell'elaborare mumble-django (--configure):
 il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1
Si sono verificati degli errori nell'elaborazione:
 mumble-django
Log ended: 2013-10-29 22:02:44

Changed in mumble-django (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
esion (esion99) wrote :

The problem is probably due to a missing config file for apache.

In /var/lib/dpkg/info/mumble-django.postinst
the script fail to launch 'apache2_invoke enconf mumble-django'

using dpkg -L mumble-django
I didn't find any matching file

Revision history for this message
esion (esion99) wrote :

Here is my fix :

create the file '/etc/apache2/conf-available/mumble-django.conf' and add the following content :

------

Alias /mumble-django/static/admin/ /usr/share/pyshared/django/contrib/admin/static/admin/
Alias /mumble-django/static/mumble/ /usr/share/pyshared-data/python-django-mumble/static/mumble/
Alias /mumble-django/static/ /usr/share/mumble-django/htdocs/

WSGIScriptAlias /mumble-django /usr/share/mumble-django/mumble-django.wsgi
WSGIDaemonProcess mumble-django threads=25
WSGIProcessGroup mumble-django
WSGIScriptReloading Off

-----

then reconfigure or reinstall :

sudo dpkg --configure mumble-django

You will be asked to run 'mumble-django-configure' then you be able to access to http://yourdomain.tld/mumble-django/

PS: I still have a bug when trying to purge package, the command db_purge fails in '/var/lib/dpkg/info/mumble-django.postrm'

Revision history for this message
Michael Beal (nekksys) wrote :

Used the fix above to finish installation and configure django. Works as expected.

Removal/purge appears to fail due to missing check for Munin plugin file.

Revision history for this message
sedlund (scott-edlund) wrote :

to fix removal change /var/lib/dpkg/info/mumble-django.postrm

        invoke-rc.d --quiet apache2 reload

to

        invoke-rc.d --quiet apache2 reload > /dev/null

the *'s from the output of the RC script are being interpreted and thus making an error in the script...

Revision history for this message
sedlund (scott-edlund) wrote :

I experienced a different error trying to purge package 'mumble-django' on a fresh install. It failed because it could not remove the database, as there wasnt one because the initial install failed. To fix removal in this situation edit:

/var/lib/dpkg/mumble-django.postrm

line 33:

db_purge

and comment it out:

#db_purge

then run aptitude purge mumble-django

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.