Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2017 21:35:05 +0200
From:      "Herbert J. Skuhra" <herbert@mailbox.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: packagesite.txz: Not Found
Message-ID:  <87d18rndzq.wl-herbert@mailbox.org>
In-Reply-To: <2E7D4A53-8DF1-4409-B66C-29391AFA39A4@kreme.com>
References:  <2E7D4A53-8DF1-4409-B66C-29391AFA39A4@kreme.com>

next in thread | previous in thread | raw e-mail | index | archive | help
@lbutlr  skrev:
> 
> After using freebsd-update to install 11.0-RELEASE and reboot, I got a list of the packages installed before planning on doing a portmaster-af, and I got a message that a major version update was detected and I should run  pkg-static install -f pkg
> # pkg-static install -f pkg
> pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static install -f pkg" recommended
> Updating FreeBSD repository catalogue...
> pkg-static: Repository FreeBSD load error: access repo file(/var/db/pkg/repo-FreeBSD.sqlite) failed: No such file or directory
> pkg-static: http://pkg.FreeBSD.org/latest/meta.txz: Not Found
> repository FreeBSD has no meta file, using default settings
> pkg-static: http://pkg.FreeBSD.org/latest/packagesite.txz: Not Found
> Unable to update repository FreeBSD
> Error updating repositories!
> # uname -a
> FreeBSD mail 11.0-RELEASE-p9 FreeBSD 11.0-RELEASE-p9 #0: Tue Apr 11 08:42:58 UTC 2017     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
> # cat /usr/local/etc/pkg/repos/FreeBSD.conf 
>  FreeBSD: {
>   url: "pkg+http://pkg.FreeBSD.org//latest"
>  }
> # 
> 
> System is running currently, but I am hesitant to try to recompile packages at this point, which means my system is a bit in limbo right now as I can't really complete the process.

Did you create /usr/local/etc/pkg/repos/FreeBSD.conf? Why?

Check /etc/pkg/FreeBSD.conf for the correct URL:

$ grep url /etc/pkg/FreeBSD.conf
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",

--
Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87d18rndzq.wl-herbert>