Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Dec 2014 09:38:39 +0100
From:      Milan Obuch <freebsd-ports@dino.sk>
To:        freebsd-ports@freebsd.org
Subject:   pkg check -s -a output unusable/incomplete
Message-ID:  <20141207093839.15224f88@zeta.dino.sk>

next in thread | raw e-mail | index | archive | help
Hi,

today it occured to me due some power outage or something unexpected
like that caused filesystem breakage. fsck with journal was not able to
repair damage and the result was repeated restart. It is a virtual
machine on HyperV hypervisor, by the way, but that is irrelevant to the
problem I like to report and ask for solution if known or some hints.

Basically, there are 91 ports/packages installed, everything works
normally well. Then, issuing command 'pkg check -s -a' to find damages
I was able to identify package, p5-Locale-gettext-1.05_4, as one with
some damage to its files, but no more clue thereafter, that's what I
got:

# pkg check -s -a
Checking all packages:   2%
pkg: pkg_create_from_dir(lstat failed): No such file or directory
Checking all packages:  24%
pkg: pkg_create_from_dir(lstat failed): No such file or directory
Checking all packages: 100%
#

I knew I needed to rebuild/reinstall asterisk (some modules were not
able to load, which manifests itself clearly so is easily
identifiable), after that, the same command's output somewhat changed:

# pkg check -s -a
Checking all packages:  24%
pkg: pkg_create_from_dir(lstat failed): No such file or directory
Checking all packages: 100%
#

and no idea now which package needs reinstall.

Any idea on this one? There is no indication which file does not exist
(and should, it would not be checked for in the first place if that's
not the case) nor package name which should be reinstalled in order to
fix the issue.

Regards,
Milan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141207093839.15224f88>