I did it. but I only had _pkduntar (?). After doing again, it works. Thank you very much for fast help.
Cheers Heiko Am 26.03.2016 um 13:54 schrieb Andreas Zeilmeier: > Hi Heiko, > > did you run sysmerge(8) after upgrading? > This will add the users/groups _pkgfetch and _pkguntar. > bd09c6fmxoq2...@intermezzo.net > Cheers > > Andi > > On 26.03.2016 13:33, Heiko wrote: >> Hello together, >> >> pkg_add is broken on my current amd64 since snapshot march 24. >> >> I get this: >> >> # pkg_add -ui >> Error from http://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/ >> Can't locate object method "fatal" via package >> "OpenBSD::PackageRepository::HTTP" at >> /usr/libdata/perl5/OpenBSD/PackageRepository.pm line 592. >> >> >> The corresponding code: >> >> -- snip --- >> sub drop_privileges_and_setup_env >> { >> my $state = shift; >> my $user = '_pkgfetch'; >> # we can't cache anything, we happen after the fork,. >> # right before exec >> if (my (undef, undef, $uid, $gid) = getpwnam($user)) { >> $( = $gid; >> $) = "$gid $gid"; >> $< = $uid; >> $> = $uid; >> } else { >> $state->fatal("Couldn't change identity: can't find #1", $user); >> } >> --- snip -- >> >> When I remark the "fatal" in line 592, I can update. But how can I fix >> it correctly? >> >> >> I did not find any change notes in: >> http://www.openbsd.org/faq/current.html >> >> Thank you in advance for your feedback. >> >> /Heiko