Hi BSD-Colleagues,
There is an issue I'm facing with:
- When I tried to migrate the jail to PKGNG by installing PKG from ports
ports-mgmt/pkg by using command:
I ran into the errors issue like:
By the time of running above command the /etc/make.conf has set
This is the Jail @ FreeBSD 8.3-STABLE.
Please, note, that parent Node has exactly the same FreeBSD 8.3-STABLE and it was migrated to PKGNG without any issues.
Any ideas on how to overcome the issue with migration to PKGNG are very appreciated.
Thank you in advance for your time and efforts for being involved in reading and posting answers.
There is an issue I'm facing with:
- When I tried to migrate the jail to PKGNG by installing PKG from ports
ports-mgmt/pkg by using command:
# cd /usr/ports/ports-mgmt/pkg && make UPGRADEPKG=1 install cleanI ran into the errors issue like:
Code:
===> License BSD2CLAUSE accepted by the user
=> pkg-1.3.8.tar.xz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/portmgr/pkg-1.3.8.tar.xz
pkg-1.3.8.tar.xz 100% of 1744 kB 3459 kBps
===> Fetching all distfiles required by pkg-1.3.8_2 for building
.........
................
CC pkg-update.o
CC pkg-updating.o
CC pkg-upgrade.o
CC pkg-utils.o
CC pkg-version.o
CC pkg-which.o
CCLD pkg
../libpkg/.libs/libpkg.so: undefined reference to `elf_getshdrstrndx'
../libpkg/.libs/libpkg.so: undefined reference to `archive_write_free'
../libpkg/.libs/libpkg.so: undefined reference to `archive_read_free'
*** Error code 1
Stop in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/src.
*** Error code 1
Stop in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8.
*** Error code 1
Stop in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8.
*** Error code 1
Stop in /usr/ports/ports-mgmt/pkg.
*** Error code 1
Stop in /usr/ports/ports-mgmt/pkg.
By the time of running above command the /etc/make.conf has set
Code:
WITHOUT_PKGNG=yes
This is the Jail @ FreeBSD 8.3-STABLE.
Please, note, that parent Node has exactly the same FreeBSD 8.3-STABLE and it was migrated to PKGNG without any issues.
Any ideas on how to overcome the issue with migration to PKGNG are very appreciated.
Thank you in advance for your time and efforts for being involved in reading and posting answers.
Last edited: