Hey Guys!
Yesterday, I updatet our Blade Servers PKG to Version 1.13.2. However, when I try to upgrade a Package, PKG installs the new Version of the Package, delete the old one (I guess), freezes and won't finish. In our Jails however, PKG works fine.
I don't know whats the Problem is. Our blades have only fail2ban, iocage and its dependencies installed. The initial Install was FreeBSD 12.1-RELEASE.
Here an output of PKG in debug mode, trying to reinstall python-3.7.7
or perl5:
I am looking forward to any help.
-Tranalogic
Yesterday, I updatet our Blade Servers PKG to Version 1.13.2. However, when I try to upgrade a Package, PKG installs the new Version of the Package, delete the old one (I guess), freezes and won't finish. In our Jails however, PKG works fine.
I don't know whats the Problem is. Our blades have only fail2ban, iocage and its dependencies installed. The initial Install was FreeBSD 12.1-RELEASE.
Here an output of PKG in debug mode, trying to reinstall python-3.7.7
Code:
# pkg -d install -f python37
DBG(1)[76957]> pkg initialized
Updating FreeBSD repository catalogue...
DBG(1)[76957]> PkgRepo: verifying update for FreeBSD
DBG(1)[76957]> Pkgrepo, begin update of '/var/db/pkg/repo-FreeBSD.sqlite'
DBG(1)[76957]> Fetch: fetching from: http://pkgmir.geo.freebsd.org/FreeBSD:12:amd64/quarterly/meta.conf with opts "i"
DBG(1)[76957]> Fetch: fetching from: http://pkgmir.geo.freebsd.org/FreeBSD:12:amd64/quarterly/meta.txz with opts "i"
DBG(1)[76957]> Fetch: fetching from: http://pkgmir.geo.freebsd.org/FreeBSD:12:amd64/quarterly/packagesite.txz with opts "i"
FreeBSD repository is up to date.
All repositories are up to date.
DBG(1)[76957]> want to get an advisory lock on a database
DBG(1)[76957]> found stale pid 69634 in lock database, my pid is: 76957
DBG(1)[76957]> no concurrent processes found, cleanup the lock
DBG(1)[76957]> want to get an advisory lock on a database
DBG(1)[76957]> Binary> loading /var/cache/pkg/python37-3.7.7-6486f83221.txz
Checking integrity...DBG(1)[76957]> check integrity for 1 items added
done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):
Installed packages to be REINSTALLED:
python37-3.7.7
Number of packages to be reinstalled: 1
Proceed with this action? [y/N]: y
DBG(1)[76957]> want to upgrade advisory to exclusive lock
[1/1] Reinstalling python37-3.7.7...
[1/1] Extracting python37-3.7.7: 100%
DBG(1)[76957]> Cleaning up old version
or perl5:
Code:
# pkg -d install -f perl5
DBG(1)[77236]> pkg initialized
Updating FreeBSD repository catalogue...
DBG(1)[77236]> PkgRepo: verifying update for FreeBSD
DBG(1)[77236]> Pkgrepo, begin update of '/var/db/pkg/repo-FreeBSD.sqlite'
DBG(1)[77236]> Fetch: fetching from: http://pkgmir.geo.freebsd.org/FreeBSD:12:amd64/quarterly/meta.conf with opts "i"
DBG(1)[77236]> Fetch: fetching from: http://pkgmir.geo.freebsd.org/FreeBSD:12:amd64/quarterly/meta.txz with opts "i"
DBG(1)[77236]> Fetch: fetching from: http://pkgmir.geo.freebsd.org/FreeBSD:12:amd64/quarterly/packagesite.txz with opts "i"
FreeBSD repository is up to date.
All repositories are up to date.
DBG(1)[77236]> want to get an advisory lock on a database
DBG(1)[77236]> found stale pid 76957 in lock database, my pid is: 77236
DBG(1)[77236]> no concurrent processes found, cleanup the lock
DBG(1)[77236]> want to get an advisory lock on a database
DBG(1)[77236]> Binary> loading /var/cache/pkg/perl5-5.30.2-1dc1f8bd5e.txz
Checking integrity...DBG(1)[77236]> check integrity for 1 items added
done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):
Installed packages to be REINSTALLED:
perl5-5.30.2
Number of packages to be reinstalled: 1
Proceed with this action? [y/N]: y
DBG(1)[77236]> want to upgrade advisory to exclusive lock
[1/1] Reinstalling perl5-5.30.2...
[1/1] Extracting perl5-5.30.2: 100%
DBG(1)[77236]> Cleaning up old version
DBG(1)[77236]> Adding to deletion usr/local/lib/perl5/site_perl/man/man3/
DBG(1)[77236]> Adding to deletion usr/local/lib/perl5/site_perl/man/man1/
DBG(1)[77236]> Adding to deletion usr/local/lib/perl5/site_perl/mach/5.30/auto/
DBG(1)[77236]> Adding to deletion usr/local/lib/perl5/site_perl/auto/
DBG(1)[77236]> Number of packages owning the directory '/usr/local/lib/perl5/site_perl/man/man3': 1
DBG(1)[77236]> Number of packages owning the directory '/usr/local/lib/perl5/site_perl/man/man1': 1
DBG(1)[77236]> Number of packages owning the directory '/usr/local/lib/perl5/site_perl/mach/5.30/auto': 1
DBG(1)[77236]> Number of packages owning the directory '/usr/local/lib/perl5/site_perl/auto': 1
I am looking forward to any help.
-Tranalogic