Running into a problem with pkg-static install -f pkg

The Doctor doctor at doctor.nl2k.ab.ca
Mon Apr 8 20:37:44 UTC 2019


On Mon, Apr 08, 2019 at 09:03:34AM -0700, Freddie Cash wrote:
> On Mon, Apr 8, 2019 at 8:06 AM The Doctor via freebsd-ports <
> freebsd-ports at freebsd.org> wrote:
> 
> > On one server when I run pkg-static install -f pkg
> >
> > I get
> >
> > pkg-static install -f pkg
> >
> > pkg-static: Warning: Major OS version upgrade detected.  Running
> > "pkg-static install -f pkg" recommended
> > Updating FreeBSD repository catalogue...
> > FreeBSD repository is up to date.
> > Updating Synth repository catalogue...
> > pkg-static: Repository Synth load error: access repo
> > file(/var/db/pkg/repo-Synth.sqlite) failed: No such file or directory
> > pkg-static: file:///var/synth/live_packages/meta.txz: No such file or
> > directory
> > repository Synth has no meta file, using default settings
> > pkg-static: file:///var/synth/live_packages/packagesite.txz: No such file
> > or directory
> > Unable to update repository Synth
> > Error updating repositories!
> >
> > Why is this happening?
> >
> 
> Check your repo configuration file.  It's trying to access a local Synth
> repo under /var/synth/live_pacakges/ but there's nothing there, so it's
> failing.  Comment out that repo, and it should pull down the pkg package
> from the FreeBSD repo.
> 
> Check /etc/pkg/ and /usr/local/etc/pkg/ for the repo config files.
>

Found the culprit in the /usr/local/etc/pkg/ section.

Thank you! The update is happeing!!

> -- 
> Freddie Cash
> fjwcash at gmail.com
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
https://www.empire.kred/ROOTNK?t=94a1f39b  Look at Psalms 14 and 53 on Atheism
Alberta on 16 April 2019, do not vote UCP, FCP nor NDP!


More information about the freebsd-ports mailing list