[Bug 316002] Re: package b2evolution 2.4.2-2 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Sir George hgfriedmann at gmx.net
Sun Jan 11 21:01:50 UTC 2009


Howto patch the packet and install:
Extract the package contents and control structures:
dpkg -x /var/cache/apt/archives/b2evolution_2.4.2-2_all.deb  /tmp/test
dpkg -e /var/cache/apt/archives/b2evolution_2.4.2-2_all.deb  /tmp/test/DEBIAN

patch /tmp/test/DEBIAN according to
http://launchpadlibrarian.net/20434934/b2evolution_2.4.2-3_2.4.2-4.diff.gz,
i.e. in fact in DEBIAN/config:

-	db_get base-config/get-hostname || true
-	if [ -z "$RET" ]; then
+	B2EVO_HOSTNAME=$(hostname --fqdn 2>/dev/null)
+	if [ -z "$B2EVO_HOSTNAME" ]; then

Repackage:
dpkg -b /tmp/test/ /tmp/

Reinstall:
dpkg -i /tmp/b2evolution_2.4.2-2_all.deb
~
WARRANTY VOID ;-) or read dpkg-deb(1) yourself

-- 
package b2evolution 2.4.2-2 failed to install/upgrade: subprocess post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/316002
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