Package: libvpb0
Version: 4.2.46-1
Severity: normal

I am trying to install libvpb0 since it is a dependency of asterisk.
The server I am installing to has a Sangoma A101 ISDN card in it.
It seems that at install time, the package hangs.
It prompts me for the country code, but hangs when generating configuration for 
the ISDN card.


Here is the output:

        r...@pbx:~# aptitude install libvpb0
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        Reading extended state information... Done
        Initializing package states... Done
        The following NEW packages will be installed:
          libvpb0
        The following packages are RECOMMENDED but will NOT be installed:
          vpb-driver-source
        0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
        Need to get 0B/198kB of archives. After unpacking 610kB will be used.
        Writing extended state information... Done
        Preconfiguring packages ...
        Selecting previously deselected package libvpb0.
        (Reading database ... 31036 files and directories currently installed.)
        Unpacking libvpb0 (from .../libvpb0_4.2.46-1_amd64.deb) ...
        Processing triggers for man-db ...
        Setting up libvpb0 (4.2.46-1) ...

        Voicetronix hardware configuration helper 4.2.46.
        This will scan the PCI bus to determine what cards you have
        and create a set of default config files for them.

        Scanning PCI bus....
        found 1 cards.

        Processing ISDN cards...
        ============= Card [1] =============

It is stuck at this line.
I've left it for a long time and it won't continue.

A ps listing shows that the installation is running the following command:

        /usr/bin/perl -w /usr/sbin/VpbConfigurator --country=61

If I press ^C to abort the install and run this script manually, I get the 
following:

        r...@pbx:~# /usr/bin/perl -w /usr/sbin/VpbConfigurator --country=61

        Voicetronix hardware configuration helper 4.2.46.
        This will scan the PCI bus to determine what cards you have
        and create a set of default config files for them.

        Scanning PCI bus....
        found 1 cards.

        Processing ISDN cards...
        ============= Card [1] =============
         Is this a single span [S|s], dual [D|d] or Logging [L|l]  card?:
         [1] is Single span
        A total of 1 ports will now be configured.
        ============= Port [1] =============
         Is this port E1 or T1 ? [E|e|T|t](e):
         port 1 is E1
         Is this port CAS or CCS ? [cas|ccs](ccs):
         port is CCS
         Is this port Client or Network? [C|c|N|n](c):
         port 1 is Client
        Making wanpipe config files now....
        Done wanpipe1.conf 
        Making openpri.conf config file now...
        Created OpenPRI config file
        Processing Analog cards...
        Found 0 OpenLine4's, 0 OpenSwitch12's and 0 OpenPCI's.
        Created 1 card config files...
        On a total of 1 'spans'...
        Creating vpb.conf file...
        Done

As you can see I am prompted with some questions, of which I answered as per 
the above.
Once the above is done I can then get the package to configure like so:

        r...@pbx:~# dpkg --configure --pending
        Setting up libvpb0 (4.2.46-1) ...

Things I have tried (with no luck), to try to get the package to install 
without hanging are:

- Assume I can't see the installation questions and blindly answer them.
  Either it isn't asking me at all, or my input is not being sent to the 
VpbConfigurator program.

- Install and compile the vpb-driver-source package and install the resulting 
modules prior to install.

- Change my debconf question priority from low to high prior to install.

- Change debconf to use readline instead of dialog in the hope of seeing 
installation questions.

- Configure Sangoma Wanpipe dirvers first so that they are using the ISDN card, 
prior to the install.


In the end, I don't think I even want this to use my ISDN card anyway?
The only reason it is being installed is to satisfy dependencies for Asterisk.
I just want to use the Sangoma wanpipe drivers in conjunction with Asterisk 
DAHDI.
So I'd be happy if libvpb0 didn't even try to generate configuration for the 
ISDN card.

Regards,

----------
Jim Barber


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages libvpb0 depends on:
ii  debconf [debconf-2.0]   1.5.32           Debian configuration management sy
ii  libc6                   2.10.2-9         Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.4.4-1        GCC support library
ii  libpci3                 1:3.1.7-3        Linux PCI Utilities (shared librar
ii  libstdc++6              4.4.4-1          The GNU Standard C++ Library v3
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages libvpb0 recommends:
pn  vpb-driver-source             <none>     (no description available)

Versions of packages libvpb0 suggests:
pn  vpb-utils                     <none>     (no description available)

-- debconf information:
* libvpb0/countrycode: 61



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to