How to install rofi.deb file?

Moderators: peebee, Forum moderators

Post Reply
User avatar
gychang
Posts: 553
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 195 times
Been thanked: 51 times

How to install rofi.deb file?

Post 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?

Attachments
Screenshot.png
Screenshot.png (27.07 KiB) Viewed 343 times

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

User avatar
rockedge
Site Admin
Posts: 5724
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1997 times
Been thanked: 2099 times
Contact:

Re: can't install *.deb file,

Post by rockedge »

@gychang ar comes in the binutils package.

When using xbps directly on the command line:

Code: Select all

xbps-install -Sy binutils
User avatar
gychang
Posts: 553
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 195 times
Been thanked: 51 times

Re: can't install *.deb file,

Post 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....

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

User avatar
rockedge
Site Admin
Posts: 5724
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1997 times
Been thanked: 2099 times
Contact:

Re: can't install *.deb file,

Post 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.

User avatar
fredx181
Posts: 2562
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 274 times
Been thanked: 993 times
Contact:

Re: can't install *.deb file,

Post 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)

User avatar
gychang
Posts: 553
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 195 times
Been thanked: 51 times

Re: can't install *.deb file,

Post 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...

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

Post Reply

Return to “VoidPup”