Re: Problem with pkgdb

2006-07-05 Thread bsd

In order to solve the problem, I had to rebuild the ruby-bdb port.


Sincerly yours.


Le 4 juil. 06 à 18:19, jan gestre a écrit :




On 7/4/06, bsd [EMAIL PROTECTED] wrote: Hello,

I have a problem with pkgdb that I am not able to solve on my own.

root:newmail 10:26 /usr/ports/sysutils/portupgrade # pkgdb -fu
---  Updating the pkgdb
[Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ...
uninitialized constant PkgDB::BDB: Cannot update the pkgdb!]

So far I have tried to reinstall couple of ports (portupgrade), but
that didn't solve anything.


Thanks for your support.


P.S . A solution was to use portmanager but I think I still need pkgdb
- is that correct ??

i had a similar problem regarding portupgrade, it corrupted the  
pkgdb, what i did was rename pkgdb.db to pkgdb.orig then run:


# pkgdb -fu

and everything went normal again



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with pkgdb

2006-07-04 Thread Gerard Seibert
bsd wrote:

 Hello,
 
 I have a problem with pkgdb that I am not able to solve on my own.
 
 root:newmail 10:26 /usr/ports/sysutils/portupgrade # pkgdb -fu
 ---  Updating the pkgdb
 [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ...  
 uninitialized constant PkgDB::BDB: Cannot update the pkgdb!]
 
 So far I have tried to reinstall couple of ports (portupgrade), but  
 that didn't solve anything.
 
 
 Thanks for your support.
 
 
 P.S. A solution was to use portmanager but I think I still need pkgdb  
 - is that correct ??

No, 'pkgdb' is not required.

-- 
Gerard Seibert
[EMAIL PROTECTED]



We aim above the mark to hit the mark.

 Ralph Waldo Emerson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with pkgdb

2006-07-04 Thread jan gestre

On 7/4/06, bsd [EMAIL PROTECTED] wrote:


Hello,

I have a problem with pkgdb that I am not able to solve on my own.

root:newmail 10:26 /usr/ports/sysutils/portupgrade # pkgdb -fu
---  Updating the pkgdb
[Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ...
uninitialized constant PkgDB::BDB: Cannot update the pkgdb!]

So far I have tried to reinstall couple of ports (portupgrade), but
that didn't solve anything.


Thanks for your support.


P.S . A solution was to use portmanager but I think I still need pkgdb
- is that correct ??

i had a similar problem regarding portupgrade, it corrupted the pkgdb,

what i did was rename pkgdb.db to pkgdb.orig then run:

# pkgdb -fu

and everything went normal again
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with 'pkgdb -F'

2005-04-05 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-04-05, Sergei Gnezdov scribbled these
curious markings:
 Here is the interaction with pkgdb.  If I start 'pkgdb -F' after
 running it once, the process will repeat itself.

 owl2-root % pkgdb -F
 ---  Checking the package registry database
 Stale origin: 'multimedia/nautilus-media': perhaps moved or obsoleted.
 - The port 'multimedia/nautilus-media' was removed on 2005-03-12 because:

The first thing that you need to do is read UPDATING. The second thing
that you need to do is read UPDATING. The third thing that you need to
do you should know, because you've read UPDATING (but here's a hint, it
has something to do with nautilus-media). Not reading UPDATING is a very
good way of breaking your ports tree. I'm fairly certain that this is
(part of) the reason for why you've had so many problems.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCUq8kk/lo7zvzJioRAsIQAJ9psqLYOseMfNkpGDMfE94e/RsROACfeoJI
cglMQ6uFBTSKmD177Voh124=
=yOAK
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with pkgdb

2004-03-23 Thread Matthew Seaman
On Tue, Mar 23, 2004 at 12:07:06PM -0500, Brian McCann wrote:
 I've got an urgent problem that needs fixing...and i'm stuck.  One of
 the admins on one of our servers decided to delete the /var/db/pkg
 directory.  I tried rebuilding it using pkfdb -Fu, and it returned
 nothing.  Is there a way to recover from this...aside from backups?

pkgdb -Fu scans the contents of /var/db/pkg to build its package
database.

Either use your backups, or re-install all of the ports you've got on
that machine.  However, that's harder to do than it sounds, as
/var/db/pkg is what would be consulted to see exactly what ports
are installed on the machine.

On the plus side, losing /var/db/pkg doesn't affect the day to day
operation of the system, so you can repair this at your leisure.
Perhaps delegate the job of working out what ports were installed on
that box to the admin who broke it, as an object lesson in the
consequences of being too quick with the rm(1) command...

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature