pkgdb problem after portupgrade - operation not permitted

Andrey Slusar anrays at gmail.com
Mon Jun 19 12:57:26 UTC 2006


Mon, 19 Jun 2006 14:29:17 +0200, Max Belushkin wrote:

> I just portupgrade'd portupgrade on a FreeBSD 6.0-RELEASE to
> portupgrade 2.0.1 (2006/06/18), and right after this pkgdb fails on
> all operations, i.e.:
> pkgdb -fu
> [Rebuilding the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 63
> packages found (-0 +63)
> Operation not permitted: skipping...
> .
> Operation not permitted: skipping...
> .
> ... etc.
> Operation not permitted: Cannot update the pkgdb!]

> Naturally, portupgrade itself now fails to do anything. I've googled
> for the "Operation not permitted" error in pkgdb, but I could not find
> any useful pointers to the source of the problem. Any help is much
> appreciated.

 Now portupgarde is back to stable 2.1.1 version. Update you ports
tree.
,----
| Subject: cvs commit: ports/sysutils/portupgrade Makefile distinfo
|          ports/sysutils/portupgrade/files patch-bin-portsclean patch-bin-portupgrade
|          patch-lib-pkgdb.rb patch-lib-pkgtools.rb
| From: Sergey Matveychuk <sem at FreeBSD.org>
| To: ports-committers at FreeBSD.org, cvs-ports at FreeBSD.org, cvs-all at FreeBSD.org
| X-Sent: 11 minutes, 17 seconds ago
| 
| sem         2006-06-19 12:41:58 UTC
| 
|   FreeBSD ports repository
| 
|   Modified files:
|     sysutils/portupgrade Makefile distinfo 
|   Added files:
|     sysutils/portupgrade/files patch-lib-pkgtools.rb 
|   Removed files:
|     sysutils/portupgrade/files patch-bin-portsclean 
|                                patch-bin-portupgrade 
|                                patch-lib-pkgdb.rb 
|   Log:
|   - Roll back to stable 2.1.1 version.
|     I'd like to wait a repocopy but marcus seems will unaccessible for a week.
|   
|   Revision  Changes    Path
|   1.224     +4 -5      ports/sysutils/portupgrade/Makefile
|   1.164     +3 -3      ports/sysutils/portupgrade/distinfo
|   1.3       +0 -11     ports/sysutils/portupgrade/files/patch-bin-portsclean (dead)
|   1.6       +0 -28     ports/sysutils/portupgrade/files/patch-bin-portupgrade (dead)
|   1.2       +0 -25     ports/sysutils/portupgrade/files/patch-lib-pkgdb.rb (dead)
|   1.1       +20 -0     ports/sysutils/portupgrade/files/patch-lib-pkgtools.rb (new)
`----

-- 
Andrey Slusar


More information about the freebsd-questions mailing list