Re: Recover from a corrupt pkg DB

2022-08-30 Thread Tatsuki Makino
Addition. Ports that need to be reinstalled can usually be found in pkg check -sna. Tatsuki Makino wrote on 2022/08/31 06:19: > Hello. > > I also just recently unlinked /var/db/pkg/local.sqlite to a place where it > cannot be traced from the /var file system :) > To recover from that, there shou

Re: Recover from a corrupt pkg DB

2022-08-30 Thread Tatsuki Makino
Hello. I also just recently unlinked /var/db/pkg/local.sqlite to a place where it cannot be traced from the /var file system :) To recover from that, there should already be a backup that others have mentioned, in which case the following command is all that is needed to restore it. xzcat /var

Re: Recover from a corrupt pkg DB

2022-08-30 Thread Vincent Hoffman
On 30/08/2022 18:45, Dan Mahoney (Ports) wrote: On Aug 30, 2022, at 10:26 AM, Pete Wright wrote: On Tue, Aug 30, 2022 at 09:36:52AM -0700, Kevin Oberman wrote: I had a crash while building ffmpeg on a new system. The build had not begun, so I don't think ffmpeg is really an issue. portmaste

Unmaintained FreeBSD ports which are out of date

2022-08-30 Thread portscout
Dear port maintainers, The portscout new distfile checker has detected that one or more unmaintained ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. Please consider also adopting this po

Re: Recover from a corrupt pkg DB

2022-08-30 Thread Dan Mahoney (Ports)
> On Aug 30, 2022, at 10:26 AM, Pete Wright wrote: > > On Tue, Aug 30, 2022 at 09:36:52AM -0700, Kevin Oberman wrote: >> I had a crash while building ffmpeg on a new system. The build had not >> begun, so I don't think ffmpeg is really an issue. portmaster(8) was >> walking the dependency tree

Re: Recover from a corrupt pkg DB

2022-08-30 Thread Piotr Smyrak
On Tue, 30 Aug 2022 09:36:52 -0700 Kevin Oberman wrote: > I had a crash while building ffmpeg on a new system. The build had not > begun, so I don't think ffmpeg is really an issue. portmaster(8) was > walking the dependency tree when the system panicked and, after a > reboot and full fsck, I get

Re: Recover from a corrupt pkg DB

2022-08-30 Thread Pete Wright
On Tue, Aug 30, 2022 at 09:36:52AM -0700, Kevin Oberman wrote: > I had a crash while building ffmpeg on a new system. The build had not > begun, so I don't think ffmpeg is really an issue. portmaster(8) was > walking the dependency tree when the system panicked and, after a reboot > and full fsck,

Recover from a corrupt pkg DB

2022-08-30 Thread Kevin Oberman
I had a crash while building ffmpeg on a new system. The build had not begun, so I don't think ffmpeg is really an issue. portmaster(8) was walking the dependency tree when the system panicked and, after a reboot and full fsck, I get the error: pkg: sqlite error while executing PRAGMA user_version;