Proposed fix:
$ debdiff chillispot_1.0-8.dsc chillispot_1.0-8ubuntu1.dsc
diff -u chillispot-1.0/debian/changelog chillispot-1.0/debian/changelog
--- chillispot-1.0/debian/changelog
+++ chillispot-1.0/debian/changelog
@@ -1,3 +1,10 @@
+chillispot (1.0-8ubuntu1) hardy-proposed; urgency=low
+
+ * debian/chillispot.postinst:
+ - run dh_stop after ucf is run (LP: #225900)
+
+ -- Michael Vogt <[EMAIL PROTECTED]> Mon, 05 May 2008 16:59:45 +0200
+
chillispot (1.0-8) unstable; urgency=low
* Fixed FTBS, make clean target depend on config.status
diff -u chillispot-1.0/debian/control chillispot-1.0/debian/control
--- chillispot-1.0/debian/control
+++ chillispot-1.0/debian/control
@@ -1,7 +1,8 @@
Source: chillispot
Section: net
Priority: optional
-Maintainer: Rudy Godoy <[EMAIL PROTECTED]>
+Maintainer: Ubuntu MOTU Developers <[EMAIL PROTECTED]>
+XSBC-Original-Maintainer: Rudy Godoy <[EMAIL PROTECTED]>
Build-Depends: debhelper (>= 5.0), po-debconf
Standards-Version: 3.7.3
diff -u chillispot-1.0/debian/chillispot.postinst
chillispot-1.0/debian/chillispot.postinst
--- chillispot-1.0/debian/chillispot.postinst
+++ chillispot-1.0/debian/chillispot.postinst
@@ -48,7 +48,6 @@
uam_homepage=`echo $uam_homepage | sed 's|\/|\\\/|g'`
db_get chillispot/uamsecret
uam_secret=$RET
- db_stop
# Substitute and write the new configfile
tempfile=`tempfile`
sed -r -e "s/^(#)?radiusserver1.*/radiusserver1\ $radius_server_1/" \
@@ -65,6 +64,7 @@
else
ucf $tempfile $CONFIGFILE
fi
+ db_stop
fi
# ucf registration
** Description changed:
Binary package hint: chillispot
+
+ TEST CASE:
+ 1. install gutsy server (or desktop)
+ 2. run "sudo apt-get intall chillispot"
+ 3. run do-release-upgrade (or update-manager)
+ 4. perform the ugprade and verify that the ugprader hangs when it configure
chillispot
+
+ 5. repeat step 1 and 2
+ 6. enable "gutsy-proposed"
+ 7. repeat step 3
+ 8. verify that the upgrade continues until the end
Description: Ubuntu 8.04
Release: 8.04
apt-cache policy chillispot
chillispot:
Installed: 1.0-8
Candidate: 1.0-8
Version table:
*** 1.0-8 0
500 http://mirrors.kernel.org hardy/universe Packages
100 /var/lib/dpkg/status
Did a distro upgrade, and chillispot kept hanging up. Coping files. I
had to do a 'kill -1" on the ucf command to continue upgrade. below is
posted relevant ps auxwww and error messages
first time, right before I gave a 'kill -1 31986':
root 31942 0.0 0.1 6048 3112 pts/1 S+ 12:57 0:00
/usr/lib/libgconf2-4/gconfd-2 15
root 31960 0.0 1.1 36548 21460 pts/1 S+ 12:57 0:00
/usr/bin/perl -w /usr/share/debconf/frontend
/var/lib/dpkg/info/chillispot.postinst configure 1.0-6ubuntu1
root 31975 0.0 0.0 1768 520 pts/1 S+ 12:57 0:00 /bin/sh
/var/lib/dpkg/info/chillispot.postinst configure 1.0-6ubuntu1
root 31986 0.0 0.0 3820 1292 pts/1 S+ 12:57 0:00 /bin/bash
/usr/bin/ucf /tmp/fileMqYnn5 /etc/chilli.conf
errors form upgrade:
Errors were encountered while processing:
chillispot
Traceback (most recent call last):
File logging/__init__.py, line 753, in emit
self.flush()
File logging/__init__.py, line 731, in flush
self.stream.flush()
IOError: [Errno 9] Bad file descriptor
Traceback (most recent call last):
File logging/__init__.py, line 753, in emit
self.flush()
File logging/__init__.py, line 731, in flush
self.stream.flush()
IOError: [Errno 9] Bad file descriptor
Traceback (most recent call last):
File logging/__init__.py, line 753, in emit
self.flush()
File logging/__init__.py, line 731, in flush
self.stream.flush()
IOError: [Errno 9] Bad file descriptor
second time I had to do a 'kill -1 6278'
root 6218 0.1 0.3 9252 6860 pts/1 Ss+ 13:25 0:00
/usr/bin/dpkg --force-overwrite --status-fd 5 --configure chillispot
root 6221 0.2 1.0 36024 20880 pts/1 S+ 13:25 0:00
/usr/bin/perl -w /usr/share/debconf/frontend
/var/lib/dpkg/info/chillispot.postinst configure 1.0-6ubuntu1
root 6229 0.2 0.2 7344 4332 pts/1 S+ 13:25 0:00
/usr/lib/libgconf2-4/gconfd-2 15
root 6267 0.0 0.0 1768 520 pts/1 S+ 13:25 0:00 /bin/sh
/var/lib/dpkg/info/chillispot.postinst configure 1.0-6ubuntu1
root 6278 0.0 0.0 3816 1292 pts/1 S+ 13:25 0:00 /bin/bash
/usr/bin/ucf /tmp/file1z00dB /etc/chilli.conf
steve 6414 0.7 1.0 92636 20684 ? Rl 13:25 0:00
gnome-terminal
steve 6425 0.1 0.1 23804 3092 ? Ssl 13:25 0:00
/usr/lib/bonobo-activation/bonobo-activation-server --ac-activate
--ior-output-fd=16
steve 6441 0.0 0.0 2912 856 ? S 13:25 0:00
gnome-pty-helper
error reported:
installArchives() failed
---note, not sure if this error was associated w/ chillspot or not
there where other errors at the end, but could not copy them before
upgrade app closed.
not sure if any other info is relevant. was using a USB wifi at the
time
ProblemType: Package
Architecture: i386
Date: Fri May 2 13:33:59 2008
DistroRelease: Ubuntu 8.04
ErrorMessage:
ErrorMessage: subprocess post-installation script returned error exit status
129
NonfreeKernelModules: nvidia
Package: chillispot 1.0-8
PackageArchitecture: i386
SourcePackage: chillispot
Title: package chillispot 1.0-8 failed to install/upgrade:
Uname: Linux 2.6.24-16-generic i686
--
chillispot configuration getting hung up
https://bugs.launchpad.net/bugs/225900
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs