Subject: "make update" as non-root
To: pkgsrc-users <>
From: Lieven De Keyzer <>
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)
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:

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.