I am trying to run the alien command on an rpm package and get the below error.
Command:
sudo alien -k -i --scripts mypackage.rpmError:
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 blocksThe 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