Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2930

Unpacking of rpm failed using alien

$
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 from wsl

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 ?

Additonal info

dpkg-query -W alienalien   8.95.5uname -a Linux c-C7P8Q13 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Viewing all articles
Browse latest Browse all 2930

Trending Articles



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