Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2017 13:14:54 -0500
From:      Erdos New <shaojwen@aim.com>
To:        franco@lastsummer.de
Cc:        freebsd-pkg@freebsd.org
Subject:   Re: pkg :   Undefined symbol "openat"
Message-ID:  <15974fd9b76-4ea4-3d956@webprd-m20.mail.aol.com>
In-Reply-To: <48F1944E-B6D3-440B-AD08-FCB76993357F@lastsummer.de>

next in thread | previous in thread | raw e-mail | index | archive | help
for now i'd like to stay with 10.1 instead of upgrading to 10.3.  

how do i rebuild 'pkg' from ports tree?

is this the section to follow?   
https://www.freebsd.org/doc/handbook/ports-using.html

 

thanks
erdos



 

 

-----Original Message-----
From: Franco Fichtner <franco@lastsummer.de>
To: Erdos New <shaojwen@aim.com>
Cc: freebsd-pkg <freebsd-pkg@freebsd.org>
Sent: Fri, Jan 6, 2017 2:18 am
Subject: Re: pkg :   Undefined symbol "openat"

Hi,

> On 6 Jan 2017, at 12:30 AM, Erdos New via freebsd-pkg <freebsd-pkg@freebsd.org> wrote:
> 
> hi, i'm trying to install a pkg on my freebsd10.1 system.

You've upgraded to pkg built on a newer FreeBSD 10.3, which is
incompatible with your 10.1, because the former has gone EOL
and pkg automatically adapts to the system it was built on.

Quick fix is to build pkg from the ports tree, then do:

# pkg lock pkg

to prevent further upgrade attempts of said package.  Similar
things can happen with other packages from now on, so you either

(a) build your own packages from a 10.1 system, or
(b) upgrade your system to 10.3.


Cheers,
franco
_______________________________________________
freebsd-pkg@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pkg
To unsubscribe, send any mail to "freebsd-pkg-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15974fd9b76-4ea4-3d956>