[Bug 495791] Re: package javascript-common 6 failed to install/upgrade: (upgrade to 9.10)

Kieron Wilkinson kieron.wilkinson at paretopartners.com
Thu Dec 17 08:42:31 UTC 2009


Okay, it does indeed seem to have been down to by apache2 prompting for
a passphrase. I got it to hang again, ran your command, and got the
following:

$ sudo sh -x /var/lib/dpkg/info/javascript-common.postinst configure 
+ set -e
+ mkdir -p /etc/apache2/conf.d
+ [ ! -e /etc/apache2/conf.d/javascript-common.conf ]
+ ln -s /etc/javascript-common/javascript-common.conf /etc/apache2/conf.d/javascript-common.conf
+ restart=apache2
+ servers=apache2
+ . /usr/share/wwwconfig-common/restart.sh
+ status=nothing
+ error=
+ [ -z apache2 ]
+ restart= apache2 
+ echo  apache2 
+ sed -e s| apache2 ||g;
+ verify=
+ [  !=  apache2  ]
+ log=apache2 needs to be restarted.
+ [ -x /usr/sbin/invoke-rc.d ]
+ [ -x /etc/init.d/apache2 ]
+ /usr/sbin/invoke-rc.d apache2 restart
+ status=error
+ error=ERROR! /usr/sbin/invoke-rc.d apache2 restart, returned an error. apache2 could not be restarted.
+ exit 0

I then disabled my SSL certificate to avoid the apache restart prompt,
then reinstalled javascript-common, and it installed fine!

I'm not sure how this problem can be resolved for others doing something
similar, maybe it is possible to detect if apache2 is waiting for
something?

Anyway, thanks very much for your help!

-- 
package javascript-common 6 failed to install/upgrade: (upgrade to 9.10)
https://bugs.launchpad.net/bugs/495791
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list