Subject: "make update" as non-root
To: pkgsrc-users <pkgsrc-users@netbsd.org>
From: Lieven De Keyzer <lieven.dekeyzer@gmail.com>
List: pkgsrc-users
Date: 02/08/2007 21:52:58
When I try to update a package as a regular user, I get following output:

$ bmake update
===> Deinstalling for SDL_sound-1.0.1nb6
=> Becoming ``root'' to make su-deinstall (/bin/su)
Password:
Running /usr/pkg/sbin/pkg_delete -K /var/db/pkg  SDL_sound-1.0.1nb5
pkg_delete: package `SDL_sound-1.0.1nb5' is required by other packages:
        dosbox-0.65nb3

Then, after building the package, I receive the error that the package
is already installed.

However, when I execute "bmake update" as root, both SDL_sound and
dosbox are uninstalled.