Octopkg

Hİ.
I cannot get octopkg to accept the password from the user login in freebsd 14. env'ASSUME_ALWAYS_YES=yes' /usr/sbin/pkg update -f command appears.
Thanks.
 
Don't know octapkg, never used it before. So I'm not sure how it elevates its privileges. I'm guessing it uses su(1), not sudo(8). With sudo(8) you enter your user's password. With su(1) you enter root's password.
 
Don't know octapkg, never used it before. So I'm not sure how it elevates its privileges. I'm guessing it uses su(1), not sudo(8). With sudo(8) you enter your user's password. With su(1) you enter root's password.

Just looked on the GitHub page, says it consists of a lxqt-sudo clone called qt-sudo used to gain root privilege.

Then at the bottom of the page it says - Remember: OctoPkg needs doas or sudo tool to work.
 
I installed it on my 14-stable system and i was able to remove a package without providing my password as i have doas setup to not require a password for my account, so it worked for doas, not sure about sudo though.

For some reason it wouldn't let me search for packages not installed though as it only listed installed packages, but maybe i missed something as I've never used it before.
 
I'm not using octopkg in these days anymore but when I was new to FreeBSD I did as it was a useful tool for me.

As DylanM I have configured my main user to be able to use sudo without a password. This works very well with octopkg and it
never ask for a password for anything. Removing or installing a package no password needed. But this is not default behavior and need to
be configured via visudo.

By default octopkg only shows you packages that are already installed. If you want to see packages that are available from the repo you
need to switch to that mode. Just click the blue button directly beside the "search field" on the left.
 
1
 

Attachments

  • 20240412_221308.jpg
    20240412_221308.jpg
    473 KB · Views: 250
Works for me with sudo on CURRENT.

Enter the password for the signed-in user, not the superuser password.
 

Attachments

  • 1721323578055.png
    1721323578055.png
    180.8 KB · Views: 233
  • 1721323685435.png
    1721323685435.png
    79 KB · Views: 239
  • 1721323768468.png
    1721323768468.png
    26.4 KB · Views: 225
  • 1721323943410.png
    1721323943410.png
    438.8 KB · Views: 225
Back
Top