pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg_delete fails



I just did this again (in emacs):

gandalf# pwd
pwd
/usr/pkgsrc/games/doomlegacy
gandalf# pkg_delete -f doomlegacy
pkg_delete -f doomlegacy
pkg_delete: Opening pkgdb failed
gandalf#

gandalf#

gandalf# make
make
gandalf# make install
make install
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Installing binary package of doomlegacy-1.48.14nb1
pkg_add: package `doomlegacy-1.48.14nb1' already recorded as installed
gandalf# pkg_info doomlecagy-1.48.12nb1
pkg_info doomlecagy-1.48.12nb1
pkg_info: can't find package `doomlecagy-1.48.12nb1'
gandalf# pkg_info doomlegacy-1.48.14nb1
pkg_info doomlegacy-1.48.14nb1
pkg_info: can't find package `doomlegacy-1.48.14nb1'
gandalf#


I cant see the prob -- I was doing this as root.
I cannot see the prob.

On Sun, Jul 20, 2025 at 2:41 PM ci4ic4 <ci4ic4%proton.me@localhost> wrote:
>
>
>
>
>
>
> Sent with Proton Mail secure email.
>
> On Sunday, 20 July 2025 at 19:00, Todd Gruhn <tgruhn2%gmail.com@localhost> wrote:
>
> > from pkg_delete gives me this:
> >
> > pkg_delete: Opening pkgdb failed
>
> you are not running pkg_delete as root:
>
> ....
>
> $ id
> uid=1000(xci) gid=100(users) groups=100(users),0(wheel)
> $ pkg_delete go120
> pkg_delete: Opening pkgdb failed
> $ sudo sh
> # pkg_delete go120
> ...
>
> >
> > Explain; and how to I fix it?
> >
> > There is a pkg* for this???


Home | Main Index | Thread Index | Old Index