Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4543

Unpacking of rpm failed

$
0
0

I am trying to run the alien command on an rpm package and get the below error.

Command:

sudo alien -k -i --scripts mypackage.rpm

Error:

Unpacking of 'mypackage.rpm' failed at /usr/share/perl5/Alien/Package/Rpm.pm line 168.

i tried running sudo apt install rpm --reinstall but still the error persists.NOTE - I have the above alien command in a .sh file and i get this error when running the shell script.

Also, when the run the below command(without shell script), it seems to work

rpm2cpio mypackage.rpm | cpio -i --make-directories18542 blocks

The line 168 at /usr/share/perl5/Alien/Package/Rpm.pm also does the same, i am not sure why the error then,


Viewing all articles
Browse latest Browse all 4543

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>