Bug#314881: libgksu1.2-0: Install error "ImportError: No module named _bsddb", etc.

A Costa A Costa <agcosta@gis.net>, 314881@bugs.debian.org
Sun, 19 Jun 2005 01:42:46 -0400


Package: libgksu1.2-0
Version: 1.3.1-1
Severity: normal


Some install cruft:

    % feta install libgksu1.2-0

    Running: apt-get install 'libgksu1.2-0'
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following packages will be upgraded:
      libgksu1.2-0
    1 upgraded, 0 newly installed, 0 to remove and 49 not upgraded.
    Need to get 35.1kB of archives.
    After unpacking 4096B of additional disk space will be used.
    Get:1 http://http.us.debian.org unstable/main libgksu1.2-0 1.3.1-1 [35.1kB]
    Fetched 35.1kB in 13s (2557B/s)
    Traceback (most recent call last):
      File "/usr/bin/apt-listchanges", line 218, in ?
        main()
      File "/usr/bin/apt-listchanges", line 71, in main
        seen = anydbm.open(config.save_seen, 'c')
      File "/usr/lib/python2.3/anydbm.py", line 82, in open
        mod = __import__(result)
      File "/usr/lib/python2.3/dbhash.py", line 5, in ?
        import bsddb
      File "/usr/lib/python2.3/bsddb/__init__.py", line 40, in ?
        import _bsddb
    ImportError: No module named _bsddb
    (Reading database ... 151699 files and directories currently installed.)
    Preparing to replace libgksu1.2-0 1.3.0-3 (using .../libgksu1.2-0_1.3.1-1_i386.deb) ...
    Unpacking replacement libgksu1.2-0 ...
    Setting up libgksu1.2-0 (1.3.1-1) ...

Note that if I reinstall, the errors aren't there the second time:

    % dpkg -i /var/cache/apt/archives/libgksu1.2-0_1.3.1-1_i386.deb
    (Reading database ... 151700 files and directories currently installed.)
    Preparing to replace libgksu1.2-0 1.3.1-1 (using .../libgksu1.2-0_1.3.1-1_i386.deb) ...
    Unpacking replacement libgksu1.2-0 ...
    Setting up libgksu1.2-0 (1.3.1-1) ...


Hope this helps...


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.11-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages libgksu1.2-0 depends on:
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libglib2.0-0             2.6.5-1         The GLib library of C routines
ii  libgnome-keyring0        0.4.2-1         GNOME keyring services library
ii  xbase-clients            4.3.0.dfsg.1-14 miscellaneous X clients

Versions of packages libgksu1.2-0 recommends:
ii  sudo                         1.6.8p7-1.1 Provide limited super user privile

-- no debconf information