[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#527529: ipppd fails to install cleanly if makedev is not installed.



installing ipppd when makedev is not already installed doesn't prompt
the user to install the dependency.

Having only udev installed I wasn't able to cleanly install the
package.  Looking through the recent changes I notice

   * Call /sbin/MAKDEV explicitly from ipppd postinst instead of relying on the
     symlink in /dev/, which may not be there if makedev was installed after
     udev was started.
     closes: #542156

which looks like a change the meant that makedev was explicitly required now.

output from aptitude trying to configure ipppd:


Setting up ipppd (1:3.9.20060704-9) ...
Note: running MAKEDEV to create ISDN devices in /dev...
/var/lib/dpkg/info/ipppd.postinst: 114: MAKEDEV: not found
dpkg: error processing ipppd (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 ipppd
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up ipppd (1:3.9.20060704-9) ...
Note: running MAKEDEV to create ISDN devices in /dev...
/var/lib/dpkg/info/ipppd.postinst: 114: MAKEDEV: not found
dpkg: error processing ipppd (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 ipppd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done

installing makedev remedies the configuration problem,

sudo aptitude install makedev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
Reading task descriptions... Done
The following NEW packages will be installed:
  makedev
The following partially installed packages will be configured:
  ipppd
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 42.4kB of archives. After unpacking 152kB will be used.
Writing extended state information... Done
Get:1 http://ftp.ca.debian.org squeeze/main makedev 2.3.1-89 [42.4kB]
Fetched 42.4kB in 0s (50.9kB/s)
Selecting previously deselected package makedev.
(Reading database ... 68766 files and directories currently installed.)
Unpacking makedev (from .../makedev_2.3.1-89_all.deb) ...
update-rc.d: using dependency based boot sequencing
Processing triggers for man-db ...
Setting up makedev (2.3.1-89) ...
.udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
.udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
Setting up ipppd (1:3.9.20060704-9) ...
Note: running MAKEDEV to create ISDN devices in /dev...
.udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
Stopping ipppd....
Starting ipppd...no ISDN cards configured! Please configure 'hisax'
module with modconf.
Read /usr/share/doc/isdnutils-base/README.HiSax.gz for more information.
(e.g. with 'zless /usr/share/doc/isdnutils-base/README.HiSax.gz')..
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
-- 
_____________________
Jeff Richards
(250) 483-4318
http://www.jrichards.ca



Reply to: