I have installed this application and it throws up errors
Is it possible to use this application or is it restricted?
Moderators: peebee, Forum moderators
You need to start OctoXBPS as user spot or any user other than root.
rockedge wrote: Fri Aug 02, 2024 5:17 pmYou need to start OctoXBPS as user spot or any user other than root.
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
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
Αξίζει να μεταφραστεί;
@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.
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.
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
Αξίζει να μεταφραστεί;
@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.
Puppy doesn't support PAM so pkexec and friends are all broken. Maybe that's the obstacle to run this package manager.
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
@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.