Comment 3 for bug 316002

Revision history for this message
Sir George (hgfriedmann) wrote :

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