Re: Portupgrade failed - /var/db/pkg/pkgdb.db: unexpected file type or format
On Sunday 02 July 2006 08:37, Dominik Zalewski wrote: On Sunday 02 July 2006 16:35, Vlad GALU wrote: On 7/2/06, Dominik Zalewski [EMAIL PROTECTED] wrote: I'm using FreeBSD 6.1-stable . Today I updated my ports tree using cvsup and then I ran as usually portupgrade -a . It upgraded my portupgrade to version portupgrade-2.1.3.2,2. After that portupgrade stopped working. Here is an error message: [EMAIL PROTECTED] /]# portupgrade -a [Updating the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... [Updating the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!] Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ Removing pkgdb.db and INDEX-6.db and then rebuilding them with pkgdb and portsdb did the trick for me. Any ideas? Thank you in advance, Dominik Zalewski ___ Thanks man, alreadt fixed :) Regards, Dominik Zalewski Pretty good answers, but it may involve a little more work than that. This is what I did: mv /usr/ports/INDEX-6.db -- INDEX-6.db.org mv /var/db/pkg/pkgdb.db -- pkgdb.db.org pkg_delete portupgrade-2.1.3.1,2 pkg_delete ruby18-bdb-0.5.9 pkg_delete ruby18-bdb1-0.2.2 pkg_delete db4-4.0.14_1,1 pkg_delete db41-4.1.25_3 pkg_delete db42-4.2.52_4 I left db43-4.3.29, It would be needed later and reomoving it would cause too many other things to have to be rebuilt (or I get a bite in the ass if I don't). cd /usr/ports/sysutils/portupgrade make conf - select bdb4, it'll use db43 as that's what's installed make package-recursive pkgdb -Ffix the dependencies portversion -v |grep needs rebuilds portsdb (and rechecks pkgdb.db) and I find out what ports need upgrading. By the way, I don't use cvsup to upgrade the ports tree. I use portsnap. It's way faster than cvsup. When I used cvsup it could take up to 1/2 hr (depending on the computer speed) to get to the point of upgrading ports. Using portsnap, it only takes a couple of minutes to get to it. Don ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Your Online E-mail Address Change
On Friday 31 March 2006 10:26, Matthew Seaman wrote: David Rhodus wrote: How does this work ? client# ping 3645219926 PING 3645219926 (217.69.164.86): 56 data bytes 64 bytes from 217.69.164.86: icmp_seq=0 ttl=51 time=130.487 ms 64 bytes from 217.69.164.86: icmp_seq=1 ttl=51 time=131.695 ms It makes more sense in hex: lack-of-gravitas:~:% perl -e 'printf %x %x.%x.%x.%x\n, 3645219926, 217,69,164,86;' d945a456 d9.45.a4.56 It's just different ways of representing a 4 byte unsigned int. Cheers, Matthew Are you guys mucking around with someone's spam again? Or are you trying to figure out that IP address on it - because it's a different way of expressing it? Don ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4-PRERELEASE as cvsupdated today won't build, OS crashes
On Monday 28 February 2005 11:06 am, Robert Watson wrote: On Mon, 28 Feb 2005, O. Hartmann wrote: I did a cvsupdate several minutes before and tried to build world. A buildworld stops as shown below in building libkvm. This is believed to now be fixed with an updated kvm_proc.c. If not, please let me know. Also, the system is really instable after I build the kernel for itself. Under heavy load, the machine get stuck and freezes. I have no more informations due to remote control of the system. Do you have approximate before/after dates for when the instability began? In particular, was it with an update in the last 48 or 96 hours? Robert N M Watson Robert, If it helps you narrow things down, I did my last cvsup-src just before 11:22AM yesterday, 02/27/05. Everything was smooth sailing. My system appears stable. 25211 Feb 5 07:48 /usr/src/lib/libkvm/kvm_proc.c I use it mainly as a desktop, so it might not be real indicative how stable it is as a server. Don -- Donald J. O'Neill [EMAIL PROTECTED] I'm not totally useless, I can be used as a bad example. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ULE scheduler broken and not documented
On Wednesday 08 December 2004 04:21 pm, Nuno Teixeira wrote: Hello to all, I'm runinng RELENG_5 and I noticed that ULE scheduler is broken. Shouldn't this be documented in UPDATING? Thanks very much, Nuno Teixeira It's documented in errata: (1 Nov 2004) The ULE scheduler described in the release notes has been completely disabled to discourage its use because it has stability problems. Don -- Donald J. O'Neill [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]