I have updated ruby yesterday and now I get stale locks in pkg_deinstall.
Today I have done:
portsnap fetch
portsnap update
pkgdb -F
portversion -Fv (all uptodate)
portupgrade -fRr ruby-1.8.7.160,1
But still:
[r...@dragon /usr/ports]# pkg_deinstall libassuan-1.0.5
---> Deinstalling 'libassuan-1.0.5'
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1111 packages
found (-1 +0) (...) done]
[r...@dragon /usr/ports]# pkg_deinstall libcddb-1.3.0
---> Deinstalling 'libcddb-1.3.0'
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... ** Database file
locked. Waiting.
** Stale lock file was found. Removed.
- 1110 packages found (-1 +0) (...) done]
[r...@dragon /usr/ports]# pkg_deinstall libdca-0.0.5
---> Deinstalling 'libdca-0.0.5'
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... ** Database file
locked. Waiting.
** Stale lock file was found. Removed.
- 1109 packages found (-1 +0) (...) done]
If I run pkgdb -F again, I can deinstall whitout waiting
for the stale lock. (But I have to wait for pkgdb:()
[r...@dragon /usr/ports]# pkgdb -F
---> Checking the package registry database
[r...@dragon /usr/ports]# pkg_deinstall libexif-0.6.17
---> Deinstalling 'libexif-0.6.17'
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1108 packages
found (-1 +0) (...) done]
[r...@dragon /usr/ports]# pkg_deinstall libglut-7.4.2_1
---> Deinstalling 'libglut-7.4.2_1'
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... ** Database file
locked. Waiting.
** Stale lock file was found. Removed.
- 1107 packages found (-1 +0) (...) done]
Some thing is broken in ruby or portupgrupdate.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"