Strange errors in package convertion from .rpm to .deb (alien)

Asked by Michal Dziczkowski on 2015-11-13

Hello. I tryed to convert the latest flashplayer package in .rpm format to .deb. While doing that, I had recieved following errors in output:

== dump start ==

# alien -dscv flash-plugin-11.2.202.548-release.i386.rpm

 LANG=C rpm -qp --queryformat %{NAME} 'flash-plugin-11.2.202.548-release.i386.rpm'
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in /root/.rpmdb
 LANG=C rpm -qp --queryformat %{VERSION} 'flash-plugin-11.2.202.548-release.i386.rpm'
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in /root/.rpmdb
 LANG=C rpm -qp --queryformat %{RELEASE} 'flash-plugin-11.2.202.548-release.i386.rpm'
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in /root/.rpmdb
 LANG=C rpm -qp --queryformat %{ARCH} 'flash-plugin-11.2.202.548-release.i386.rpm'
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in /root/.rpmdb
 LANG=C rpm -qp --queryformat %{CHANGELOGTEXT} 'flash-plugin-11.2.202.548-release.i386.rpm'
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in /root/.rpmdb
 LANG=C rpm -qp --queryformat %{SUMMARY} 'flash-plugin-11.2.202.548-release.i386.rpm'
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in /root/.rpmdb
 LANG=C rpm -qp --queryformat %{DESCRIPTION} 'flash-plugin-11.2.202.548-release.i386.rpm'
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in /root/.rpmdb
 LANG=C rpm -qp --queryformat %{PREFIXES} 'flash-plugin-11.2.202.548-release.i386.rpm'
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in /root/.rpmdb
 LANG=C rpm -qp --queryformat %{LICENSE} 'flash-plugin-11.2.202.548-release.i386.rpm'
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in /root/.rpmdb
 LANG=C rpm -qp --queryformat %{POSTUN} 'flash-plugin-11.2.202.548-release.i386.rpm'
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in /root/.rpmdb
 LANG=C rpm -qp --queryformat %{PREIN} 'flash-plugin-11.2.202.548-release.i386.rpm'
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in /root/.rpmdb
 LANG=C rpm -qp --queryformat %{POSTIN} 'flash-plugin-11.2.202.548-release.i386.rpm'
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in /root/.rpmdb
 LANG=C rpm -qp --queryformat %{PREUN} 'flash-plugin-11.2.202.548-release.i386.rpm'
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in /root/.rpmdb
 LANG=C rpm -qcp 'flash-plugin-11.2.202.548-release.i386.rpm'
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in /root/.rpmdb
 rpm -qpi 'flash-plugin-11.2.202.548-release.i386.rpm'
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in /root/.rpmdb
 LANG=C rpm -qpl 'flash-plugin-11.2.202.548-release.i386.rpm'
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in /root/.rpmdb
 mkdir flash-plugin-11.2.202.548
 chmod 755 flash-plugin-11.2.202.548
 rpm2cpio 'flash-plugin-11.2.202.548-release.i386.rpm' | lzma -t -q > /dev/null 2>&1
 rpm2cpio 'flash-plugin-11.2.202.548-release.i386.rpm' | (cd flash-plugin-11.2.202.548; cpio --extract --make-directories --no-absolute-filenames --preserve-modification-time) 2>&1
Unpacking of 'flash-plugin-11.2.202.548-release.i386.rpm' failed at /usr/share/perl5/Alien/Package/Rpm.pm line 168.
 find flash-plugin-11.2.202.548 -type d -exec chmod 755 {} ;
 rm -rf flash-plugin-11.2.202.548

== End of dump ==

Any idea if this is a alien or RPM error amd how could it be solved?

NOTE: The "APT 10+" position on flashplugin download page seem to be not working by me, that why I had downloaded the .rpm file

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2015-11-13
Last reply:
2015-11-14

This question was reopened

Why are you using alien and an rpm to install Flash? Flash is in the Ubuntu repository..

I use alien to convert .rpm to .deb

The flash with is in the repo of 14.04 I'm still using is outdated and firefox hint's to display the content by prompting a error about it

Manfred Hampl (m-hampl) said : #3

The rpm package provided by adobe seems not to contain everything what alien needs to convert it into a deb package.

If you look at https://launchpad.net/ubuntu/+source/flashplugin-nonfree you can see that the standard Ubuntu packages have already been updated to the latest version.

I recommend that you try

sudo apt-get update
sudo apt-get install flashplugin-installer

(Remark: you need multiverse updates or multiverse security repositories enabled.)

Unfortunatelly, apt-get update has following bug: #1462891 related to it, with makes me inpossible to sucessfully update all packages (if any get updated)

Manfred Hampl (m-hampl) said : #5

What output di you get for the command

sudo apt-get update

?

The package list downloading before getting the "missing key" error (described in linked bug report)

Manfred Hampl (m-hampl) said : #7

Please provide the full output, not just your summary.

Dump attached in the bug #1462891

Manfred Hampl (m-hampl) said : #9

Maybe you are hitting the resource limit of gpg - bug #1263540

what is the output of

ls -l /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d
apt-key list

I will post the replies about the missing keys related bug to the linked bug

Manfred Hampl (m-hampl) said : #11

The limit seems not to be reached, but there are some unexpected files in your /etc/apt/trusted.gpg.d directory.

The contents of that directory should be *.gpg files only, and nothing else, and apparently the system gets confused with some of the other files.

Furthermore the link for the ubuntukylin-archive seem to point nowhere

What is the output of

ls -l /usr/share/keyrings/

I recommend deleting (or moving elsewhere) all files from the /etc/apt/trusted.gpg.d directory except those ending with .gpg

Then repeat the
apt-key list command
and report the result.

when I typed: `ls -l /usr/share/keyrings/`, I can see:

-rw-r--r-- 1 ubuntu root 12335 maj 19 2012 ubuntu-archive-keyring.gpg
-rw-r--r-- 1 ubuntu root 0 maj 19 2012 ubuntu-archive-removed-keys.gpg
-rw-r--r-- 1 ubuntu root 591 wrz 21 2010 ubuntu-extras-keyring.gpg
-rw-r--r-- 1 ubuntu root 0 wrz 21 2010 ubuntu-extras-keyring-removed-keys.gpg
-rw-r--r-- 1 ubuntu root 1227 maj 19 2012 ubuntu-master-keyring.gpg

Manfred Hampl (m-hampl) said : #13

More details to my previous comment:

In addition to removing all the non-.gpg files you should also remove the ubuntukylin-archive link, because the target where it points to does not exist.

lrwxrwxrwx 1 ubuntu root 51 wrz 3 13:02 ubuntukylin-archive-keyring.gpg -> /usr/share/keyrings/ubuntukylin-archive-keyring.gpg

Can you help with this problem?

Provide an answer of your own, or ask Michal Dziczkowski for more information if necessary.

To post a message you must log in.