Quantcast
Channel: Installed incompatible pkg version, how to uninstall (or fix otherwise)? - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 2

Answer by JdeBP for Installed incompatible pkg version, how to uninstall (or fix otherwise)?

$
0
0

pkgng has several fallbacks:

  • There is a statically-linked version available as pkg-static.
  • You can run the install tool again by explicitly telling it to /usr/sbin/pkg bootstrap -f.

What you need to do is tell pkg to use the FreeBSD 10.1 repository. Because your configuration file says latest it is using the FreeBSD 10.3 repository, whose softwares contain various undefined references to library functions that are not found in 10.1 or earlier, including openat and utimensat. The 10.1 ABI is not forward compatible with 10.3.

You do this by altering the appropriate .conf file in /usr/local/etc/pkg/repos/ to say a specific release instead of latest, and then re-bootstrapping pkg.

Or you can compile your own in the ports tree. But you'll still be pulling other 10.3 software from latest if you do.

Further reading


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images