Hi, While configuring chroot to install packages using zypper, I am facing following error:
========================= (tizen-build-env)@gvkalra-ubuntu /]# zypper -n install gdb Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW package is going to be installed: gdb 1 new package to install. Overall download size: 1.5 MiB. After the operation, additional 3.8 MiB will be used. Continue? [y/n/?] (y): y (1/1) Installing: gdb-7.5.1-1.12 .................................................................................................................................[error] Installation of gdb-7.5.1-1.12 failed: (with --nodeps --force) Error: Subprocess failed. Error: RPM failed: warning: Failed to read auxiliary vector, /proc not mounted? warning: Failed to read auxiliary vector, /proc not mounted? warning: Failed to read auxiliary vector, /proc not mounted? warning: Failed to read auxiliary vector, /proc not mounted? warning: Failed to read auxiliary vector, /proc not mounted? warning: Failed to read auxiliary vector, /proc not mounted? warning: Failed to read auxiliary vector, /proc not mounted? warning: Failed to read auxiliary vector, /proc not mounted? error: db4 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch error: cannot open Packages index using db4 - (-30971) error: cannot open Packages database in /var/lib/rpm error: db4 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch error: cannot open Packages database in /var/lib/rpm Abort, retry, ignore? [a/r/i] (a): a Problem occured during or after installation or removal of packages: Installation aborted by user Please see the above error message for a hint. ========================= zypper is configured with: ========================= zypper ar https://download.tizen.org/snapshots/tizen/rd-pq/latest/repos/mobile/armv7l/packages/?ssl_verify=no rd-pq (tizen-build-env)@gvkalra-ubuntu /]# zypper lr # | Alias | Name | Enabled | Refresh --+-------+-------+---------+-------- 1 | rd-pq | rd-pq | Yes | No ========================= I have also tried getting rid of /var/lib/rpm/__db* OR /var/lib/rpm/ but still no luck. It fails all the time. Any pointers to follow on how this may be resolved ? Thanks. Have a good day ahead. -- Gaurav Kalra Samsung R&D Institute Bangalore Tweet it out @gvkalra _______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
