Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2016 19:27:36 +0800
From:      Ben Woods <woodsb02@gmail.com>
To:        "Christoph P.U. Kukulies" <kuku@kukulies.org>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: keeping up with pkg after major OS upgrade
Message-ID:  <CAOc73CAY5CZecPky6kbN9x6Gy7_HnyLdTuu-E+LWji3=aP1BMA@mail.gmail.com>
In-Reply-To: <64e1ad7b-dffa-5446-d27a-ab6d7923ffd6@kukulies.org>
References:  <1938b471-0e90-8cd8-4095-e2cae6ed3603@kukulies.org> <64e1ad7b-dffa-5446-d27a-ab6d7923ffd6@kukulies.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 15 November 2016 at 18:10, Christoph P.U. Kukulies <kuku@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@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@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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAOc73CAY5CZecPky6kbN9x6Gy7_HnyLdTuu-E+LWji3=aP1BMA>