keeping up with pkg after major OS upgrade
Ben Woods
woodsb02 at gmail.com
Tue Nov 15 11:27:37 UTC 2016
On 15 November 2016 at 18:10, Christoph P.U. Kukulies <kuku at kukulies.org>
wrote:
> Sorry, I sent an html-email. Here is the raw text:
>
> I upgraded my a bit older 9.2 via 10.0->10.3->11.0-RELEASE.
>
>
> Now it seems that my ports and packages seem outdated.
>
> How can I keep up and make my system in sync with the presence?
>
>
> root at myrouter:~ # pkg install isc-dhcp41-server
> pkg: Warning: Major OS version upgrade detected. Running "pkg-static
> install -f pkg" recommended
> Updating FreeBSD repository catalogue...
> Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
> Fetching packagesite.txz: 100% 6 MiB 641.6kB/s 00:09
> Processing entries: 100%
> FreeBSD repository update completed. 25385 packages processed.
> Updating database digests format: 100%
> New version of pkg detected; it needs to be installed first.
> The following 1 package(s) will be affected (of 0 checked):
>
> Installed packages to be UPGRADED:
> pkg: 1.8.7_1 -> 1.8.8
>
> Number of packages to be upgraded: 1
>
> The process will require 2 MiB more space.
> 3 MiB to be downloaded.
>
> Proceed with this action? [y/N]: y
> Fetching pkg-1.8.8.txz: 100% 3 MiB 660.8kB/s 00:04
> Checking integrity... done (0 conflicting)
> [1/1] Upgrading pkg from 1.8.7_1 to 1.8.8...
> [1/1] Extracting pkg-1.8.8: 100%
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up-to-date.
> All repositories are up-to-date.
> pkg: No packages available to install matching 'isc-dhcp41-server' have
> been found in the repositories
> root at myrouter:~ #
>
> --
>
> Christoph
pkg has correctly upgraded itself, but now it can't find the package you
are trying to install.
The reason is because the package no longer exists, as a newer package has
replaced it.
Try:
$ pkg search isc-dhcp
Alternatively you can search on FreshPorts here:
http://www.freshports.org/search.php?query=isc-dhcp&search=go&num=10&stype=name&method=match&deleted=excludedeleted&start=1&casesensitivity=caseinsensitive
What you will want is:
# pkg install isc-dhcp43-server
Good luck!
Regards,
Ben
More information about the freebsd-questions
mailing list