package isdnutils-base (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 1

Bug #813771 reported by Samantha S
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
isdnutils (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Installed the package, but then realized I didn't need it. Tried to "sudo apt-get purge isdnutils" and recieved this error

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: isdnutils-base (not installed)
ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
Uname: Linux 2.6.38-10-generic i686
AptOrdering: isdnutils-base: Purge
Architecture: i386
Date: Wed Jul 20 15:24:43 2011
ErrorMessage: subprocess installed post-removal script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
SourcePackage: isdnutils
Title: package isdnutils-base (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Samantha S (lewdlime) wrote :
Revision history for this message
Rolf Leggewie (r0lf) wrote :

from the log:

Purging configuration files for isdnutils-base ...
rmdir: failed to remove `/etc/isdn': No such file or directory
dpkg: error processing isdnutils-base (--purge):
 subprocess installed post-removal script returned error exit status 1

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in isdnutils (Ubuntu):
status: New → Confirmed
Rolf Leggewie (r0lf)
tags: added: lucid
Rolf Leggewie (r0lf)
Changed in isdnutils (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (7.4 KiB)

This bug was fixed in the package isdnutils - 1:3.25+dfsg1-3.3ubuntu1

---------------
isdnutils (1:3.25+dfsg1-3.3ubuntu1) trusty; urgency=low

  * Merge from Debian unstable:
    - resolves licensing issues with package contents. LP: #511988.
    - includes proper upstream fix for ipppd on ARM. LP: #453159.
    - resolves isdnutils-base removal failures. LP: #813771.
    - fixes capiutils init script to not try to mount obsolete capifs.
      LP: #1064347.
  * Remaining changes:
    - Switch libreadline5-dev to libreadline-gplv2-dev since this package
      appears to be GPLv2
    - debian/patches/no-imake.patch: Don't build xisdnload/xmonisdn using
      xmkmf/imake. This patch was dropped in Debian without explanation;
      it still applies and seems to still be a good idea for eventual
      upstreaming, since imake is quite obsolete.
    - capi.conf: Fix typo for fcdsl2 firmware. LP: #189132.
    - Remove dependencies on /etc/inittab.
      - Disable the installation code to modify /etc/inittab.
      - isdnutils-base: Add ttyI0 example script, which needs to be installed
        in /etc/event.d/ttyI0.
      - isdnvboxserver: Add ttyI1 example script, which needs to be installed
        in /etc/event.d/ttyI1.
      - The two upstart scripts need to be edited.
      - Further improvements and documentation welcome.
  * Changes included in Debian:
    - replace calls to ./MAKEDEV with /sbin/MAKEDEV
    - Build-depend on ppp-dev.
    - Switch to newer tcl -dev.
    - update to newer automake
    - debian/rules: use autoreconf to update the autotools in the capi20
      directory
    - debian/{compat,rules,*.files,.dirs}: Convert to Multi-arch.
    - debian/libcapi20-dev.install: Remove .la files (no builds use them).
  * Changes included upstream:
    - fix for ARM FTBFS.
    - fix bashisms in vboxplay.
    - debian/patches/{config_libdir,toplevel-make}.patch: add CONFIG_LIBDIR
      override to upstream build system to support Multi-arch.
  * Dropped changes:
    - kick dpatch to the curb.
  * Handle migrating the blacklist file from
    /etc/modprobe.d/blacklist-capiutils.conf to the path used in Debian,
    /etc/modprobe.d/capiutils.conf.
  * Handle rename of /etc/ppp/ip-down.d/99-ipppd and /etc/ppp/ip-up.d/00-ipppd
    to /etc/ppp/ip-down.d/ipppd and /etc/ppp/ip-up.d/ipppd
  * Handle rename of /etc/init.d/isdnutils to /etc/init.d/isdnutils-base
  * Restore standard.tcl to /usr/share/isdnvboxserver/default; maintainer
    scripts must not depend on contents of /usr/share/doc.
  * Apply patches that were preserved in the 3.0 (quilt) migration, but
    were inadvertently not applied:
    - debian/patches/capifax.additional_error_codes.patch
    - debian/patches/capifax.3_1kHz_audio.patch
  * Drop debian/isdnutils-base.cron.d, which isn't a cronjob example at all
    but an inittab example gone astray.
  * debian/dotconfig*: don't use embedded quotes for paths; this confuses
    vbox's Makefiles something fierce, and causes files to be missed from
    debian/tmp'/usr/share/man/' at install time.
  * Fix isdnlog and ipppd to not ship files used in the postinst under
    /usr/share/doc.
  * Modernize the upstart examples.

isdnutils (1:3...

Read more...

Changed in isdnutils (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Sebastian Geiger (lanoxx) wrote :

Hello,

I am running Ubuntu 14.04 and have version 1:3.25+dfsg1-3.3ubuntu1 of isdnutils-base installed. I am still suffering from this bug:

$aptitude search isdn
cp isdnutils-base - ISDN utilities - minimal set

Package state is cp, so there is some configuration data left, lets purge it:

$sudo aptitude purge isdnutils-base
The following packages will be REMOVED:
  isdnutils-base{p}
0 packages upgraded, 0 newly installed, 1 to remove and 21 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Do you want to continue? [Y/n/?] y
(Reading database ... 543612 files and directories currently installed.)
Removing isdnutils-base (1:3.12.20071127-0ubuntu6) ...
Purging configuration files for isdnutils-base (1:3.12.20071127-0ubuntu6) ...
rmdir: failed to remove ‘/etc/isdn’: No such file or directory
dpkg: error processing package isdnutils-base (--purge):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 isdnutils-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:

$sudo aptitude show isdnutils-base
Package: isdnutils-base
New: yes
State: not installed
Version: 1:3.25+dfsg1-3.3ubuntu2
Priority: optional
Section: universe/utils
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Uncompressed Size: 396 k
Depends: libc6 (>= 2.15), libncurses5 (>= 5.5-5~), libtinfo5, lsb-base (>= 1.3-9ubuntu3), makedev
PreDepends: debconf (>= 1.2.9) | debconf-2.0
Suggests: ipppd, isdnlog, isdnutils-doc, isdnutils-xtools, isdnvboxserver, isdnvboxclient
Conflicts: isdnutils-base
Description: ISDN utilities - minimal set
 This package provides the basic set of ISDN utilities needed to make use of an ISDN card.
Homepage: http://www.isdn4linux.de

So how can I get rid of it?

Revision history for this message
Sebastian Geiger (lanoxx) wrote :

Ok, sorry for bothering. I fixed this it by installing the package and then purging it again.

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.