On 2012/06/22 19:00, Frans Haarman wrote:
> 2012/6/22 Stuart Henderson <[email protected]>:
> >
> >
> > On 2012/06/22 17:23, Frans Haarman wrote:
> >> hi ports@
> >>
> >> after upgrading to the 5.2 snapshot I keep getting errors with pkg_add -u.
> >>
> >> No pkgname in packing-list for sdl-mixer-1.2.11p0
> >> No pkgname in packing-list for partial-jdk-1.7.0.00v0
> >> No pkgname in packing-list for einstein-2.0p0
> >> Warning: couldn't read packing-list from installed package tel
> >> File /var/db/pkg/tel/+CONTENTS does not exist
> >> Error: tel missing from installation
> >> OpenBSD::Requiring: writing /var/db/pkg/tel/+REQUIRING: No such file
> >> or directory at /usr/libdata/perl5/OpenBSD/OldLibs.pm line 196
> >
> > Looks like you have some filesystem corruption in /var/db/pkg.
> > pkg_check(8) followed by running pkg_add -u may be able to help.
> > Use -i for 'i'nteractive mode so these programs can ask you
> > questions about some errors.
> 
> running pkg_check I noticed the error came from
> /var/db/pkg/.libs-gettext-0.18.1p0
> the +REQUIRED_BY file in there contains the line 'tel'.
> which I assume it should not.
> 
> also I noticed I have /var/db/pkg/gettext-0.18.1p1/
> 
> Probably something caused by me not properly upgrading thing in the
> past ?   I can just remove the line to fix it I suppose.
> 

If you are still left with errors after using pkg_check -i *and*
pkg_add -u -i, then I would consider deleting the broken directories
in /var/db/pkg and "pkg_add -i <name_of_package_you_just_deleted>"
which will complain about missing registration and offer to fix it.


Reply via email to