Re: Problems with portupgrade or db
On Tue, 14 Oct 2008 09:35:55 -0700 Jeremy Chadwick [EMAIL PROTECTED] wrote: The Range Not Satisfiable errors are because your db-4.2.52.tar.gz is of an incorrect size (probably larger than what's on the source site). The last error (talking about modification time) could indicate that you have a clock which is severely skewed or incorrect in some way. Otherwise, if you're *absolutely 100% positive* all is well, then the issue could be one of the following: 1) The db-4.2.52.tar.gz tarball on the distribution sites has changed, 2) There is a proxy server between you and the distribution site which is caching data and returning bad stuff, 3) You're experiencing underlying corruption going on (network or disk), 4) Your ports tree is outdated or broken (some pieces are out of date while others are correct). Here's some evidence that things are indeed working (on my systems) how you'd expect -- everything matches up perfectly: $ wget -q http://download-east.oracle.com/berkeley-db/db-4.2.52.tar.gz $ md5 db-4.2.52.tar.gz MD5 (db-4.2.52.tar.gz) = 8b5cff6eb83972afdd8e0b821703c33c $ grep db-4.2.52.tar.gz /usr/ports/databases/db42/distinfo MD5 (bdb/db-4.2.52.tar.gz) = 8b5cff6eb83972afdd8e0b821703c33c SHA256 (bdb/db-4.2.52.tar.gz) = f4bddd8d1b4cde0daf5e13e3493ed62a25b736b0bf258e1d929e47bc6a82a28c SIZE (bdb/db-4.2.52.tar.gz) = 3919271 I got the tarball you mentioned and this one installed fine so it was probably changed. I had one of a different size. My clock seems fine too, it gets updated by a ntp daemon. But all seems to be working again so thanks for the help. Regards, Marco -- I think the sky is blue because it's a shift from black through purple to blue, and it has to do with where the light is. You know, the farther we get into darkness, and there's a shifting of color of light into the blueness, and I think as you go farther and farther away from the reflected light we have from the sun or the light that's bouncing off this earth, uh, the darker it gets ... I think if you look at the color scale, you start at black, move it through purple, move it on out, it's the shifting of color. We mentioned before about the stars singing, and that's one of the effects of the shifting of colors. -- Pat Robertson, The 700 Club ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with portupgrade or db
Hi, In an attempt to upgrade db42 to db47 I seem to have broken some things. If I try to portupgrade anything I get: ... #portupgrade -a ** Makefile possibly broken: www/gnome-user-share: /libexec/ld-elf.so.1: Shared object libdb-4.2.so.2 not found, required by libaprutil-1.so.3 [: -le: argument expected gnome-user-share-0.31_2 : Your apache does not support DSO modules /usr/local/sbin/portupgrade:1468:in `get_pkgname': Makefile broken (MakefileBrokenError) from /usr/local/sbin/portupgrade:622:in `main' from /usr/local/sbin/portupgrade:613:in `each' from /usr/local/sbin/portupgrade:613:in `main' from /usr/local/sbin/portupgrade:588:in `catch' from /usr/local/sbin/portupgrade:588:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1299:in `catch' ... 6 levels... from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' from /usr/local/sbin/portupgrade:229:in `new' from /usr/local/sbin/portupgrade:229:in `main' from /usr/local/sbin/portupgrade:2208 ... If I try to reinstall db42 (or anything else) I get the same error message. What can I do to make things work again? Thanks in advance, Marco -- Remember, if it's being done correctly, here or abroad, it's *not* the U.S. Army doing it! -- Good Morning, Vietnam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with portupgrade or db
--- On Tue, 10/14/08, Marco Beishuizen [EMAIL PROTECTED] wrote: From: Marco Beishuizen [EMAIL PROTECTED] Subject: Problems with portupgrade or db To: FreeBSD-Questions [EMAIL PROTECTED] Date: Tuesday, October 14, 2008, 8:08 AM Hi, In an attempt to upgrade db42 to db47 I seem to have broken some things. If I try to portupgrade anything I get: ... #portupgrade -a ** Makefile possibly broken: www/gnome-user-share: /libexec/ld-elf.so.1: Shared object libdb-4.2.so.2 not found, required by libaprutil-1.so.3 [: -le: argument expected gnome-user-share-0.31_2 : Your apache does not support DSO modules /usr/local/sbin/portupgrade:1468:in `get_pkgname': Makefile broken (MakefileBrokenError) from /usr/local/sbin/portupgrade:622:in `main' from /usr/local/sbin/portupgrade:613:in `each' from /usr/local/sbin/portupgrade:613:in `main' from /usr/local/sbin/portupgrade:588:in `catch' from /usr/local/sbin/portupgrade:588:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1299:in `catch' ... 6 levels... from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' from /usr/local/sbin/portupgrade:229:in `new' from /usr/local/sbin/portupgrade:229:in `main' from /usr/local/sbin/portupgrade:2208 ... If I try to reinstall db42 (or anything else) I get the same error message. What can I do to make things work again? Thanks in advance, Marco Have you tried installing db42 from ports manually? ie: (cd /usr/ports/databases/db42 make deinstall make clean make install make clean) If that doesn't work, perhaps try installing the db42 pkg from the FreeBSD ftp servers? Personally, I try to stay away from portupgrade or anything else that comes around claiming to make something easier that's already easy enough. ;) - mdh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with portupgrade or db
On Tue, 14 Oct 2008 17:18:36 +0200 Marco Beishuizen [EMAIL PROTECTED] wrote: The package is already present in /usr/ports/distfiles/bdb and when I download it manually I get the error above. No guarantee that this will work; however, at this point you have nothing to lose. 1) Empty the '/usr/ports/distfiles' directory 2) Run 'make clean' in /usr/ports/databases/db42 3) Run 'portsclean -CLPP' 4) Update your ports tree. Use whatever method works for you. 5) Run 'make install' and see what transpires. -- Jerry [EMAIL PROTECTED] I'd like to meet the guy who invented beer and see what he's working on now. signature.asc Description: PGP signature
Re: Problems with portupgrade or db
On Tue, Oct 14, 2008 at 05:18:36PM +0200, Marco Beishuizen wrote: On Tue, 14 Oct 2008 08:06:46 -0700 (PDT) mdh [EMAIL PROTECTED] wrote: Have you tried installing db42 from ports manually? ie: (cd /usr/ports/databases/db42 make deinstall make clean make install make clean) If that doesn't work, perhaps try installing the db42 pkg from the FreeBSD ftp servers? Personally, I try to stay away from portupgrade or anything else that comes around claiming to make something easier that's already easy enough. ;) - mdh Yes, I did try to install it manually but that results in: ... === Extracting for db42-4.2.52_5 = MD5 Checksum mismatch for bdb/db-4.2.52.tar.gz. = SHA256 Checksum mismatch for bdb/db-4.2.52.tar.gz. = MD5 Checksum OK for bdb/patch.4.2.52.1. = SHA256 Checksum OK for bdb/patch.4.2.52.1. = MD5 Checksum OK for bdb/patch.4.2.52.2. = SHA256 Checksum OK for bdb/patch.4.2.52.2. = MD5 Checksum OK for bdb/patch.4.2.52.3. = SHA256 Checksum OK for bdb/patch.4.2.52.3. = MD5 Checksum OK for bdb/patch.4.2.52.4. = SHA256 Checksum OK for bdb/patch.4.2.52.4. = MD5 Checksum OK for bdb/patch.4.2.52.5. = SHA256 Checksum OK for bdb/patch.4.2.52.5. === Refetch for 1 more times files: bdb/db-4.2.52.tar.gz bdb/db-4.2.52.tar.gz = db-4.2.52.tar.gz doesn't seem to exist in /usr/ports/distfiles/bdb. = Attempting to fetch from http://download-east.oracle.com/berkeley-db/. fetch: http://download-east.oracle.com/berkeley-db/db-4.2.52.tar.gz: Requested Range Not Satisfiable = Attempting to fetch from http://download-west.oracle.com/berkeley-db/. fetch: http://download-west.oracle.com/berkeley-db/db-4.2.52.tar.gz: Requested Range Not Satisfiable = Attempting to fetch from http://download-uk.oracle.com/berkeley-db/. fetch: http://download-uk.oracle.com/berkeley-db/db-4.2.52.tar.gz: Requested Range Not Satisfiable = Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/. fetch: db-4.2.52.tar.gz: local modification time does not match remote = Couldn't fetch it - please try to retrieve this = port manually into /usr/ports/distfiles/bdb and try again. *** Error code 1 Stop in /usr/ports/databases/db42. *** Error code 1 Stop in /usr/ports/databases/db42. ... The package is already present in /usr/ports/distfiles/bdb and when I download it manually I get the error above. The Range Not Satisfiable errors are because your db-4.2.52.tar.gz is of an incorrect size (probably larger than what's on the source site). The last error (talking about modification time) could indicate that you have a clock which is severely skewed or incorrect in some way. Otherwise, if you're *absolutely 100% positive* all is well, then the issue could be one of the following: 1) The db-4.2.52.tar.gz tarball on the distribution sites has changed, 2) There is a proxy server between you and the distribution site which is caching data and returning bad stuff, 3) You're experiencing underlying corruption going on (network or disk), 4) Your ports tree is outdated or broken (some pieces are out of date while others are correct). Here's some evidence that things are indeed working (on my systems) how you'd expect -- everything matches up perfectly: $ wget -q http://download-east.oracle.com/berkeley-db/db-4.2.52.tar.gz $ md5 db-4.2.52.tar.gz MD5 (db-4.2.52.tar.gz) = 8b5cff6eb83972afdd8e0b821703c33c $ grep db-4.2.52.tar.gz /usr/ports/databases/db42/distinfo MD5 (bdb/db-4.2.52.tar.gz) = 8b5cff6eb83972afdd8e0b821703c33c SHA256 (bdb/db-4.2.52.tar.gz) = f4bddd8d1b4cde0daf5e13e3493ed62a25b736b0bf258e1d929e47bc6a82a28c SIZE (bdb/db-4.2.52.tar.gz) = 3919271 -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with portupgrade or db
On Tue, 14 Oct 2008 08:06:46 -0700 (PDT) mdh [EMAIL PROTECTED] wrote: Have you tried installing db42 from ports manually? ie: (cd /usr/ports/databases/db42 make deinstall make clean make install make clean) If that doesn't work, perhaps try installing the db42 pkg from the FreeBSD ftp servers? Personally, I try to stay away from portupgrade or anything else that comes around claiming to make something easier that's already easy enough. ;) - mdh Yes, I did try to install it manually but that results in: ... === Extracting for db42-4.2.52_5 = MD5 Checksum mismatch for bdb/db-4.2.52.tar.gz. = SHA256 Checksum mismatch for bdb/db-4.2.52.tar.gz. = MD5 Checksum OK for bdb/patch.4.2.52.1. = SHA256 Checksum OK for bdb/patch.4.2.52.1. = MD5 Checksum OK for bdb/patch.4.2.52.2. = SHA256 Checksum OK for bdb/patch.4.2.52.2. = MD5 Checksum OK for bdb/patch.4.2.52.3. = SHA256 Checksum OK for bdb/patch.4.2.52.3. = MD5 Checksum OK for bdb/patch.4.2.52.4. = SHA256 Checksum OK for bdb/patch.4.2.52.4. = MD5 Checksum OK for bdb/patch.4.2.52.5. = SHA256 Checksum OK for bdb/patch.4.2.52.5. === Refetch for 1 more times files: bdb/db-4.2.52.tar.gz bdb/db-4.2.52.tar.gz = db-4.2.52.tar.gz doesn't seem to exist in /usr/ports/distfiles/bdb. = Attempting to fetch from http://download-east.oracle.com/berkeley-db/. fetch: http://download-east.oracle.com/berkeley-db/db-4.2.52.tar.gz: Requested Range Not Satisfiable = Attempting to fetch from http://download-west.oracle.com/berkeley-db/. fetch: http://download-west.oracle.com/berkeley-db/db-4.2.52.tar.gz: Requested Range Not Satisfiable = Attempting to fetch from http://download-uk.oracle.com/berkeley-db/. fetch: http://download-uk.oracle.com/berkeley-db/db-4.2.52.tar.gz: Requested Range Not Satisfiable = Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/. fetch: db-4.2.52.tar.gz: local modification time does not match remote = Couldn't fetch it - please try to retrieve this = port manually into /usr/ports/distfiles/bdb and try again. *** Error code 1 Stop in /usr/ports/databases/db42. *** Error code 1 Stop in /usr/ports/databases/db42. ... The package is already present in /usr/ports/distfiles/bdb and when I download it manually I get the error above. Regards, Marco -- Beauty and harmony are as necessary to you as the very breath of life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]