Using alien to convert .deb to .rpm, unable to make directory

Converting the Webull desktop app:

steve@localhost:~> sudo alien --to-rpm /home/steve/Downloads/qt_5.13.2_WebullDesktop_ubuntu_4.7.0.deb 
[sudo] password for root:  
Sorry, try again. 
[sudo] password for root:  
mkdir: cannot create directory ‘webulldesktop-4.7.0’: File exists 
unable to mkdir webulldesktop-4.7.0:  at /usr/lib/perl5/vendor_perl/5.26.1/Alien/Package.pm line 257. 
steve@localhost:~> 

alien may work or may not.

Without regstration, I can not download the deb-package to see inside…
And I am not willing to registrate.

I could download the demo version of the deb file and alien 8.95-lp152.1.1 works for me


rolf@gnomegurke:~> sudo alien --to-rpm /home/rolf/Downloads/qt_5.13.2_WebullDesktop_ubuntu_4.7.0.deb 
[sudo] password for root: 
WebullDesktop                                   -4.7.0                                   -2.amd64                            .rpm generated
rolf@gnomegurke:~> ls -l *.rpm
-rw-r--r-- 1 root root 193837784 Apr 22 09:59 WebullDesktop-4.7.0-2.amd64.rpm

Alien creates a temporary directory webulldesktop-4.7.0 [size=3]in the current directory to create the rpm. And if this directory is not removed due to an error of a previous run this might be the reason for the problem. If i simulate this on my machine i see this:


[FONT=monospace]rolf@gnomegurke:~> mkdir webulldesktop-4.7.0 
rolf@gnomegurke:~> ls -ld webulldesktop-4.7.0/ 
drwxr-xr-x 1 rolf users 0 Apr 22 10:02 **webulldesktop-4.7.0/**
rolf@gnomegurke:~> sudo alien --to-rpm /home/rolf/Downloads/qt_5.13.2_WebullDesktop_ubuntu_4.7.0.deb  
[sudo] password for root:  
mkdir: cannot create directory 'webulldesktop-4.7.0': File exists 
unable to mkdir webulldesktop-4.7.0:  at /usr/lib/perl5/vendor_perl/5.26.1/Alien/Package.pm line 257.

[/size]
[/FONT]

That could be happening

steve@localhost:~> sudo alien --to-rpm /home/Downloads/qt_5.13.2_WebullDesktop_ubuntu_4.7.0.deb 
[sudo] password for root:  
File "/home/Downloads/qt_5.13.2_WebullDesktop_ubuntu_4.7.0.deb" not found. 
steve@localhost:~> sudo alien --to-rpm /home/steve/Downloads/qt_5.13.2_WebullDesktop_ubuntu_4.7.0.deb

and then… nothing not even localhost

when I try and run on another tab I get

steve@localhost:~> sudo alien --to-rpm /home/steve/Downloads/qt_5.13.2_WebullDesktop_ubuntu_4.7.0.deb 
[sudo] password for root:  
mkdir: cannot create directory ‘webulldesktop-4.7.0’: File exists 
unable to mkdir webulldesktop-4.7.0:  at /usr/lib/perl5/vendor_perl/5.26.1/Alien/Package.pm line 257. 
steve@localhost:~> 


Nevermind, it worked just took a very long time.

But now I have another problem because the .rpm is locked and am unable to change permissions. Yast2 yields an error message:

System management is locked by the application with pid 19690 (/usr/bin/ruby.ruby2.5).
Close this application before trying again.

Would you like to abort or try again?

Hi
Make life simple… just extract the deb file, then extract the data.tar.gz which has all the files you need, create a folder somewhere called WebullDesktop and move the local and share folders here, then create a wrapper script in local/WebullDesktop, eg;


#!/bin/bash

#!/bin/sh
appname=`basename $0 | sed s,\.sh$,,`

dirname=`dirname $0`
tmp="${dirname#?}"

if  "${dirname%$tmp}" != "/" ]; then
dirname=$PWD/$dirname
fi
LD_LIBRARY_PATH="$dirname/lib"
export LD_LIBRARY_PATH=/data/applications/WebullDesktop/local/WebullDesktop
$dirname/$appname "$@"

Copy the icons to ~/.icons and the desktop file to ~/.local/share/applications and adjust the desktop file Exec to point at the script…


Exec=/data/applications/WebullDesktop/local/WebullDesktop.sh

It all runs as your user then…

Note you can only run 1 update program at a time. Think of the cause if two update programs would be updating at the same time.