Is it possible to use Octoxbps?

Moderators: peebee, Forum moderators

Post Reply
User avatar
Jasper
Posts: 1696
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 874 times
Been thanked: 352 times

Is it possible to use Octoxbps?

Post by Jasper »

Octoxbps.png

I have installed this application and it throws up errors :thumbdown:

Is it possible to use this application or is it restricted?

errors-xpbs.png
User avatar
rockedge
Site Admin
Posts: 6685
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2885 times
Been thanked: 2726 times
Contact:

Re: Is it possible to use Octoxbps?

Post by rockedge »

You need to start OctoXBPS as user spot or any user other than root. :thumbup2:

geo_c
Posts: 2891
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2221 times
Been thanked: 887 times

Re: Is it possible to use Octoxbps?

Post by geo_c »

rockedge wrote: Fri Aug 02, 2024 5:17 pm

You need to start OctoXBPS as user spot or any user other than root. :thumbup2:

And why is that? It would seem to me that it would be the other way around, the root administrator being able to install system wide packages.

geo_c
Old School Hipster, and Such

User avatar
wiak
Posts: 4134
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1234 times
Contact:

Re: Is it possible to use Octoxbps?

Post by wiak »

geo_c wrote: Fri Aug 02, 2024 9:33 pm
rockedge wrote: Fri Aug 02, 2024 5:17 pm

You need to start OctoXBPS as user spot or any user other than root. :thumbup2:

And why is that? It would seem to me that it would be the other way around, the root administrator being able to install system wide packages.

Yes it comes across as a bit weird, but Linux was designed for normal multiusers. They want to be able to install apps, but I guess for overall system safety the less permissions available the better when doing so. Also much easier to get home directory app profiles to have appropriate "that user' file and directory permissions (root permissions in user home directory would not work from logged in normal user perspective). Then again most apps write such profiles only on first time run and as we know root can be used more generally to install apps so is a bit weird.

But I think it is more to do with being able to install per user apps rather than system wide available apps and traditionally Linux root user works from commandline; often using admin scripts.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

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

Re: Is it possible to use Octoxbps?

Post by rockedge »

@geo_c xbps on the command line root friendly, but OctoXBPS is designed not to run as root. So instead of messing with the python code and figure out a workaround to defeat the check if the root user, just start it as spot or other primary user.

@wiak I just dislike using sudo every few minutes. Comes from decades as the root user on my own machines and the programs I usually use.

User avatar
Jasper
Posts: 1696
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 874 times
Been thanked: 352 times

Re: Is it possible to use Octoxbps?

Post by Jasper »

run-as-spot.png

I have as suggested attempted to run the application as the user 'spot'.

As the root user, I created a password for 'spot' ....etc

It still did not allow me to proceed any further and did not recognise the password I had created.

User avatar
wiak
Posts: 4134
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1234 times
Contact:

Re: Is it possible to use Octoxbps?

Post by wiak »

Why run-as-spot when you already did su to spot? run-as-spot script is for root user to use.
I thought that by default password for spot was already set to "spot". I'd do passwd spot again to double check you haven't messed that up.

I never use octoxbps so dont know what others do to use it. Did work on normal user desktop when tried long ago

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
Jasper
Posts: 1696
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 874 times
Been thanked: 352 times

Re: Is it possible to use Octoxbps?

Post by Jasper »

sudoers-file.png

Still experiencing difficulties :thumbdown:

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

Re: Is it possible to use Octoxbps?

Post by rockedge »

@Jasper,
I will fire up a VoidPup and see if I can get OctoXBPS to run successfully.

There are challenges for VoidPup that are unlike those in KLV's, which are much closer to Void Linux than are the VoidPup's at this time.

For one thing Python3 needs to work in a full capacity, since OctoXBPS is written in Python. This is where I will check first.

dimkr
Posts: 2456
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1221 times

Re: Is it possible to use Octoxbps?

Post by dimkr »

Puppy doesn't support PAM so pkexec and friends are all broken. Maybe that's the obstacle to run this package manager.

User avatar
Jasper
Posts: 1696
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 874 times
Been thanked: 352 times

Re: Is it possible to use Octoxbps?

Post by Jasper »

I have a feeling that the error is due to Busybox ......... I came across a similar issue ages ago for an application.

At that point I think I compiled 'su' as a binary. :|

Thanks in advance

dimkr
Posts: 2456
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1221 times

Re: Is it possible to use Octoxbps?

Post by dimkr »

@Jasper It's unlikely that octoxbps runs su - AFAIK the latter will refuse to run outside of a terminal because it needs a pty to prompt for a password. It's more likely to use pkexec, like Synaptic and other graphical applications that prompt for the root password.

Post Reply

Return to “VoidPup”