Bug#852151: error: cannot open Packages index using db5 - Input/output error (5)

Luca Boccassi luca.boccassi at gmail.com
Sun Jan 29 16:56:24 UTC 2017


On Sun, 22 Jan 2017 10:10:19 +0800 =?utf-8?B?56mN5Li55bC8?= Dan
Jacobson <jidanni at jidanni.org> wrote:
> Package: dkms
> Version: 2.3-2
> Severity: wishlist
>
> Please clean up these errors.
>
> # aptitude install linux-headers-amd64
> The following NEW packages will be installed:
>   linux-headers-4.9.0-1-amd64{a} (D: linux-headers-amd64) (linux-headers-amd64 D: linux-headers-4.9.0-1-amd64)
>   linux-headers-4.9.0-1-common{a} (D: linux-headers-4.9.0-1-amd64) (linux-headers-amd64 D: linux-headers-4.9.0-1-amd64 D: linux-headers-4.9.0-1-common)
>   linux-headers-amd64
>   linux-kbuild-4.9{a} (D: linux-headers-4.9.0-1-amd64) (linux-headers-amd64 D: linux-headers-4.9.0-1-amd64 D: linux-kbuild-4.9)
> 0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B/8,495 kB of archives. After unpacking 50.8 MB will be used.
> Do you want to continue? [Y/n/?]
> Selecting previously unselected package linux-headers-4.9.0-1-common.
> (Reading database ... 163792 files and directories currently installed.)
> Preparing to unpack .../linux-headers-4.9.0-1-common_4.9.2-2_all.deb ...
> Unpacking linux-headers-4.9.0-1-common (4.9.2-2) ...
> Selecting previously unselected package linux-kbuild-4.9.
> Preparing to unpack .../linux-kbuild-4.9_4.9.2-2_amd64.deb ...
> Unpacking linux-kbuild-4.9 (4.9.2-2) ...
> Selecting previously unselected package linux-headers-4.9.0-1-amd64.
> Preparing to unpack .../linux-headers-4.9.0-1-amd64_4.9.2-2_amd64.deb ...
> Unpacking linux-headers-4.9.0-1-amd64 (4.9.2-2) ...
> Selecting previously unselected package linux-headers-amd64.
> Preparing to unpack .../linux-headers-amd64_4.9+78_amd64.deb ...
> Unpacking linux-headers-amd64 (4.9+78) ...
> Setting up linux-headers-4.9.0-1-common (4.9.2-2) ...
> Setting up linux-kbuild-4.9 (4.9.2-2) ...
> Setting up linux-headers-4.9.0-1-amd64 (4.9.2-2) ...
> /etc/kernel/header_postinst.d/dkms:
> error: db5 error(5) from dbenv->open: Input/output error
> error: cannot open Packages index using db5 - Input/output error (5)
> error: cannot open Packages database in /root/.rpmdb
> error: db5 error(5) from dbenv->open: Input/output error
> error: cannot open Packages index using db5 - Input/output error (5)
> error: cannot open Packages database in /root/.rpmdb
> error: db5 error(5) from dbenv->open: Input/output error
> error: cannot open Packages index using db5 - Input/output error (5)
> error: cannot open Packages database in /root/.rpmdb
> error: db5 error(5) from dbenv->open: Input/output error
> error: cannot open Packages index using db5 - Input/output error (5)
> error: cannot open Packages database in /root/.rpmdb
> error: db5 error(5) from dbenv->open: Input/output error
> error: cannot open Packages index using db5 - Input/output error (5)
> error: cannot open Packages database in /root/.rpmdb
> error: db5 error(5) from dbenv->open: Input/output error
> error: cannot open Packages index using db5 - Input/output error (5)
> error: cannot open Packages database in /root/.rpmdb
> error: db5 error(5) from dbenv->open: Input/output error
> error: cannot open Packages index using db5 - Input/output error (5)
> error: cannot open Packages database in /root/.rpmdb
> error: db5 error(5) from dbenv->open: Input/output error
> error: cannot open Packages index using db5 - Input/output error (5)
> error: cannot open Packages database in /root/.rpmdb

Can't reproduce this in a sid chroot.

Some more information? I don't see any mention of
nvidia-legacy-304xx-kernel-dkms in this log, and the package doesn't
own /etc/kernel/header_postinst.d/dkms, what pointed you in the
direction of this package?

Kind regards,
Luca Boccassi



More information about the pkg-nvidia-devel mailing list