Page 1 of 1

How to install rofi.deb file?

Posted: Sun Mar 24, 2024 2:18 am
by gychang

I am trying to install an older version of rofi (rofi_1.5.4-1_amd64.deb). Latest rofi from vpm i rofi command fails to show double columns. Older rofi works well in other puppy iso.

According to the instructions to convert *.deb to *.xbps, on terminal deb2xbps ./rofi_1.5.4-1+b1_amd64.deb, I get an error Dependency 'ar" not found. Anyone know the solution?


Re: can't install *.deb file,

Posted: Sun Mar 24, 2024 3:10 am
by rockedge

@gychang ar comes in the binutils package.

When using xbps directly on the command line:

Code: Select all

xbps-install -Sy binutils

Re: can't install *.deb file,

Posted: Sun Mar 24, 2024 11:19 am
by gychang
rockedge wrote: Sun Mar 24, 2024 3:10 am

@gychang ar comes in the binutils package.

When using xbps directly on the command line:

Code: Select all

xbps-install -Sy binutils

@rockedge got it, thanks. Now I get another error...
deb2xbps ./rofi_1.5.4-1+b1_amd64.deb
\033[1m[\033[32m+\033[0;1m]\033[0m Extracted files
/usr/bin/deb2xbps: line 282: return: can only `return' from a function or sourced script
\033[1m[\033[31m!\033[0;1m] Unless updating, consider removing conflicting files and rebuild with '-rb'\033[0m
index: added `rofi-1.5.4_1' (x86_64).
index: 1 packages registered.
\033[1m[\033[32m+\033[0;1m]\033[0m Done. Install using `xbps-install -R binpkgs rofi-1.5.4_1`

I think this is beyond me and will go back to CE-4....


Re: can't install *.deb file,

Posted: Sun Mar 24, 2024 12:55 pm
by rockedge

@gychang try another method of converting the .deb to .xbps

It is called xdeb that is here -> https://github.com/xdeb-org/xdeb

it is pretty easy to use and can perhaps be the tool you need.


Re: can't install *.deb file,

Posted: Sun Mar 24, 2024 2:32 pm
by fredx181

@gychang
Looks like there's a small mistake in the deb2xbps script (message about "return"), but it could well be that it succeeded despite that (looks like IMO).
Did you try xbps-install -R binpkgs rofi-1.5.4_1 ? (as suggested in the output)


Re: can't install *.deb file,

Posted: Sun Mar 24, 2024 5:15 pm
by gychang
fredx181 wrote: Sun Mar 24, 2024 2:32 pm

@gychang
Looks like there's a small mistake in the deb2xbps script (message about "return"), but it could well be that it succeeded despite that (looks like IMO).
Did you try xbps-install -R binpkgs rofi-1.5.4_1 ? (as suggested in the output)

@fredx181 Yes, I did. After installing and rebooting. "which rofi" gives /usr/bin/rofi output, on terminal

root@m910 ~
--> rofi
rofi: error while loading shared libraries: libxcb-xrm.so.0: cannot open shared object file: No such file or directory

there is no output with vpm s libxcb-xrm.so

I appreciate all the suggestions from folks but will give up for now...