I do the package upgrades as root (‘su -‘) and I’m pretty sure I was doing the 
pkg_check commands in the same terminal this morning.

> On Aug 22, 2019, at 11:00, Isak Holmstroem <i...@obsd.xyz> wrote:
> 
> How did you run the command? As your user or with doas/or as root?
> 
> I have seen problems with permissions with pkg_check as my user can not read 
> all the directories that pkg_check are trying to read.
> 
> /Isak
> 
>> ----------------------------------------
>> From: Jordon <open...@sirjorj.com>
>> Sent: Thu Aug 22 14:40:28 CEST 2019
>> To: Isak Holmström <i...@obsd.xyz>
>> Cc: <misc@openbsd.org>
>> Subject: Re: pkg_add -u fails on nonexistant package
>> 
>> 
>> Thanks - that fixed it.  I figured there was some cleanup or maintenance 
>> that needed to be done - i just didn't know how to do it.  In running 
>> pkg_check, i did get a lot of these:
>> 
>> --- .libs9-partial-gcc-libs-8.3.0p1.1 -------------------
>> lib should exist
>> lib is not a directory
>> lib/libatomic.so.3.0 should exist
>> lib/libatomic.so.3.0 is not a file
>> can't read lib/libatomic.so.3.0
>> lib/libestdc++.so.19.0 should exist
>> lib/libestdc++.so.19.0 is not a file
>> can't read lib/libestdc++.so.19.0
>> 
>> Are those problematic?  How do I fix them or should I just ignore them?
>> 
>> Thanks again!
>> 
>> 
>> 
>> 
>>>>> On Aug 22, 2019, at 00:27, Isak Holmström <i...@obsd.xyz> wrote:
>>> Have you tried pkg_check to see failing messages for missing files? 
>>> 
>>>> On August 21, 2019 11:03:06 PM UTC, Jordon <open...@sirjorj.com> wrote:
>>>> A few years ago I attempted to make a port of obs-studio for openbsd. 
>>>> With help from this mailing list, I got something that ran but wasn’t
>>>> particularly useful, as audio and video sources were not there.  I gave
>>>> up on that project and since then have been using that machine for
>>>> local development on a cgi-based website.
>>>> This system runs current and gets updated about once a week or so.  I
>>>> also try to do a ‘pkg_add -u’ regularly too.  Every time I do that, it
>>>> ends with this:
>>>> Fatal error: can't parse OpenBSD::Requiring: writing
>>>> /var/db/pkg/obs-studio-17.0.0/+REQUIRING: No such file or directory at
>>>> /usr/libdata/perl5/OpenBSD/RequiredBy.pm line 30.
>>>> 
>>>> That is the package I was making and it is no longer installed.  How
>>>> does pkg_add even know about it, as it isn't part of the base packages?
>>>> What can I do to get rid of that message?  It has been doing that for a
>>>> while and I am finally annoyed enough to try to fix it!
>>>> 
>>>> Jordon
>>> 
>>> --
>>> Isak - OBSD.xyz
>> 

Reply via email to