ngircd will not uninstall or update

Bug #127496 reported by Todd Allen
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ngircd (Debian)
Fix Released
Unknown
ngircd (Ubuntu)
Fix Released
Medium
Adrien Cunin
Hardy
Fix Released
Medium
Adrien Cunin

Bug Description

1. Install ngircd through Synaptic.
2. Attempt to update or uninstall ngircd.
3. The following error is received (whether attemptinig to update or uninstall):
E: /var/cache/apt/archives/ngircd_0.10.0-3_i386.deb: subprocess new pre-removal script returned error exit status 1

Version of ngircd currently installed is 0.9.2 running on Feisty.

Revision history for this message
Mattias Jansson (m-yanson) wrote :

Got the same problem. My version of ngircd is 0.10.0-3 (like the first post). It blocks all other installs/uninstalls.

# apt-get remove ngircd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  ngircd
0 upgraded, 0 newly installed, 1 to remove and 13 not upgraded.
Need to get 0B of archives.
After unpacking 254kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 39524 files and directories currently installed.)
Removing ngircd ...
Stopping Next generation IRC server: invoke-rc.d: initscript ngircd, action "stop" failed.
dpkg: error processing ngircd (--remove):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 ngircd
E: Sub-process /usr/bin/dpkg returned an error code (1)
#

Changed in ngircd:
status: Unknown → New
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

That's because of bug 85266. Will be fixed when that bug is fixed.

Revision history for this message
Adrien Cunin (adri2000) wrote :

Unduplicating, as it is a separate bug, even though revealed by the fact that /var/run/ngircd/ is not re-created by the init script and thus /var/run/ngircd/ngircd.pid will always be missing, causing start-stop-daemon to fail.

Changed in ngircd:
assignee: nobody → adri2000
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → adri2000
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ngircd - 0.10.3-2ubuntu2

---------------
ngircd (0.10.3-2ubuntu2) intrepid; urgency=low

  * debian/ngircd.init: use start-stop-daemon --oknodo for restart so that it
    doesn't fail when it cannot find the pid file (LP: #127496)

 -- Adrien Cunin <email address hidden> Fri, 12 Sep 2008 23:22:47 +0200

Changed in ngircd:
status: In Progress → Fix Released
Adrien Cunin (adri2000)
Changed in ngircd:
status: Fix Released → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ngircd - 0.10.3-2ubuntu3

---------------
ngircd (0.10.3-2ubuntu3) intrepid; urgency=low

  * Really fix LP: #127496, ensuring a working upgrade path:
     - Added debian/ngircd.prerm with on_failure function, that tries to stop
       the daemon without error
     - Modified debian/ngircd.postinst, adding on_failure function, that just
       exits $?
     - debian/rules: use on_failure as --error-handler for dh_installinit
  * debian/ngircd.init: use consistent permissions for /var/run/ngircd/ with
    those used in the postinst script

 -- Adrien Cunin <email address hidden> Sat, 13 Sep 2008 13:44:35 +0200

Changed in ngircd:
status: In Progress → Fix Released
Changed in ngircd:
status: New → Fix Released
Revision history for this message
Jonathan Riddell (jr) wrote :

A version of this was uploaded to hardy-proposed, please attach the debdiff and subscribe motu-sru for approval.

Revision history for this message
Jonathan Riddell (jr) wrote :

For some reason the patch and approval is on bug 85266, I've accepted into hardy-proposed, please test.

Changed in ngircd:
status: In Progress → Fix Committed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Verified as per comment in bug #85266.

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Changed in ngircd:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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