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

Bug #316002 reported by jim_charlton
50
This bug affects 3 people
Affects Status Importance Assigned to Milestone
b2evolution (Debian)
Fix Released
Unknown
b2evolution (Ubuntu)
Fix Released
High
Unassigned
Nominated for Intrepid by Andrew Starr-Bochicchio

Bug Description

Binary package hint: b2evolution

b2evolution install failure.
Here are the last few lines of the install output

.....
Setting up libcrypt-passwdmd5-perl (1.3-9) ...
Setting up makepasswd (1.10-3) ...
Setting up b2evolution (2.4.2-2) ...
ERROR 1102 (42000) at line 1: Incorrect database name 'http://10'
dpkg: error processing b2evolution (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 b2evolution
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: nvidia
Package: b2evolution 2.4.2-2
PackageArchitecture: all
SourcePackage: b2evolution
Title: package b2evolution 2.4.2-2 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.27-9-generic x86_64

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

According to http://launchpad.net/ubuntu/+source/b2evolution the problem was fixed in 2.4.2-4 (jaunty-release) on Dec. 15th 2008. For further information see here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%23508424
 When does it get included in intrepid? And does anyone has an idea how to get the packet configured anyways?

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

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

b2evolution (2.4.2-4) unstable; urgency=high

  * Fix many lintian warnings:
    + debian/watch file added
    + debian/control: b2evolution depends on ${misc:Depends}
    + remove embedded code by depending on libjs-jquery packages
  * debian/config: remove debconf lookup for
    base-config/get-hostname (Closes: #508424)

Changed in b2evolution:
status: New → Fix Released
Daniel Hahler (blueyed)
Changed in b2evolution:
importance: Undecided → High
Changed in b2evolution (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.