Re: portupgrade broken?
On Wednesday 08 September 2004 02:28 pm, Mark Rowlands wrote: Updating the ports index ... Generating INDEX.tmp - please wait..Warning: Duplicate INDEX entry: freeciv-gtk2-1.14.1 Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.2 Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5 Done. done [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11733 port entries found .1000.2000.3000.4000.5000... ..6000.7000.8000/usr/local/lib/ruby/site_ruby/1.8/po rtsdb.rb:587: [BUG] Bus Error ruby 1.8.2 (2004-07-29) [i386-freebsd4] got the above on 4-10 with portsdb -uU recvsupped ports ...got same reinstalled portupgrade . got same removed /usr/ports/ removed refuse files, cvsupped , got same any thoughts? Visit an archive of ports@ and do a search on PORTS_DBDRIVER. Then choose your way of solving the problem. I set the environmental PORTS_DBDRIVER=bdb1_hash and it seems to work just fine. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html Support the Bison at http://www.buffalofieldcampaign.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade, portsdb -U failing, ruby dumping core
On Thursday 02 September 2004 04:02 pm, Dan Finn [EMAIL PROTECTED] wrote: On Thu, 2 Sep 2004 23:22:26 +0100, Steve Hodgson [EMAIL PROTECTED] wrote: On Thursday 02 September 2004 19:34, Dan Finn wrote: [ root @ stewie : /usr/ports/sysutils/portupgrade] : portupgrade ruby [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11725 port entries found .1000.2000.3000.4000.5000 .6 000.7000.8000/usr/local/lib/ruby/site_ruby/1. 8/portsdb.r b:587: [BUG] Bus Error ruby 1.8.1 (2004-05-02) [i386-freebsd5] I have just had the same thing happen to me, and I'm unable to fix it by using pkgdb or portsdb. I just portupgraded kde3 using the instructions in /usr/ports/UPDATING and also updated the nvidia drivers. I'm running FreeBSD 5.2.1-p9. --- Checking the package registry database Stale dependency: gnome2-2.6.2 - nvidia-driver-1.0.6113 (x11/nvidia-driver): [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11726 port entries found .1000.2000.3000.4000.5000.. ...6000.7000.8000/usr/local/lib/ruby/site_ru by/1.8/portsdb.rb:587: [BUG] Bus Error ruby 1.8.2 (2004-07-29) [i386-freebsd5] Abort trap (core dumped) Any ideas, or suggestions appreciated. I ended up having to move /usr/ports out of the way and doing a fresh cvsup. I am not sure why but this fixed it. I tried this and still got the same error. Mine isn't choking on nvidia-driver, though. Also tried reinstalling ruby, still the same error. - jt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade, portsdb -U failing, ruby dumping core
[ Maintainer of lang/ruby18 amd sysutils/portupgrade CC'd ] On Fri, Sep 03, 2004 at 02:05:40AM -0700, Joshua Tinnin wrote: On Thursday 02 September 2004 04:02 pm, Dan Finn [EMAIL PROTECTED] wrote: On Thu, 2 Sep 2004 23:22:26 +0100, Steve Hodgson [EMAIL PROTECTED] wrote: On Thursday 02 September 2004 19:34, Dan Finn wrote: [ root @ stewie : /usr/ports/sysutils/portupgrade] : portupgrade ruby [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11725 port entries found .1000.2000.3000.4000.5000 .6 000.7000.8000/usr/local/lib/ruby/site_ruby/1. 8/portsdb.r b:587: [BUG] Bus Error ruby 1.8.1 (2004-05-02) [i386-freebsd5] I have just had the same thing happen to me, and I'm unable to fix it by using pkgdb or portsdb. I just portupgraded kde3 using the instructions in /usr/ports/UPDATING and also updated the nvidia drivers. I'm running FreeBSD 5.2.1-p9. --- Checking the package registry database Stale dependency: gnome2-2.6.2 - nvidia-driver-1.0.6113 (x11/nvidia-driver): [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11726 port entries found .1000.2000.3000.4000.5000.. ...6000.7000.8000/usr/local/lib/ruby/site_ru by/1.8/portsdb.rb:587: [BUG] Bus Error ruby 1.8.2 (2004-07-29) [i386-freebsd5] Abort trap (core dumped) Any ideas, or suggestions appreciated. I ended up having to move /usr/ports out of the way and doing a fresh cvsup. I am not sure why but this fixed it. I tried this and still got the same error. Mine isn't choking on nvidia-driver, though. Also tried reinstalling ruby, still the same error. Ditto: 'portsdb -u' dumps core. On FreeBSD 4.10, and without KDE or the like installed: % uname -a FreeBSD happy-idiot-talk.infracaninophile.co.uk 4.10-STABLE FreeBSD 4.10-STABLE #81: Sat Aug 28 17:10:47 BST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 Which suggests it's something in the INDEX file around line 8400-ish that portsdb can't cope with -- and it's a change since about 09:00 BST yesterday, when portsdb worked as intended. I can't see anything obviously wrong in the backtrace I got from the coredump though: #0 0x2819ac0c in kill () from /usr/lib/libc.so.4 No symbol table info available. #1 0x281dda65 in abort () from /usr/lib/libc.so.4 No symbol table info available. #2 0x2808b805 in rb_bug (fmt=0x28118f50 Segmentation fault) at error.c:214 buf = /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: \000\000\203\t(\021(+\000\000\000l\a\b8+\000\000\000\2348\001\000\000\000\004\000\000\000\214C\b\001\000\000\000(\000\000\000\0008\001\000\000\000_7\000\0009\000\000_\a\b\000\000\000\000\f\215C\b\001\000\000\000\210L\001\000\000L\001\000\000S\a\bL\000\000\000\000\220\000\000\000\000\000\000\000\000t [EMAIL PROTECTED](... out = (FILE *) 0x281e97f0 len = 50 #3 0x280efeca in sigsegv (sig=11) at signal.c:446 No locals. #4 0xbfbfffac in ?? () No symbol table info available. #5 0x281d207f in __bt_put () from /usr/lib/libc.so.4 No symbol table info available. #6 0x28214ef6 in bdb1_put () from /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd4/bdb1.so No symbol table info available. #7 0x28214f5d in bdb1_assign () from /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd4/bdb1.so No symbol table info available. #8 0x28098b6d in rb_call0 (klass=136611476, recv=136550876, id=333, oid=333, argc=2, argv=0xbfbfb308, body=0x82484b4, nosuper=0) at eval.c:5411 func = (VALUE (*)()) 0x28214f2c bdb1_assign recv = 136550876 len = 2 argc = 2 argv = (VALUE *) 0xbfbfb308 len = 2 _frame = {self = 136550876, argc = 2, argv = 0xbfbfb308, last_func = 333, orig_func = 333, last_class = 136611476, prev = 0xbfbfba0c, tmp = 0x0, node = 0x8116980, iter = 0, flags = 0, uniq = 2127051} _iter = {iter = 0, prev = 0xbfbfb9b0} nosuper = 0 b2 = (NODE *) 0x281ddcfd result = 4 itr = 673271596 tick = 2126983 #9 0x28099618 in rb_call (klass=136611476, recv=136550876, mid=333, argc=2, argv=0xbfbfb308, scope=0) at eval.c:5757 mid = 333 body = (NODE *) 0x82484b4 noex = 0 id = 333 ent = (struct cache_entry *) 0x298 #10 0x2809377b in rb_eval (self=136603516, n=0x81171b4) at eval.c:3239 recv = 136550876 argc = 2 argv = (VALUE *) 0xbfbfb308 scope = 0 n = (NODE *) 0x0 contnode = (NODE *) 0x8116840 node = (NODE *) 0x8116980
Re: portupgrade, portsdb -U failing, ruby dumping core
On Thursday 02 September 2004 02:34 pm, Dan Finn wrote: [ root @ stewie : /usr/ports/sysutils/portupgrade] : portupgrade ruby [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11725 port entries found .1000.2000.3000.4000.5000.6 000.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.r b:587: [BUG] Bus Error ruby 1.8.1 (2004-05-02) [i386-freebsd5] Abort trap (core dumped) Any ideas what could be causing this? I recently installed portindex and have been using that to generate indexes after reading someone suggestion on one of the fbsd mailing lists. I don't think I have made any other changes recently. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I hate to add a me too, but, well, me too. I'm running 5.2.1-RELEASE, not running portindex, and didn't have trouble until the instructions from /usr/ports/UPDATING. Haven't tried to move and re-cvsup /usr/ports. Anyone else have success via this route? Evan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: portupgrade, portsdb -U failing, ruby dumping core
I hate to add a me too, but, well, me too. I'm running 5.2.1-RELEASE, not running portindex, and didn't have trouble until the instructions from /usr/ports/UPDATING. Haven't tried to move and re-cvsup /usr/ports. Anyone else have success via this route? Evan Nope, didn't work for me I've deinstalled kde,gnome,ruby and portupgrade (and now reinstalled them). I've removed the ports tree and that didn't work. Given that it appears to be a problem in the ports tree (someone [sorry, I've deleted the email] said they have narrowed it down), I was planning on leaving it for now and just cvsupping regularly. Not much help I guess Steve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade, portsdb -U failing, ruby dumping core
On Fri, Sep 03, 2004 at 08:18:04PM +0100, Steve Hodgson wrote: I've removed the ports tree and that didn't work. Given that it appears to be a problem in the ports tree (someone [sorry, I've deleted the email] said they have narrowed it down), I was planning on leaving it for now and just cvsupping regularly. That would be me: http://lists.freebsd.org/pipermail/freebsd-ports/2004-September/015847.html It's an odd one all right -- whatever it is that is blowing portsdb's tiny mind is not at all obvious. There doesn't appear to be any problems with any of the ports modified around the time that ruby started dumping core. 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 pgpwPD0KyJnsi.pgp Description: PGP signature
Re: portupgrade, portsdb -U failing, ruby dumping core
On Friday 03 September 2004 12:38 pm, Matthew Seaman wrote: On Fri, Sep 03, 2004 at 08:18:04PM +0100, Steve Hodgson wrote: I've removed the ports tree and that didn't work. Given that it appears to be a problem in the ports tree (someone [sorry, I've deleted the email] said they have narrowed it down), I was planning on leaving it for now and just cvsupping regularly. That would be me: http://lists.freebsd.org/pipermail/freebsd-ports/2004-September/015847.html It's an odd one all right -- whatever it is that is blowing portsdb's tiny mind is not at all obvious. There doesn't appear to be any problems with any of the ports modified around the time that ruby started dumping core. I am only seeing it on 5.3-beta. I use portindex to genereate INDEX on my 4.x machines and ruby isn't dumping on them. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html Support the Bison at http://www.buffalofieldcampaign.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade, portsdb -U failing, ruby dumping core
Hey Kent, I am only seeing it on 5.3-beta. I use portindex to genereate INDEX on my 4.x machines and ruby isn't dumping on them. One of my 4.10-p2 servers exhibited the same behaviour with portsdb -u (after 'make index' in /usr/ports). Haven't touched the rest, yet... ;-) Kaboom, it said... Nico ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade, portsdb -U failing, ruby dumping core
On Friday 03 September 2004 01:04 pm, Nico Meijer wrote: Hey Kent, I am only seeing it on 5.3-beta. I use portindex to genereate INDEX on my 4.x machines and ruby isn't dumping on them. One of my 4.10-p2 servers exhibited the same behaviour with portsdb -u (after 'make index' in /usr/ports). Haven't touched the rest, yet... ;-) Kaboom, it said... Nico I have been following the comments. I thought that is was strange that it only happended for me on 5.3-beta. I have a very different mix of ports on 5.x and your environment affects the make index. My cvsup mirror updates at 30 minutes after the hour on the odd numbered hours and so what I was using was the same mirror state on 4.x and 5.x. FWIW, a make fetchindex on 5.x also died. Something has happened that is beyond Kris' test script. kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html Support the Bison at http://www.buffalofieldcampaign.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade, portsdb -U failing, ruby dumping core
On Friday 03 September 2004 01:04 pm, Nico Meijer [EMAIL PROTECTED] wrote: Hey Kent, I am only seeing it on 5.3-beta. I use portindex to genereate INDEX on my 4.x machines and ruby isn't dumping on them. One of my 4.10-p2 servers exhibited the same behaviour with portsdb -u (after 'make index' in /usr/ports). Haven't touched the rest, yet... ;-) Kaboom, it said... Nico FYI, I'm running 5.2.1-RELEASE-p9. Still getting the error from a cvsup done at 9am today, as well as last night. Don't have time to do another at the moment, but hope someone can figure this out. - jt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade, portsdb -U failing, ruby dumping core
On Fri, Sep 03, 2004 at 10:29:23PM -0500, Jeff Hinrichs wrote: Dan Finn wrote: snip I thought I had seen an email to the list that the bug was found; and a fix committed. I waited a couple of hours, ran make update, etcetera; and this resulted: # portsdb -Uu Updating the ports index ... Generating INDEX.tmp - please wait.. Done. done [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11736 port entries found .1000.2000.3000.4000.5000.6000.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: [BUG] Bus Error ruby 1.8.2 (2004-07-29) [i386-freebsd4] Abort (core dumped) Anyway, it's near 12:30 EST; that's about 4:30 or so UTC/GMT. I'd file a bug report; but it seems redundant at this point. And I'm not sure where I would send it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade, portsdb -U failing, ruby dumping core
On Thursday 02 September 2004 19:34, Dan Finn wrote: [ root @ stewie : /usr/ports/sysutils/portupgrade] : portupgrade ruby [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11725 port entries found .1000.2000.3000.4000.5000.6 000.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.r b:587: [BUG] Bus Error ruby 1.8.1 (2004-05-02) [i386-freebsd5] I have just had the same thing happen to me, and I'm unable to fix it by using pkgdb or portsdb. I just portupgraded kde3 using the instructions in /usr/ports/UPDATING and also updated the nvidia drivers. I'm running FreeBSD 5.2.1-p9. --- Checking the package registry database Stale dependency: gnome2-2.6.2 - nvidia-driver-1.0.6113 (x11/nvidia-driver): [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11726 port entries found .1000.2000.3000.4000.5000.6000.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: [BUG] Bus Error ruby 1.8.2 (2004-07-29) [i386-freebsd5] Abort trap (core dumped) Any ideas, or suggestions appreciated. Steve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade, portsdb -U failing, ruby dumping core
I ended up having to move /usr/ports out of the way and doing a fresh cvsup. I am not sure why but this fixed it. On Thu, 2 Sep 2004 23:22:26 +0100, Steve Hodgson [EMAIL PROTECTED] wrote: On Thursday 02 September 2004 19:34, Dan Finn wrote: [ root @ stewie : /usr/ports/sysutils/portupgrade] : portupgrade ruby [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11725 port entries found .1000.2000.3000.4000.5000.6 000.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.r b:587: [BUG] Bus Error ruby 1.8.1 (2004-05-02) [i386-freebsd5] I have just had the same thing happen to me, and I'm unable to fix it by using pkgdb or portsdb. I just portupgraded kde3 using the instructions in /usr/ports/UPDATING and also updated the nvidia drivers. I'm running FreeBSD 5.2.1-p9. --- Checking the package registry database Stale dependency: gnome2-2.6.2 - nvidia-driver-1.0.6113 (x11/nvidia-driver): [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11726 port entries found .1000.2000.3000.4000.5000.6000.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: [BUG] Bus Error ruby 1.8.2 (2004-07-29) [i386-freebsd5] Abort trap (core dumped) Any ideas, or suggestions appreciated. Steve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade, portsdb -U failing, ruby dumping core
On Thursday, September 02, 2004 4:30:57 PM Dan Finn [EMAIL PROTECTED] wrote: |Date: Thu, 2 Sep 2004 11:34:44 -0700 |From: Dan Finn [EMAIL PROTECTED] |Subject: portupgrade, portsdb -U failing, ruby dumping core |To: FreeBSD-Questions [EMAIL PROTECTED] |Message-ID: [EMAIL PROTECTED] |Content-Type: text/plain; charset=US-ASCII | |[ root @ stewie : /usr/ports/sysutils/portupgrade] : portupgrade ruby |[Failed `Inappropriate file type or format'] [Updating the portsdb |format:bdb1_btree in /usr/ports ... - 11725 port entries found |1000.2000.3000.4000.5000.6000.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: |[BUG] Bus Error |ruby 1.8.1 (2004-05-02) [i386-freebsd5] | |Abort trap (core dumped) | |Any ideas what could be causing this? I recently installed portindex |and have been using that to generate indexes after reading someone |suggestion on one of the fbsd mailing lists. I don't think I have |made any other changes recently. ** Reply Separator ** Thursday, September 02, 2004 7:15:17 PM I am having the exact same problem. I thought it was just me. Unfortunately, my system has become so unstable that I may have to dump it and start over. Gerard Seibert [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade killed everytime
Try running it using strace, such as strace portupgrade vim and see what it's doing. I checked my kernel and found the PROCFS and PSUEDOFS options were in there. I have added this line to my fstab: proc/procprocfs rw00 I no longer see this message: # strace portupgrade vim strace: open(/proc/..., ...): No such file or directory trouble opening proc file (Google was my friend here!) However, my problems seem far from over. When I run strace now (e.g. strace -o /root/strace.out portupgrade vim), nothing happens. Typing 'top' shows this line: PID USER PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 829 root 96 01352K 696K STOP0:00 0.00% 0.00% strace or sometimes it looks like this: 838 root 8 01356K 704K pioctl 0:00 0.00% 0.00% strace but the strace tool just doesn't want to generate any output. Strangely, I don't even see ruby appear in the top output when I use strace. Please guys, I would be so grateful if someone could offer me any advice or suggestions on this. Kind regards, James. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade killed everytime
Adam Smith wrote: Try running it using strace, such as strace portupgrade vim and see what it's doing. Sorry I didn't get a chance to reply yesterday. I now have the strace port installed but have hit a small problem (as mentioned by Joshua Tinnin). I'm not familiar with strace either and is the error I see: # strace portupgrade vim strace: open(/proc/..., ...): No such file or directory trouble opening proc file A man procfs, was informative, but I'm a bit lost now on how to proceed... Steven Friedrich wrote: Have you been reading UPDATING? Certainly have. You might want to try what's there for this problem before you spend a lot of time troubleshooting... I got to step 5 and the problem was still happening: you can always deinstall portupgrade and all the ruby stuff (run pkg_delete -r ruby-\*) and reinstall portupgrade as a last resort. That didn't work, but ofcourse, I used pkg_add -r ruby-devel. Any ideas on how to proceed with the strace would be greatly appreciated. TIA, James. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade killed everytime
On Tue, Aug 24, 2004 at 12:21:09AM +0100, James Brown said: Whenever I run portupgrade, I wait about 30 seconds only to see it die: # portupgrade clamav Killed # portupgrade vim Killed Try running it using strace, such as strace portupgrade vim and see what it's doing. -- Adam Smith Internode : http://www.internode.on.net Phone : (08) 8228 2999 Dog for sale: Eats lots and is fond of children. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade killed everytime
In /usr/ports/UPDATING, there is a note about upgrading from an older version of Ruby to the latest. Have you been reading UPDATING? You might want to try what's there for this problem before you spend a lot of time troubleshooting... On Monday 23 August 2004 07:21 pm, James Brown wrote: Whenever I run portupgrade, I wait about 30 seconds only to see it die: # portupgrade clamav Killed # portupgrade vim Killed I have a recent cvsup of 'ports-all' on 5.2.1-RELEASE-p9 and have run 'make index' and 'pkgdb -F'. Someone at bsdforums.org has kindly suggested that I'm seeing a Ruby problem, so I tried to do a 'make install clean' on lang/ruby18 (after a pkg_delete -r ruby-\*). This failed to build with the following errors: [...] === Building for ruby-1.8.2.p2_1 cc -O -pipe -march=pentium2 -fPIC -I. -I. -c main.c cc -O -pipe -march=pentium2 -fPIC -I. -I. -c dmyext.c cc -O -pipe -march=pentium2 -fPIC -I. -I. -c array.c cc -O -pipe -march=pentium2 -fPIC -I. -I. -c bignum.c cc -O -pipe -march=pentium2 -fPIC -I. -I. -c class.c cc: {standard input}: Assembler messages: {standard input}:0: Warning: end of file not at end of a line; newline inserted {standard input}:1920: Error: unknown pseudo-op: `.p2al' Internal error: Killed (program cc1) Please submit a full bug report. [...] So, I used 'pkg_add -r ruby-devel' instead. A 'pkg_info' now shows: portupgrade-20040701_3 FreeBSD ports/packages administration... ruby-1.8.1.p2 An object-oriented interpreted scripting language ruby18-bdb1-0.2.2 Ruby interface to Berkeley DB revision 1.8x... ruby_r-1.8.1.p2An object-oriented interpreted scripting language Unfortunately, still no joy! If anyone could give me some suggestions, I would really appreciate it. Many thanks, James. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade killed everytime
On Monday 23 August 2004 04:25 pm, Adam Smith [EMAIL PROTECTED] wrote: On Tue, Aug 24, 2004 at 12:21:09AM +0100, James Brown said: Whenever I run portupgrade, I wait about 30 seconds only to see it die: # portupgrade clamav Killed # portupgrade vim Killed Try running it using strace, such as strace portupgrade vim and see what it's doing. I'm not very familiar with strace or the BSD-native truss, but just out of curiosity, how would one run either of these without /proc ? - jt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade/ports question
On Thu, Aug 12, 2004 at 12:14:23PM -0400, Bart Silverstrim wrote: Situation: I set up a portal server as per the instructions at their site; it involved installing some PERL modules from CPAN, which I have since learned on FreeBSD appears to be a no no... Now I have some updates to do, but I don't want it to interfere with the web portal software. In theory, the updates should just replace the CPAN stuff where they overlap, no? When I do some updates on software (like ClamAV) that apparently *uses* some of these modules, I get the error: pkg_delete: package bsdpan-MIME-tools-5.411 has no origin recorded pkg_delete: package bsdpan-MailTools-1.62 has no origin recorded pkg_delete: package bsdpan-MIME-tools-5.411 has no origin recorded pkg_delete: package bsdpan-MailTools-1.62 has no origin recorded but these errors aren't enough to keep it from completing the update on the software in question. Portversion is yielding: # portversion | grep -v = apache bsdpan-Archive-Zip bsdpan-DBD-mysql bsdpan-DBI bsdpan-IO-stringy bsdpan-Lingua-EN-NameParse bsdpan-MIME-tools # bsdpan-Mail-POP3Client bsdpan-MailTools# bsdpan-Spreadsheet-WriteExcel bsdpan-Test-Manifest bsdpan-URI bsdpan-Unicode-String bsdpan-XML-RSS bsdpan-perl-ldap expat ezm3 libiconv m4 openssl p5-libwww perl rc_subr rsync ruby Meaning some PAN modules are of *higher* versions than available through ports? How? Can I safely try upgrading those modules? Has anyone run into something like this before? I have got these may times over. You have nothing to wurry about. If you check with pkg_version then you will see that non of them are reported with a higher version (i.e. ). You can rebuilt varius package related stuf to be on the safe side. One command is portsdb -uU. There can be one or two other relevant command but i don't know these by memory. You can find them, do, in the portupgrade manual. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade/ports question
Bart Silverstrim wrote: Situation: I set up a portal server as per the instructions at their site; it involved installing some PERL modules from CPAN, which I have since learned on FreeBSD appears to be a no no... Now I have some updates to do, but I don't want it to interfere with the web portal software. In theory, the updates should just replace the CPAN stuff where they overlap, no? When I do some updates on software (like ClamAV) that apparently *uses* some of these modules, I get the error: pkg_delete: package bsdpan-MIME-tools-5.411 has no origin recorded pkg_delete: package bsdpan-MailTools-1.62 has no origin recorded pkg_delete: package bsdpan-MIME-tools-5.411 has no origin recorded pkg_delete: package bsdpan-MailTools-1.62 has no origin recorded but these errors aren't enough to keep it from completing the update on the software in question. Portversion is yielding: # portversion | grep -v = apache bsdpan-Archive-Zip bsdpan-DBD-mysql bsdpan-DBI bsdpan-IO-stringy bsdpan-Lingua-EN-NameParse bsdpan-MIME-tools # bsdpan-Mail-POP3Client bsdpan-MailTools# bsdpan-Spreadsheet-WriteExcel bsdpan-Test-Manifest bsdpan-URI bsdpan-Unicode-String bsdpan-XML-RSS bsdpan-perl-ldap expat ezm3 libiconv m4 openssl p5-libwww perl rc_subr rsync ruby Meaning some PAN modules are of *higher* versions than available through ports? How? Can I safely try upgrading those modules? Has anyone run into something like this before? -Bart ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I would remove everything not from ports. Update ports. You can them run portupdrage -af. This will force an upgrade or reinstall of all installed ports(depending on if it has been updated or not is if it is just reinstalled or upgraded). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade(1) kde fails
On Monday 26 July 2004 05:20 am, Mark Ovens wrote: I'm trying to upgrade kde (the meta-port), 3.1.2-3.2.3_1 using portupgrade(1) but it fails trying to install kdelibs. Can anyone shed any light on what's wrong? FreeBSD redshift 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Sun Jul 25 19:19:46 BST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/REDSHIFT i386 /home/mark{106}# pkg_info | grep kde kde-3.1.2 The meta-port for KDE kdebase-3.1.2 This package provides the basic applications for the KDE sy kdegames-3.1.2 Games for the KDE integrated X11 desktop kdegraphics-3.1.2 Graphics utilities for the KDE3 integrated X11 desktop kdelibs-3.1.2 This is the base set of libraries needed by KDE programs kdemultimedia-3.1.2 Multimedia utilities for the KDE integrated X11 desktop kdenetwork-3.1.2Network-related programs and modules for KDE kdesdk-3.1.4KDE Software Development Kit kdeutils-3.1.2 Utilities for the KDE integrated X11 desktop xmms-kde-3.0.0 Integrates XMMS into the KDE3 Panel /home/mark{107}# /home/mark{107}# portupgrade -Rv kde-3.1.2 [snip successful build of dependencies and kdelibs] pkg_delete: unable to completely remove directory '/usr/local/share/servicetypes' [snip lots of similar lines] pkg_delete: unable to completely remove directory '/usr/local/include/kate' rmdir: /usr/local/include/arts: Directory not empty pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 148 packages found (-1 +0) (...) done] --- Uninstallation of kdelibs-3.1.2 ended at: Mon, 26 Jul 2004 13:12:26 +0100 (consumed 00:00:28) --- Installation of x11/kdelibs3 started at: Mon, 26 Jul 2004 13:12:26 +0100 --- Installing the new version via the port === Installing for kdelibs-3.2.3_1 === kdelibs-3.2.3_1 conflicts with installed package(s): kdebase-3.1.2 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 It told you what to do right here. You can't directly upgrade to the next level because of the file shift. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade(1) kde fails
Kent Stewart wrote: Hi Mark, On a 2nd read, I thought I was kind of sharp. No problem. I saw the message: === kdelibs-3.2.3_1 conflicts with installed package(s): kdebase-3.1.2 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 but it seemed misleading because I thought that portupgrade(1) pkg_delete-ed the old version (after first backing up the files) - obviously not. What you have is a similar problem to the old problem with XFree86-server and -libraries. You update -libraries, which contain the new files, and then you delete them when you update -server. Then, nothing would update because files were missing. There were a number of comments on -questions or -ports when this first happened. Yes, I'd searched the mailing lists (for KDE problems, not XFree86) but didn't find anything that seemd relevant, although after your reply some of them make sense now. You might get by just deleting kdebase. Delete kde-libs surely? Is this a limitation/shortcoming/bug of portupgrade(1)? Is the whole point of it ot that it handles, often complex, dependencies for you? Thanks for the reply. Regards, Mark Kent On Monday 26 July 2004 05:40 am, Kent Stewart wrote: On Monday 26 July 2004 05:20 am, Mark Ovens wrote: I'm trying to upgrade kde (the meta-port), 3.1.2-3.2.3_1 using portupgrade(1) but it fails trying to install kdelibs. Can anyone shed any light on what's wrong? FreeBSD redshift 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Sun Jul 25 19:19:46 BST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/REDSHIFT i386 /home/mark{106}# pkg_info | grep kde kde-3.1.2 The meta-port for KDE kdebase-3.1.2 This package provides the basic applications for the KDE sy kdegames-3.1.2 Games for the KDE integrated X11 desktop kdegraphics-3.1.2 Graphics utilities for the KDE3 integrated X11 desktop kdelibs-3.1.2 This is the base set of libraries needed by KDE programs kdemultimedia-3.1.2 Multimedia utilities for the KDE integrated X11 desktop kdenetwork-3.1.2Network-related programs and modules for KDE kdesdk-3.1.4KDE Software Development Kit kdeutils-3.1.2 Utilities for the KDE integrated X11 desktop xmms-kde-3.0.0 Integrates XMMS into the KDE3 Panel /home/mark{107}# /home/mark{107}# portupgrade -Rv kde-3.1.2 [snip successful build of dependencies and kdelibs] pkg_delete: unable to completely remove directory '/usr/local/share/servicetypes' [snip lots of similar lines] pkg_delete: unable to completely remove directory '/usr/local/include/kate' rmdir: /usr/local/include/arts: Directory not empty pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 148 packages found (-1 +0) (...) done] --- Uninstallation of kdelibs-3.1.2 ended at: Mon, 26 Jul 2004 13:12:26 +0100 (consumed 00:00:28) --- Installation of x11/kdelibs3 started at: Mon, 26 Jul 2004 13:12:26 +0100 --- Installing the new version via the port === Installing for kdelibs-3.2.3_1 === kdelibs-3.2.3_1 conflicts with installed package(s): kdebase-3.1.2 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 It told you what to do right here. You can't directly upgrade to the next level because of the file shift. Kent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade(1) kde fails
On Monday 26 July 2004 07:33 am, Mark Ovens wrote: Kent Stewart wrote: Hi Mark, On a 2nd read, I thought I was kind of sharp. No problem. I saw the message: === kdelibs-3.2.3_1 conflicts with installed package(s): kdebase-3.1.2 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 but it seemed misleading because I thought that portupgrade(1) pkg_delete-ed the old version (after first backing up the files) - obviously not. What you have is a similar problem to the old problem with XFree86-server and -libraries. You update -libraries, which contain the new files, and then you delete them when you update -server. Then, nothing would update because files were missing. There were a number of comments on -questions or -ports when this first happened. Yes, I'd searched the mailing lists (for KDE problems, not XFree86) but didn't find anything that seemd relevant, although after your reply some of them make sense now. You might get by just deleting kdebase. Delete kde-libs surely? Kdelibs has the new files and when you try to update kdebase later, it messes up the install. That is why you have to delete kdebase first. If the files had been moved from kdelibs into kdebase, it wouldn't have mattered. Is this a limitation/shortcoming/bug of portupgrade(1)? Is the whole point of it ot that it handles, often complex, dependencies for you? Portupgrade doesn't deal with the situation with large projects such as KDE when files or tools are moved from a lower port into one required as a base port such as kdelibs. I don't think it could deal with it. I always build packages and can just reinstall the one that I just trashed. Kent Thanks for the reply. Regards, Mark Kent On Monday 26 July 2004 05:40 am, Kent Stewart wrote: On Monday 26 July 2004 05:20 am, Mark Ovens wrote: I'm trying to upgrade kde (the meta-port), 3.1.2-3.2.3_1 using portupgrade(1) but it fails trying to install kdelibs. Can anyone shed any light on what's wrong? FreeBSD redshift 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Sun Jul 25 19:19:46 BST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/REDSHIFT i386 /home/mark{106}# pkg_info | grep kde kde-3.1.2 The meta-port for KDE kdebase-3.1.2 This package provides the basic applications for the KDE sy kdegames-3.1.2 Games for the KDE integrated X11 desktop kdegraphics-3.1.2 Graphics utilities for the KDE3 integrated X11 desktop kdelibs-3.1.2 This is the base set of libraries needed by KDE programs kdemultimedia-3.1.2 Multimedia utilities for the KDE integrated X11 desktop kdenetwork-3.1.2 Network-related programs and modules for KDE kdesdk-3.1.4 KDE Software Development Kit kdeutils-3.1.2 Utilities for the KDE integrated X11 desktop xmms-kde-3.0.0 Integrates XMMS into the KDE3 Panel /home/mark{107}# /home/mark{107}# portupgrade -Rv kde-3.1.2 [snip successful build of dependencies and kdelibs] pkg_delete: unable to completely remove directory '/usr/local/share/servicetypes' [snip lots of similar lines] pkg_delete: unable to completely remove directory '/usr/local/include/kate' rmdir: /usr/local/include/arts: Directory not empty pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 148 packages found (-1 +0) (...) done] --- Uninstallation of kdelibs-3.1.2 ended at: Mon, 26 Jul 2004 13:12:26 +0100 (consumed 00:00:28) --- Installation of x11/kdelibs3 started at: Mon, 26 Jul 2004 13:12:26 +0100 --- Installing the new version via the port === Installing for kdelibs-3.2.3_1 === kdelibs-3.2.3_1 conflicts with installed package(s): kdebase-3.1.2 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 It told you what to do right here. You can't directly upgrade to the next level because of the file shift. Kent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade(1) kde fails
Kent Stewart wrote: Kdelibs has the new files and when you try to update kdebase later, it messes up the install. That is why you have to delete kdebase first. If the files had been moved from kdelibs into kdebase, it wouldn't have mattered. Ah, I see. OK, I'll give it a spin. Thanks for the help Kent. Regards, Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade Stale dependency: specify -O to force
On Sat, Jul 24, 2004 at 11:20:10PM -0500, Kevin D. Kinsey, DaleCo, S.P. wrote: Rob wrote: When I use commands from the portupgrade port, I get this message: Stale dependency: kde-3.2.3 -- autoconf-2.57_1 -- manually run 'pkgdb -F' to fix, or specify -O to force. I wanted to use the '-O' option, but that does not seem to exist. I've tried 'pkgdb -O' or 'pkgdb -FO' Is this '-O' suggestion mistake in the portupgrade port? How can I use the force option? Hmm, pretty sure that should be a little o. At least that's what the help screen and the manpage seem to indicate... [EMAIL PROTECTED] [/usr/ports] [23:16] % pkgdb --help pkgdb rev.1.69 usage: pkgdb [-hafFQQquv] [-c pkgname] [-o pkgname] [-s /old_pkgname/new_pkgname/] [file ...] -h, --help Show this message The message is a mite confusing. It means you should either run: # pkgdb -F to fix up the dependency records within /var/db/pkg before you run portupgrade(1), or that you should run: # portupgrade -O ... to tell portupgrade to omit the dependency checks as it does its work. The former is considerably preferable to the latter. 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 pgpujo9lW4Nxe.pgp Description: PGP signature
Re: Portupgrade Stale dependency: specify -O to force
Rob wrote: Hi, When I use commands from the portupgrade port, I get this message: Stale dependency: kde-3.2.3 -- autoconf-2.57_1 -- manually run 'pkgdb -F' to fix, or specify -O to force. I wanted to use the '-O' option, but that does not seem to exist. I've tried 'pkgdb -O' or 'pkgdb -FO' Is this '-O' suggestion mistake in the portupgrade port? How can I use the force option? Rob. Hmm, pretty sure that should be a little o. At least that's what the help screen and the manpage seem to indicate... [EMAIL PROTECTED] [/usr/ports] [23:16] % pkgdb --help pkgdb rev.1.69 usage: pkgdb [-hafFQQquv] [-c pkgname] [-o pkgname] [-s /old_pkgname/new_pkgname/] [file ...] -h, --help Show this message snip -o, --origin=PKGNAME[=ORIGIN] Look up or change the origin of the given package snip The help seems to indicate you would type something like: $pkgdb -o correctdependancy I usually just do it with -F HTH, Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade/portinstall problem
On Sun, 18 Jul 2004, Edward Ajhar wrote: I don't seem to be able to install ports any longer. This is what happens, for example, # portinstall astro/xworld --- Session started at: Sun, 18 Jul 2004 21:30:03 -0400 ** None has been installed or upgraded. --- Session ended at: Sun, 18 Jul 2004 21:30:04 -0400 (consumed00:00:00) # Does anyone have any idea what might be causing this behavior? The portname (the directory name) is probably inconsistent with the PORTNAME in the Makefile for the port. To correct it, do this: grep PORTNAME /usr/ports/astro/Makefile Then use the the value of PORTNAME with portinstall: portinstall xworld - Jamie Thanks. __ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Greetings from Minneapolis, MN, United States A friend is someone who lets you have total freedom to be yourself. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade/portinstall problem - Error
Sorry, in my example I didn't give the full path to the xworld port. Should be: grep PORTNAME /usr/ports/astro/xworld/Makefile - Jamie Greetings from Minneapolis, MN, United States A friend is someone who lets you have total freedom to be yourself. -- Forwarded message -- Date: Sun, 18 Jul 2004 21:28:07 -0500 (CDT) From: Jamie [EMAIL PROTECTED] To: Edward Ajhar [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: portupgrade/portinstall problem On Sun, 18 Jul 2004, Edward Ajhar wrote: I don't seem to be able to install ports any longer. This is what happens, for example, # portinstall astro/xworld --- Session started at: Sun, 18 Jul 2004 21:30:03 -0400 ** None has been installed or upgraded. --- Session ended at: Sun, 18 Jul 2004 21:30:04 -0400 (consumed00:00:00) # Does anyone have any idea what might be causing this behavior? The portname (the directory name) is probably inconsistent with the PORTNAME in the Makefile for the port. To correct it, do this: grep PORTNAME /usr/ports/astro/Makefile Then use the the value of PORTNAME with portinstall: portinstall xworld - Jamie Thanks. __ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Greetings from Minneapolis, MN, United States A friend is someone who lets you have total freedom to be yourself. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade index generation error
On Sun, 11 Jul 2004 14:58:36 -0400 dave [EMAIL PROTECTED] wrote: I've deleted the entire ports tree, and rerun cvsup, refetched the entire tree, reran portsdb -Uu and am still getting the same index generation error, this is not occurring on the same package, which leads me to believe i've got a corrupted database somewhere, no idea where. Any help appreciated. # rm /var/db/pkg/pkgdb.db # portsdb -Uu If this doesn't solve the problem, then you should show error messages. -- TAOKA Fumiyoshi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade index generation error
How about reinstalling portupgrade and its dependencies, ruby18 and ruby18-bdb1? On Sun, 11 Jul 2004 17:17:23 -0400 dave [EMAIL PROTECTED] wrote: Hi, Thanks for the reply. I tried your suggestion, but i am still getting a problem. Again it's not failing with any one particular package, that part seems to be random, but just before the failure i am getting the message: error junk pointer to high to make sense and then it stops. I have never seen an error like this. -- TAOKA Fumiyoshi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade index generation error
Hello, Thanks for your suggestion. I tried an uninstall/reinstall, but am still getting the error. It's an error code1, not when making a specific package during the portsdb -Uu but the process can not complete successfully. Thanks. Dave. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade fails on every port, undefined method 'each' for nil:NilClass
On Thursday 01 July 2004 09:44 pm, Akinori MUSHA wrote: Hi, I have just committed a fix against the undefined method `each' for nil:NilClass error that occurs typically when BEFORE_DEINSTALL is not defined in pkgtools.conf. Add BEFORE_DEINSTALL = {} to your pkgtools.conf and pkg_deinstall will start working again. For the undefined method `' for #Array:0x8907500 error, I still have no idea. Could you try again with a vanilla pkgtools.conf? It didn't change the package upgrade [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 326 packages found (-0 +1) . done] ** Listing the failed packages (*:skipped / !:failed) ! devel/automake14 (automake-1.4.6_1) (undefined method `' for #Array:0x88d1f44) --- Packages processed: 2 done, 0 ignored, 0 skipped and 1 failed or ruby# portupgrade -Puf portupgrade --- Checking for the latest package of 'sysutils/portupgrade' ** Listing the failed packages (*:skipped / !:failed) ! sysutils/portupgrade (portupgrade-20040701_1) (undefined method `' for #Array:0x8987678) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade fails on every port, undefined method 'each' for nil:NilClass
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You're not alone. I'm seeing the same problem on my FreeBSD systems. Joey On July 1, 2004 17:11, Lee Dilkie wrote: Well, I'm at a bit of a loss here. running 4.10, did a cvsup this morning, then portsdb -uU to get an up to date index. Bunch of ports needed updating, including portupgrade so I upgraded portupgrade first. That seemed to work fine (it reports version 1.8.1). Now, every port I try to upgrade fails when uninstalling the old version. I've tried to upgrade clamav, isc-dhcp3-server and a couple of others. All report undefined method 'each' for nil:NilClass. [snip preamble] sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.conf.5 dhcpd.conf.man5 nroff -man dhcpd.conf.man5 dhcpd.conf.cat5 sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.leases.5 dhcpd.leases.man5 nroff -man dhcpd.leases.man5 dhcpd.leases.cat5 --- Build of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:15 -0400 (consumed 00:04:10) --- Updating dependency info --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 started at: Thu, 01 Jul 2004 15:51:30 -0400 --- Fixing up dependencies before creating a package --- Backing up the old version --- Uninstalling the old version --- Deinstalling 'isc-dhcp3-server-3.0.1.r12_3' ** Listing the failed packages (*:skipped / !:failed) ! isc-dhcp3-server-3.0.1.r12_3 (undefined method `each' for nil:NilClass) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:00:14) --- Upgrade of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:04:40) --- Listing the results (+:done / -:ignored / *:skipped / !:failed) ! net/isc-dhcp3-server (isc-dhcp3-server-3.0.1.r12_3) (uninstall error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Session ended at: Thu, 01 Jul 2004 15:51:49 -0400 (consumed 00:05:02) [EMAIL PROTECTED]:/root] uname -a FreeBSD spock.dilkie.com 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat Jun 19 15:16:03 EDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SPOCK i386 Any ideas??? Does anyone need more info? -lee ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA5HKe0NQPEWppBZsRAqkTAKCVOvSu5XRmiWzq43XJqno8WA74WQCgya0v z2tAApWFeRHlS7u2ebSWJAQ= =PPox -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade fails on every port, undefined method 'each' for nil:NilClass
Did you both upgrade 'portupgrade' and then the problem started? I'm running portupgrade rev.1.225 with no problems. On Thu, 2004-07-01 at 16:22, Joey Mingrone wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You're not alone. I'm seeing the same problem on my FreeBSD systems. Joey On July 1, 2004 17:11, Lee Dilkie wrote: Well, I'm at a bit of a loss here. running 4.10, did a cvsup this morning, then portsdb -uU to get an up to date index. Bunch of ports needed updating, including portupgrade so I upgraded portupgrade first. That seemed to work fine (it reports version 1.8.1). Now, every port I try to upgrade fails when uninstalling the old version. I've tried to upgrade clamav, isc-dhcp3-server and a couple of others. All report undefined method 'each' for nil:NilClass. [snip preamble] sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.conf.5 dhcpd.conf.man5 nroff -man dhcpd.conf.man5 dhcpd.conf.cat5 sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.leases.5 dhcpd.leases.man5 nroff -man dhcpd.leases.man5 dhcpd.leases.cat5 --- Build of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:15 -0400 (consumed 00:04:10) --- Updating dependency info --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 started at: Thu, 01 Jul 2004 15:51:30 -0400 --- Fixing up dependencies before creating a package --- Backing up the old version --- Uninstalling the old version --- Deinstalling 'isc-dhcp3-server-3.0.1.r12_3' ** Listing the failed packages (*:skipped / !:failed) ! isc-dhcp3-server-3.0.1.r12_3 (undefined method `each' for nil:NilClass) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:00:14) --- Upgrade of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:04:40) --- Listing the results (+:done / -:ignored / *:skipped / !:failed) ! net/isc-dhcp3-server (isc-dhcp3-server-3.0.1.r12_3) (uninstall error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Session ended at: Thu, 01 Jul 2004 15:51:49 -0400 (consumed 00:05:02) [EMAIL PROTECTED]:/root] uname -a FreeBSD spock.dilkie.com 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat Jun 19 15:16:03 EDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SPOCK i386 Any ideas??? Does anyone need more info? -lee ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA5HKe0NQPEWppBZsRAqkTAKCVOvSu5XRmiWzq43XJqno8WA74WQCgya0v z2tAApWFeRHlS7u2ebSWJAQ= =PPox -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: portupgrade fails on every port, undefined method 'each' fornil:NilClass
Did you both upgrade 'portupgrade' and then the problem started? I'm running portupgrade rev.1.225 with no problems. yes. I saw from portversion that portupgrade was bumped so i ran portupgrade -rv portupgrade first. On Thu, 2004-07-01 at 16:22, Joey Mingrone wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You're not alone. I'm seeing the same problem on my FreeBSD systems. Joey On July 1, 2004 17:11, Lee Dilkie wrote: Well, I'm at a bit of a loss here. running 4.10, did a cvsup this morning, then portsdb -uU to get an up to date index. Bunch of ports needed updating, including portupgrade so I upgraded portupgrade first. That seemed to work fine (it reports version 1.8.1). Now, every port I try to upgrade fails when uninstalling the old version. I've tried to upgrade clamav, isc-dhcp3-server and a couple of others. All report undefined method 'each' for nil:NilClass. [snip preamble] sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.conf.5 dhcpd.conf.man5 nroff -man dhcpd.conf.man5 dhcpd.conf.cat5 sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.leases.5 dhcpd.leases.man5 nroff -man dhcpd.leases.man5 dhcpd.leases.cat5 --- Build of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:15 -0400 (consumed 00:04:10) --- Updating dependency info --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 started at: Thu, 01 Jul 2004 15:51:30 -0400 --- Fixing up dependencies before creating a package --- Backing up the old version --- Uninstalling the old version --- Deinstalling 'isc-dhcp3-server-3.0.1.r12_3' ** Listing the failed packages (*:skipped / !:failed) ! isc-dhcp3-server-3.0.1.r12_3 (undefined method `each' for nil:NilClass) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:00:14) --- Upgrade of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:04:40) --- Listing the results (+:done / -:ignored / *:skipped / !:failed) ! net/isc-dhcp3-server (isc-dhcp3-server-3.0.1.r12_3) (uninstall error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Session ended at: Thu, 01 Jul 2004 15:51:49 -0400 (consumed 00:05:02) [EMAIL PROTECTED]:/root] uname -a FreeBSD spock.dilkie.com 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat Jun 19 15:16:03 EDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SPOCK i386 Any ideas??? Does anyone need more info? -lee ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA5HKe0NQPEWppBZsRAqkTAKCVOvSu5XRmiWzq43XJqno8WA74WQCgya0v z2tAApWFeRHlS7u2ebSWJAQ= =PPox -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade fails on every port, undefined method 'each' for nil:NilClass
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On July 1, 2004 17:26, Bruce Hunter wrote: Did you both upgrade 'portupgrade' and then the problem started? Yeah, problems stared after upgrading to portupgrade-20040701. I'm guessing there will be another update shortly. Joey I'm running portupgrade rev.1.225 with no problems. On Thu, 2004-07-01 at 16:22, Joey Mingrone wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You're not alone. I'm seeing the same problem on my FreeBSD systems. Joey On July 1, 2004 17:11, Lee Dilkie wrote: Well, I'm at a bit of a loss here. running 4.10, did a cvsup this morning, then portsdb -uU to get an up to date index. Bunch of ports needed updating, including portupgrade so I upgraded portupgrade first. That seemed to work fine (it reports version 1.8.1). Now, every port I try to upgrade fails when uninstalling the old version. I've tried to upgrade clamav, isc-dhcp3-server and a couple of others. All report undefined method 'each' for nil:NilClass. [snip preamble] sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.conf.5 dhcpd.conf.man5 nroff -man dhcpd.conf.man5 dhcpd.conf.cat5 sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.leases.5 dhcpd.leases.man5 nroff -man dhcpd.leases.man5 dhcpd.leases.cat5 --- Build of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:15 -0400 (consumed 00:04:10) --- Updating dependency info --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 started at: Thu, 01 Jul 2004 15:51:30 -0400 --- Fixing up dependencies before creating a package --- Backing up the old version --- Uninstalling the old version --- Deinstalling 'isc-dhcp3-server-3.0.1.r12_3' ** Listing the failed packages (*:skipped / !:failed) ! isc-dhcp3-server-3.0.1.r12_3 (undefined method `each' for nil:NilClass) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:00:14) --- Upgrade of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:04:40) --- Listing the results (+:done / -:ignored / *:skipped / !:failed) ! net/isc-dhcp3-server (isc-dhcp3-server-3.0.1.r12_3) (uninstall error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Session ended at: Thu, 01 Jul 2004 15:51:49 -0400 (consumed 00:05:02) [EMAIL PROTECTED]:/root] uname -a FreeBSD spock.dilkie.com 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat Jun 19 15:16:03 EDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SPOCK i386 Any ideas??? Does anyone need more info? -lee ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA5HKe0NQPEWppBZsRAqkTAKCVOvSu5XRmiWzq43XJqno8WA74WQCgya0v z2tAApWFeRHlS7u2ebSWJAQ= =PPox -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA5HVp0NQPEWppBZsRAueQAJwPhx0kz9mrZiqYRzW4PQEILf03WACfXPAd HEMHU09aUEtd4JzSrzCH4oQ= =SrVj -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: portupgrade fails on every port, undefined method 'each' fornil:NilClass
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joey Mingrone Sent: Thursday, July 01, 2004 4:35 PM To: [EMAIL PROTECTED] Cc: Bruce Hunter Subject: Re: portupgrade fails on every port, undefined method 'each' fornil:NilClass -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On July 1, 2004 17:26, Bruce Hunter wrote: Did you both upgrade 'portupgrade' and then the problem started? Yeah, problems stared after upgrading to portupgrade-20040701. I'm guessing there will be another update shortly. Joey Then the fun of trying to upgrade portupgrade when it won't uninstall will begin... Anticipating that I'll need some directions on how to do this manually. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade fails on every port, undefined method 'each' fornil:NilClass
On Thursday 01 July 2004 03:44 pm, Lee Dilkie wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joey Mingrone Sent: Thursday, July 01, 2004 4:35 PM To: [EMAIL PROTECTED] Cc: Bruce Hunter Subject: Re: portupgrade fails on every port, undefined method 'each' fornil:NilClass -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On July 1, 2004 17:26, Bruce Hunter wrote: Did you both upgrade 'portupgrade' and then the problem started? Yeah, problems stared after upgrading to portupgrade-20040701. I'm guessing there will be another update shortly. Joey Then the fun of trying to upgrade portupgrade when it won't uninstall will begin... Anticipating that I'll need some directions on how to do this manually. You can always pkg_delete an installed port. Good luck, Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade fails on every port, undefined method 'each' fornil:NilClass
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 cd /usr/ports/sysutils/portupgrade make deinstall make install should do it. You might try looking at /usr/ports/sysutils/portdowngrade as well. Joey On July 1, 2004 17:44, Lee Dilkie wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joey Mingrone Sent: Thursday, July 01, 2004 4:35 PM To: [EMAIL PROTECTED] Cc: Bruce Hunter Subject: Re: portupgrade fails on every port, undefined method 'each' fornil:NilClass -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On July 1, 2004 17:26, Bruce Hunter wrote: Did you both upgrade 'portupgrade' and then the problem started? Yeah, problems stared after upgrading to portupgrade-20040701. I'm guessing there will be another update shortly. Joey Then the fun of trying to upgrade portupgrade when it won't uninstall will begin... Anticipating that I'll need some directions on how to do this manually. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA5Hke0NQPEWppBZsRAogIAJ9ma9y8DhfUCIMKpprNf3+riRe7JwCfSt71 093AVCOKmtcjYycxfcO1g/Y= =G5sP -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade fails on every port, undefined method 'each' for nil:NilClass
On Thursday 01 July 2004 01:34 pm, Joey Mingrone wrote: On July 1, 2004 17:26, Bruce Hunter wrote: Did you both upgrade 'portupgrade' and then the problem started? Yeah, problems stared after upgrading to portupgrade-20040701. I'm guessing there will be another update shortly. I haven't seen any comments to knu@ about the problem. I can repeat portupgrading portupgrade from the source and create a package. When I try to portupgrade using the package, I get # portupgrade -Puf portupgrade --- Checking for the latest package of 'sysutils/portupgrade' ** Listing the failed packages (*:skipped / !:failed) ! sysutils/portupgrade (portupgrade-20040701) (undefined method `' for #Array:0x8907500) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed It also failed to delete devel/libtool-1.4.3_3, which was just moved into the Attic. Kent Joey I'm running portupgrade rev.1.225 with no problems. On Thu, 2004-07-01 at 16:22, Joey Mingrone wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You're not alone. I'm seeing the same problem on my FreeBSD systems. Joey On July 1, 2004 17:11, Lee Dilkie wrote: Well, I'm at a bit of a loss here. running 4.10, did a cvsup this morning, then portsdb -uU to get an up to date index. Bunch of ports needed updating, including portupgrade so I upgraded portupgrade first. That seemed to work fine (it reports version 1.8.1). Now, every port I try to upgrade fails when uninstalling the old version. I've tried to upgrade clamav, isc-dhcp3-server and a couple of others. All report undefined method 'each' for nil:NilClass. [snip preamble] sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.conf.5 dhcpd.conf.man5 nroff -man dhcpd.conf.man5 dhcpd.conf.cat5 sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.leases.5 dhcpd.leases.man5 nroff -man dhcpd.leases.man5 dhcpd.leases.cat5 --- Build of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:15 -0400 (consumed 00:04:10) --- Updating dependency info --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 started at: Thu, 01 Jul 2004 15:51:30 -0400 --- Fixing up dependencies before creating a package --- Backing up the old version --- Uninstalling the old version --- Deinstalling 'isc-dhcp3-server-3.0.1.r12_3' ** Listing the failed packages (*:skipped / !:failed) ! isc-dhcp3-server-3.0.1.r12_3 (undefined method `each' for nil:NilClass) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:00:14) --- Upgrade of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:04:40) --- Listing the results (+:done / -:ignored / *:skipped / !:failed) ! net/isc-dhcp3-server (isc-dhcp3-server-3.0.1.r12_3) (uninstall error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Session ended at: Thu, 01 Jul 2004 15:51:49 -0400 (consumed 00:05:02) [EMAIL PROTECTED]:/root] uname -a FreeBSD spock.dilkie.com 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat Jun 19 15:16:03 EDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SPOCK i386 Any ideas??? Does anyone need more info? -lee ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA5HKe0NQPEWppBZsRAqkTAKCVOvSu5XRmiWzq43XJqno8WA74WQCgya0v z2tAApWFeRHlS7u2ebSWJAQ= =PPox -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade fails on every port, undefined method 'each' fornil:NilClass
On Thu, Jul 01, 2004 at 04:44:57PM -0400, Lee Dilkie wrote: Then the fun of trying to upgrade portupgrade when it won't uninstall will begin... Anticipating that I'll need some directions on how to do this manually. It isn't difficult: # pkg_delete portupgrade-20040701 # cd /usr/ports/sysutils/portupgrade # make install Now, all we need is the fixed version of portupgrade. 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 pgpBPc8Kxo9Be.pgp Description: PGP signature
Re: portupgrade fails on every port, undefined method 'each' for nil:NilClass
Hi, I have just committed a fix against the undefined method `each' for nil:NilClass error that occurs typically when BEFORE_DEINSTALL is not defined in pkgtools.conf. Add BEFORE_DEINSTALL = {} to your pkgtools.conf and pkg_deinstall will start working again. For the undefined method `' for #Array:0x8907500 error, I still have no idea. Could you try again with a vanilla pkgtools.conf? -- / /__ __Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp It seems to me as we make our own few circles 'round the sun We get it backwards and our seven years go by like one ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: portupgrade -c (was Re: Boot GUI / Boot data and process / Fragmentation)
Alright, I feel stupid but I'm going to ask anyway... Portversion exists in /usr/local/sbin on one FreeBSD 5.2.1 server, but not on the other, which is an install off the *same CD*. What package or port does portversion come from? Thanks ::-Original Message- ::From: Randy Pratt [mailto:[EMAIL PROTECTED] ::Sent: Tuesday, June 08, 2004 12:16 PM ::To: Kent Stewart ::Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] ::Subject: portupgrade -c (was Re: Boot GUI / Boot data and ::process / Fragmentation) :: :: ::On Tue, 8 Jun 2004 00:59:58 -0700 ::Kent Stewart [EMAIL PROTECTED] wrote: :: :: On Tuesday 08 June 2004 12:37 am, Bruce Hunter wrote: :: Thanks for your help Kent :: :: I read something about using portversion -c with the portupgrade :: command to upgrade installed pkgs that needed to be updated. :: :: When I run portversion -c :: I get a print out of things ::needed to :: be upgraded and at the end, it shows a 'if' statment. :: :: How do you use this command with portupgrade so it just ::updates them :: instead of just showing me. Just do it dang it... just do it! ;o) :: ::The output of portversion -c needs to be redirected to a file: :: ::portversion -c scriptname.sh :: ::To make it usable as a shell script, it needs to have :: ::#!/bin/sh :: ::added at the top to insure that it uses the sh command ::interperter. Then, the script needs to be made executable: :: ::chmod 744 scriptname.sh :: ::Then it can be run as root: :: ::./scriptname.sh :: :: I'm not the one to ask because I use the -c and do them one ::at a time. :: The portupgrade option -rRa will do some of it. I just want ::it to do it :: at my convience and choosing :). I also have an AMD 2400+ ::that sits off :: to the side of my computer desk and I build everything on it. The :: problem with the -c list is that it doesn't build ::dependancies first. :: ::I think it will build the required dependencies first *if* ::they need updated. The synopsis of portupgrade is: :: ::portupgrade [ ... bunch of options ... ] pkgname-glob :: ::A list of ports can be passed to portugrade and it will check ::which needs to be built first. This can easily be checked if ::you have doubts. Use -n for no-execute and -f to force. ::This is a test case I tried where liveMedia is a dependency ::of mplayer: :: :: # portupgrade -nf mplayer-gtk-esound-0.92.1_2 liveMedia-2004.06.07,1 :: --- Session started at: Tue, 08 Jun 2004 11:06:39 -0400 :: --- Reinstallation of net/liveMedia started at: Tue, 08 Jun 2004 ::11:06:40 -0400 :: --- Reinstalling 'liveMedia-2004.06.07,1' (net/liveMedia) ::OK? [no] :: --- Reinstallation of net/liveMedia ended at: Tue, 08 Jun 2004 ::11:06:40 -0400 (consumed 00:00:00) :: --- Reinstallation of multimedia/mplayer started at: Tue, 08 Jun ::2004 11:06:41 -0400 :: --- Reinstalling 'mplayer-gtk-esound-0.92.1_2' ::(multimedia/mplayer) ::OK? [no] :: --- Reinstallation of multimedia/mplayer ended at: Tue, 08 Jun ::2004 11:06:41 -0400 (consumed 00:00:00) :: --- Listing the results (+:done / -:ignored / *:skipped / ::!:failed) ::+ net/liveMedia (liveMedia-2004.06.07,1) ::+ multimedia/mplayer (mplayer-gtk-esound-0.92.1_2) :: --- Packages processed: 2 done, 0 ignored, 0 skipped and 0 failed :: --- Session ended at: Tue, 08 Jun 2004 11:06:41 -0400 ::(consumed 00:00:01) :: # :: ::Notice that liveMedia was updated first even though it was ::last in the list of ports passed to portupgrade. The portversion -c ::produces a list of ports and stores them in its variable ::$pkgs. Portupgrade will take the list and build them in the ::correct dependency order. :: ::I've used this approach for several years now and it works fine. :: ::However, caution should be used when scripting the upgrading ::of ports. After cvsupping and running portsdb -Uu, the ::/usr/ports/UPDATING should be read and any items that are ::applicable to the installation should be followed before ::running any scripts or other portupgrade commands. :: ::If you still prefer doing ports manually, the output of ::portupgrade -c can still be useful. By modifying the script ::slightly, it will produce a list of ports to be updated in ::the order they should be updated. Just change the line: :: ::portupgrade $@ $pkgs :: ::to: :: ::pkg_glob $pkgs | pkg_sort :: ::It should be noted that some ports may not work until the ::entire list is updated and as usual, your mileage may vary. :: ::I'm sure someone will correct me if I'm thinking wrong about this. :: ::Best regards, :: ::Randy :: ::[ ... other topics snipped ... ] :: ::___ ::[EMAIL PROTECTED] mailing list ::http://lists.freebsd.org/mailman/listinfo/free::bsd-questions :: ::To unsubscribe, send any mail to ::[EMAIL PROTECTED] :: ___ [EMAIL PROTECTED] mailing list
RE: portupgrade -c (was Re: Boot GUI / Boot data and process / Fragmentation)
Alright, I feel stupid but I'm going to ask anyway... Portversion exists in /usr/local/sbin on one FreeBSD 5.2.1 server, but not on the other, which is an install off the *same CD*. What package or port does portversion come from? Thanks -- portversion is part of usr/ports/sysutils/portupgrade http://www.to2600.org http://www.toronto2600.org Because size *does* matter. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade -a question
[long lines rewrapped, please try to keep lines below about 72 characters] On Thu, Jun 03, 2004 at 11:34:16PM +, Jarrod Wageman wrote: Hello, I have a freebsd box I just set up and I am wondering about some things. I just ran `make buildworld` installworld and all that after an extensive cvsup. I still have perl version 5.6 something. The new version according to perl.com is 5.8 I ran portupgrade -a and it didn't upgrade anything. Do I need to move to the CURRENT source tree to get these new packages installed? No, you need to install the /usr/ports/lang/perl5.8 to get perl 5.8.x. Then if you keep your ports collection up-to-date the other commands (such as portversion) will tell you when a newer port is available. Don't forget to do # use.perl port if you want the port's perl to be the system default. -- http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B pgpDFioGrmfsC.pgp Description: PGP signature
Re: Portupgrade -N for gimp-devel : install help
On Fri, Jun 04, 2004 at 01:07:45AM -0400, Bruce Hunter wrote: [...] Well, that is funny. I do cvsup -g -L 2 /root/ports-supfile it updates my ports with the current. I only have graphics/gimp1 and graphics/gimp-devel. Why don't I have have graphics/gimp?? What am I doing wrong when updating my ports collection? Sounds like your cvsup file is incorrect. Post it to the list and we'll tell you what's wrong with it; you probably have a tag on the ports (you shouldn't). Cheers. -- Jonathan Chen [EMAIL PROTECTED] -- I don't want to achive immortality through my works.. I want to achieve it through not dying - Woody Allen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade problem
Jarrod Wageman [EMAIL PROTECTED] writes: when running portversion -v -l Nothing returns so I assume this means no errors, but, after cvsup -v -L 2 supfile updating the index and the database of ports, and then running portupgrade -a (which after reading the man page I assume that it updates all out dated ports) nothing happens, ssh -V returns 3.6p1 which is an old version, and nothing else will update. I have read through the ports guide in the handbook and after reading through that and following the steps I get to make buildworld and I cannot make buildworld. I want to test the freeBSD evironment and it's serving capabilities and I have heard nothing but good things about it. Thanks for your time. ssh is in the base system, not normally installed as a port, and on -STABLE that would give you OpenSSH_3.5p1 FreeBSD-20030924. The openssh port is currently at 3.6.1, and the openssh-portable port is 3.8.1p1. Check where your current ssh command is coming from before deciding whether and how to update it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade -N for gimp-devel : install help
On Thursday 03 June 2004 07:50 pm, Bruce Hunter wrote: I am trying to install graphics/gimp-devel I have never had an error before with the portupgrade -N command This is my error: [EMAIL PROTECTED] portupgrade -N graphics/gimp-devel/ make: don't know how to make all-depends-list. Stop ** Invalid package name: graphics/gimp-devel: : Not in due form: name-version ** Listing the failed packages (*:skipped / !:failed) ! graphics/gimp-devel (invalid package name) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed [EMAIL PROTECTED] Anyone have any ideas? Gimp-devel was moved to graphics/gimp more than 2 months ago. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade -N for gimp-devel : install help
On Thu, 2004-06-03 at 23:03, Kent Stewart wrote: On Thursday 03 June 2004 07:50 pm, Bruce Hunter wrote: I am trying to install graphics/gimp-devel I have never had an error before with the portupgrade -N command This is my error: [EMAIL PROTECTED] portupgrade -N graphics/gimp-devel/ make: don't know how to make all-depends-list. Stop ** Invalid package name: graphics/gimp-devel: : Not in due form: name-version ** Listing the failed packages (*:skipped / !:failed) ! graphics/gimp-devel (invalid package name) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed [EMAIL PROTECTED] Anyone have any ideas? Gimp-devel was moved to graphics/gimp more than 2 months ago. Kent Well, that is funny. I do cvsup -g -L 2 /root/ports-supfile it updates my ports with the current. I only have graphics/gimp1 and graphics/gimp-devel. Why don't I have have graphics/gimp?? What am I doing wrong when updating my ports collection? Bruce ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade -N for gimp-devel : install help
On Thursday 03 June 2004 10:07 pm, Bruce Hunter wrote: On Thu, 2004-06-03 at 23:03, Kent Stewart wrote: On Thursday 03 June 2004 07:50 pm, Bruce Hunter wrote: I am trying to install graphics/gimp-devel I have never had an error before with the portupgrade -N command This is my error: [EMAIL PROTECTED] portupgrade -N graphics/gimp-devel/ make: don't know how to make all-depends-list. Stop ** Invalid package name: graphics/gimp-devel: : Not in due form: name-version ** Listing the failed packages (*:skipped / !:failed) ! graphics/gimp-devel (invalid package name) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed [EMAIL PROTECTED] Anyone have any ideas? Gimp-devel was moved to graphics/gimp more than 2 months ago. Kent Well, that is funny. I do cvsup -g -L 2 /root/ports-supfile it updates my ports with the current. I only have graphics/gimp1 and graphics/gimp-devel. Why don't I have have graphics/gimp?? What am I doing wrong when updating my ports collection? I don't know if I cc'ed the list on my reply or not. One additional piece of information, when something strange like this happens, check cvsweb at http://cvsweb.freebsd.org/. The history of freebsd source is there as a series of web pages and, in this case, you can see where gimp-devel was moved into gimp. When that has been done and you are having problems, you have to assume up front that your supfile or mirror is messed up. That may not be true but it is a starting point. Mirrors occasionally get locked up and the only way you can find out is to try a different one and watch what happens. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade configuration
On Wed, 2004-05-26 at 00:50, Robin Becker wrote: Is there a way to list all of my exceptional port settings? Can I make these available to portupgrade automatically somehow? portupgrade port settings can be set in the /usr/local/etc/pkgtools.conf file. See MAKE_ARGS in this file. Cheers, -- Nelis Lamprecht PGP: http://www.8ball.co.za/pgpkey/nelis.asc Unix IS user friendly.. It's just selective about who its friends are. signature.asc Description: This is a digitally signed message part
Re: portupgrade for KDE [ part of 5.2 portupgrade hairball ]
On Saturday 17 April 2004 01:44 am, Jay Moore wrote: Entering the third week of my portupgrade... some progress has been made (I think), but several items remain. Last week I was on travel, but started the following before leaving: portupgrade -rf textproc/expat2 This completed with the result shown below. As you can see, KDE stuff was involved in the majority of my issues. I read the 'UPDATING' file from my last CVSup, but it doesn't seem to address this. What must I do to resolve the KDE install error(s)? You have to pkg_delete kdebase-3.1.4 before you can update kde to 3.2.1. The Makefile for kdelibs has CONFLICTS= kdebase-3.1.* and it won't build until you have deleted kdebase. Kent Thanks, Jay [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 232 packages found (-0 +1) . done] ** Listing the failed packages (*:skipped / !:failed) ! net/samba (samba-2.2.8a_2)(uninstall error) ! x11/kdelibs3 (kdelibs-3.1.4_1)(install error) * x11/kdebase3 (kdebase-3.1.4) * x11-wm/kdeartwork3 (kdeartwork-3.1.4_1) * games/kdegames3 (kdegames-3.1.4) * net/kdenetwork3 (kdenetwork-3.1.4) * devel/kdesdk3 (kdesdk-3.1.4) * misc/kdeutils3 (kdeutils-3.1.4) * deskutils/kdepim3 (kdepim-3.1.4) * devel/kdevelop (kdevelop-2.1.5) * x11-clocks/kdetoys3 (kdetoys-3.1.4) * editors/koffice-kde3 (koffice-1.2.1_1,1) * graphics/kdegraphics3 (kdegraphics-3.1.4) * www/quanta (quanta-3.1.4,2) * multimedia/kdemultimedia3 (kdemultimedia-3.1.4) * sysutils/kdeadmin3 (kdeadmin-3.1.4_1) * misc/kdeaddons3 (kdeaddons-3.1.4) ! editors/openoffice-1.1 (openoffice-1.1.0_1) (unknown build error) --- Packages processed: 113 done, 0 ignored, 15 skipped and 3 failed ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade for KDE [ part of 5.2 portupgrade hairball ]
On Saturday 17 April 2004 09:24 am, Kent Stewart wrote: What must I do to resolve the KDE install error(s)? You have to pkg_delete kdebase-3.1.4 before you can update kde to 3.2.1. The Makefile for kdelibs has CONFLICTS= kdebase-3.1.* and it won't build until you have deleted kdebase. After pkg_delete (or make deinstall??) on kdebase-3.1.4, should I re-start my portupgrade on expat2, (# portupgrade -rf textproc/expat2), or is there a better/quicker way to reach the objective state? Thanks, Jay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade for KDE [ part of 5.2 portupgrade hairball ]
On Saturday 17 April 2004 09:33 am, Jay Moore wrote: On Saturday 17 April 2004 09:24 am, Kent Stewart wrote: What must I do to resolve the KDE install error(s)? You have to pkg_delete kdebase-3.1.4 before you can update kde to 3.2.1. The Makefile for kdelibs has CONFLICTS= kdebase-3.1.* and it won't build until you have deleted kdebase. After pkg_delete (or make deinstall??) on kdebase-3.1.4, should I re-start my portupgrade on expat2, (# portupgrade -rf textproc/expat2), or is there a better/quicker way to reach the objective state? You probably can but more likely there will be some more manual portupgrades that you have to run. A write up is on http://freebsd.kde.org/ They also explain why packages have not been built. I can hear one of them and will have ro rebuild the 2 kdeports on my topaz machine. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
I wanted to send my heartfelt thanks to all who chimed in with helpful suggestions on my portupgrade problem. I have now learned that ports-all is proably the best option for a ports-supfile, and I'll have to look into the issue about a refuse file instead when I want to limit the selection. I have also learnt the importance of running 'portsdb -Uu' after upgrading. Now I think I know how to do these things and after another upgrade I think I'm ready to at least do the cvsup part using cron. Once again, many thanks! /andreas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
You're welcome :). Cheers, Martin On Sat, Apr 10, 2004 at 04:51:10PM +0200 or thereabouts, Andreas Davour wrote: I wanted to send my heartfelt thanks to all who chimed in with helpful suggestions on my portupgrade problem. I have now learned that ports-all is proably the best option for a ports-supfile, and I'll have to look into the issue about a refuse file instead when I want to limit the selection. I have also learnt the importance of running 'portsdb -Uu' after upgrading. Now I think I know how to do these things and after another upgrade I think I'm ready to at least do the cvsup part using cron. Once again, many thanks! -- =-- : :. kind regards :.. Martin Hudec :.: :.: :m: +421.907.303393 :.: :@: [EMAIL PROTECTED] :.: :w: http://www.aeternal.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Saturday 10 April 2004 07:51 am, Andreas Davour wrote: I wanted to send my heartfelt thanks to all who chimed in with helpful suggestions on my portupgrade problem. I have now learned that ports-all is proably the best option for a ports-supfile, and I'll have to look into the issue about a refuse file instead when I want to limit the selection. I have also learnt the importance of running 'portsdb -Uu' after upgrading. Since you will now be running portsdb -uU, you should refuse ports/INDEX[-5]. This dependis on whether you are running 4.x or [-5] if you are running 5.x. You are going to recreate the INDEX file and it takes a long time to redownload even over a 100Mbps network. Since you have recreated your INDEX file, cvsup will download it everytime you cvsup ports-all. The refuse saves you from re-downloading a don't need 5 MB file. Now I think I know how to do these things and after another upgrade I think I'm ready to at least do the cvsup part using cron. The hardest part of a cron job is finding that magic time after the hour that never fails because your cvsup-mirror is over committed. The mirrors always update on the hour and you have to wait at least 10 minutes for the mirror to finish its cvsup. If you don't, you are getting data from the mirror's previous update. I currently schedule my local mirror update at 25 minutes after the hour. It has been more than 2 days since the update failed. All mirrors are not created equal. When something major like FreeBSD 4.10 is released, there is no magic time and you will probably find that the cronjob frequently fails for around a day. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
Kent Stewart wrote: On Saturday 10 April 2004 07:51 am, Andreas Davour wrote: Now I think I know how to do these things and after another upgrade I think I'm ready to at least do the cvsup part using cron. The hardest part of a cron job is finding that magic time after the hour that never fails because your cvsup-mirror is over committed. The mirrors always update on the hour and you have to wait at least 10 minutes for the mirror to finish its cvsup. If you don't, you are getting data from the mirror's previous update. Try something like: cvsup /etc/ports-supfile portsdb -Uu ...as your cron job, or else put the commands into a script which you run from cron. The second command will run once the first command is finished, so you don't need to worry about the cvsup not finishing before doing the portsdb. [ I don't see a need to automaticly update the ports tree every hour from a cvsup mirror: doing so creates 24 cvsup sessions per day per machine. Isn't once a day frequent enough? :-) ] -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Saturday 10 April 2004 12:05 pm, Chuck Swiger wrote: Kent Stewart wrote: On Saturday 10 April 2004 07:51 am, Andreas Davour wrote: Now I think I know how to do these things and after another upgrade I think I'm ready to at least do the cvsup part using cron. The hardest part of a cron job is finding that magic time after the hour that never fails because your cvsup-mirror is over committed. The mirrors always update on the hour and you have to wait at least 10 minutes for the mirror to finish its cvsup. If you don't, you are getting data from the mirror's previous update. Try something like: cvsup /etc/ports-supfile portsdb -Uu ...as your cron job, or else put the commands into a script which you run from cron. The second command will run once the first command is finished, so you don't need to worry about the cvsup not finishing before doing the portsdb. [ I don't see a need to automaticly update the ports tree every hour from a cvsup mirror: doing so creates 24 cvsup sessions per day per machine. Isn't once a day frequent enough? :-) ] I do it twice and cvsup my mirror about every 4 hours. My cronjob fires off uports. It is ruby# cat uports #! /bin/sh export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin cd /root/cvsup cvsup -g -L 2 ports-supfile 21 | tee /var/log/build/ports_cvsup.log cd /var/log/build # Now convert the log to html` cvsuplog ports_cvsup.log ports-`date +%Y%m%d-%H%M`.html # Now update the index pages. cd /usr/ports # # make bzip2 backup and save 4 old ones for the days when make index # is broken # rm INDEX.3.bz2 mv INDEX.2.bz2 INDEX.3.bz2 mv INDEX.1.bz2 INDEX.2.bz2 mv INDEX.0.bz2 INDEX.1.bz2 bzip2 -c INDEX INDEX.0.bz2 # # make new INDEX # make index 21 | tee /var/log/build/make-index-`date +%Y%m%d-%H%M`.log portsdb -u I could do the thing but I want the log more than I care if it runs or not. I could cut back on some of the tee but I see mail after it runs. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
Kent Stewart wrote: On Saturday 10 April 2004 12:05 pm, Chuck Swiger wrote: [ ... ] I could do the thing but I want the log more than I care if it runs or not. I could cut back on some of the tee but I see mail after it runs. That's OK-- the thing is mostly useful within a one-liner anyway. Your script already has explicit sequencing of lines anyway and does a few more useful things, besides. :-) -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Saturday 10 April 2004 01:17 pm, Chuck Swiger wrote: Kent Stewart wrote: On Saturday 10 April 2004 12:05 pm, Chuck Swiger wrote: [ ... ] I could do the thing but I want the log more than I care if it runs or not. I could cut back on some of the tee but I see mail after it runs. That's OK-- the thing is mostly useful within a one-liner anyway. Your script already has explicit sequencing of lines anyway and does a few more useful things, besides. :-) FWIW, the mirror is on a slower machine that 6 other computers use. The INDEX files are only built on an AMD 2400+. They are ftp'ed to the other machines where I only do the cvsup and create the logs. The other machines are only cvsup'ed when necessary. They may go for several weeks. When the ports are updated, they are updated from packages created on ruby and shared on the other 4.x computers.. I try to keep ruby in such a state that if someone has problems building a port, I can test build it on an up todate system. The logs let me come close to pin pointing who broke things if it was the committer. Cvsuplog makes that easier because it creates an HTML link to the cvsweb cgi for the file that was changed. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
Andreas Davour wrote: Hi! I just decided to take a deep breath and cvsup some fresh ports. Now, having done that I have run 'portupgrade -ar' and constantly found it to stop some problems. Some ports have failed and been flagged as configure error or install error. Then I have tried to do a manual install of those ports and found that a make deinstall; make reinstall have worked, just like the port instructed me to do when it failed. I found it strange that portupgrade didn't do that for me. Having done that I restarted portupgrade and it would proceed a bit before stumbling to a halt again. Now I have reached the end of what I can fix manually, though. For some reason portupgrade stubbornly complains that: ** Listing the failed packages (*:skipped / !:failed) ! accessibility/atk (atk-1.4.1_1) (port directory error) And it is correct in that there *is* no accessibility/atk port in my new cvsup'ed ports tree. But why is it then telling me it needs it!? Can I get the atk ports from somewhere? Is it really needed? Why has it dissapeared and why is it still mentioned as a dependency then? If anyone can shed some light on those matters, then I'm all ears. I can't get a new version of Firefox to compile without atk so I'm very interested in getting this to work. I have run 'pkgdb -F' and tried to remove the dependecy, but have not succeeded. I'm not even sure it would be wise to do it... Help? /andreas It is best to have a ports tree that contains almost everything except foreign languages when using BSD on a workstation or in a desktop environment --- there are so many dependancies. That said, you haven't told us how old your ports tree is; please look at /usr/ports/UPDATING and note that in the last few months there have been a couple of big issues, namely new versions of expat and gettext, IIRC, that affect many, many of the commonly used 3rd party sw packages/ports. Kevin Kinsey Daleco, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Friday 09 April 2004 11:55 am, Andreas Davour wrote: Hi! I just decided to take a deep breath and cvsup some fresh ports. Now, having done that I have run 'portupgrade -ar' and constantly found it to stop some problems. Some ports have failed and been flagged as configure error or install error. Then I have tried to do a manual install of those ports and found that a make deinstall; make reinstall have worked, just like the port instructed me to do when it failed. I found it strange that portupgrade didn't do that for me. Having done that I restarted portupgrade and it would proceed a bit before stumbling to a halt again. Now I have reached the end of what I can fix manually, though. For some reason portupgrade stubbornly complains that: ** Listing the failed packages (*:skipped / !:failed) ! accessibility/atk (atk-1.4.1_1) (port directory error) And it is correct in that there *is* no accessibility/atk port in my new cvsup'ed ports tree. But why is it then telling me it needs it!? Can I get the atk ports from somewhere? Is it really needed? Why has it dissapeared and why is it still mentioned as a dependency then? If anyone can shed some light on those matters, then I'm all ears. I can't get a new version of Firefox to compile without atk so I'm very interested in getting this to work. I have run 'pkgdb -F' and tried to remove the dependecy, but have not succeeded. I'm not even sure it would be wise to do it... Help? Firefox depends on gtk-2.4.0, which depends on atk. All of these problems relate back to updating dependancies of glib-2.4.0. The question at this point is what you updated and the order. If you were starting out clean, a portupgrade -rR glib would have done most of this but I wouldn't bet money. I eventually did a -rf glib to get things built cleanly. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Fri, 9 Apr 2004, Andrew L. Gould wrote: On Friday 09 April 2004 01:55 pm, Andreas Davour wrote: [snip] If anyone can shed some light on those matters, then I'm all ears. I can't get a new version of Firefox to compile without atk so I'm very interested in getting this to work. I have run 'pkgdb -F' and tried to remove the dependecy, but have not succeeded. I'm not even sure it would be wise to do it... Did you remember to execute 'pkgdb -Uu' after cvsup and before portupgrade? So be quite frank, I have no idea! I think I followed all instructions quite litterally. But portupgrade was mentioned in the handbook and the cookbook examples I found on the web differed somewhat. I no longer remembered if I did a 'pkgdb -Uu' or not. I there any telltale signs showing in the narrative in my first post that indicates I forgot it? Is it recommendable I run it now then? /andreas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
Andreas Davour wrote: Hi! And it is correct in that there *is* no accessibility/atk port in my new cvsup'ed ports tree. But why is it then telling me it needs it!? Because it's a dependancy of about 538 distinct ports, at least one of which you must have installed GNOME, perhaps Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
Hello, I am using portupgrade -airR for a long long time without any signs of trouble :), just for few days I am observing a message from portaudit regarding of upgrading my Midnight Commander that due to bug in mc (as do portaudit say) there will be no upgrade :). I thought that that bug was fixed in 4.6.0_9 version, but portaudit still complains.. Cheers, Martin On Fri, Apr 09, 2004 at 12:12:47PM -0700 or thereabouts, Kent Stewart wrote: The question at this point is what you updated and the order. If you were starting out clean, a portupgrade -rR glib would have done most of this but I wouldn't bet money. I eventually did a -rf glib to get things built cleanly. -- =-- : :. kind regards :.. Martin Hudec :.: :.: :m: +421.907.303393 :.: :@: [EMAIL PROTECTED] :.: :w: http://www.aeternal.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Fri, 9 Apr 2004, Kevin D. Kinsey, DaleCo, S.P. wrote: It is best to have a ports tree that contains almost everything except foreign languages when using BSD on a workstation or in a desktop environment --- there are so many dependancies. So I thought. I edited away everything that was exotic languages ports and kept the rest. That said, you haven't told us how old your ports tree is; please look at /usr/ports/UPDATING and note that in the last few months there have been a couple of big issues, namely new versions of expat and gettext, IIRC, that affect many, many of the commonly used 3rd party sw packages/ports. Stupid me. I had 5.2-RELEASE installed, and did a cvsup 4 days ago. I have followed all the instructions in the UPDATING file. /andreas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
Hi Andreas, don't you really have atk in /usr/ports/accessibility/atk directory? Perhaps look into ports-supfile.. do you have there ports-all enabled? cheers, Martin On Fri, Apr 09, 2004 at 08:55:04PM +0200 or thereabouts, Andreas Davour wrote: And it is correct in that there *is* no accessibility/atk port in my new cvsup'ed ports tree. But why is it then telling me it needs it!? Can I get the atk ports from somewhere? Is it really needed? Why has it dissapeared and why is it still mentioned as a dependency then? -- =-- : :. kind regards :.. Martin Hudec :.: :.: :m: +421.907.303393 :.: :@: [EMAIL PROTECTED] :.: :w: http://www.aeternal.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Fri, 9 Apr 2004, Kent Stewart wrote: Firefox depends on gtk-2.4.0, which depends on atk. All of these problems relate back to updating dependancies of glib-2.4.0. Ok, that at least explains why atk seems so important. The question at this point is what you updated and the order. If you were starting out clean, a portupgrade -rR glib would have done most of this but I wouldn't bet money. I eventually did a -rf glib to get things built cleanly. Well, I started out with a clean 5.2-RELEASE and did cvsup 4 days ago. I don't remember seeing glib being upgraded, but I guess I could always try to '-rf glib' if it is a problem. It still don't tell me why I have no directory for atk, though... /andreas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Fri, 9 Apr 2004, Kevin D. Kinsey, DaleCo, S.P. wrote: Andreas Davour wrote: Hi! And it is correct in that there *is* no accessibility/atk port in my new cvsup'ed ports tree. But why is it then telling me it needs it!? Because it's a dependancy of about 538 distinct ports, at least one of which you must have installed GNOME, perhaps 538!! Well, I haven't installed GNOME, but some other port might depend on some GNOME component, I guess. That sounds like an important port. I don't understand why I wasn't getting it when I cvsup'ed then. Is there a line the the ports-supfile which should read 'ports-accessibility'? Maybe I should add it and cvsup again. /andreas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Fri, 9 Apr 2004, Martin Hudec wrote: Hi Andreas, don't you really have atk in /usr/ports/accessibility/atk directory? No. Perhaps look into ports-supfile.. do you have there ports-all enabled? No, I have it commented out, since I left all the individual ports collections in there instead, except for arabic, hebrew and some other exotic languages. Could it be I have made such a basic mistake as to not cvsup'ed a vital dependedcy?! I kind of figured the newly cvsup'ed port of cvsup would have included a new example file of ports-supfile if that had been the problem. One should never *expect* a computer to do something I guess. Would something strange happen now if I added a line for 'ports-accessability' in my ports-supfile and tried to cvsup again? I guess I *really* should do a pkgdb -Uu then? /Andreas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Fri, Apr 09, 2004 at 09:34:09PM +0200, Andreas Davour wrote: On Fri, 9 Apr 2004, Martin Hudec wrote: Hi Andreas, don't you really have atk in /usr/ports/accessibility/atk directory? No. Perhaps look into ports-supfile.. do you have there ports-all enabled? No, I have it commented out, since I left all the individual ports collections in there instead, except for arabic, hebrew and some other exotic languages. That was a bad idea, since new collections are added from time to time. If you really feel the need to avoid fetching some ports-categories it is better to use a refuse file instead. Personally I stopped doing even that some time ago, since some make targets require a complete ports tree. Unless you are seriously short on diskspace I would strongly recommend using 'ports-all' to a complete ports tree. Could it be I have made such a basic mistake as to not cvsup'ed a vital dependedcy?! I kind of figured the newly cvsup'ed port of cvsup would have included a new example file of ports-supfile if that had been the problem. It does seem as if your ports-supfile is at fault, yes. One should never *expect* a computer to do something I guess. Would something strange happen now if I added a line for 'ports-accessability' in my ports-supfile and tried to cvsup again? Probably not. I guess I *really* should do a pkgdb -Uu then? -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Friday 09 April 2004 12:34 pm, Andreas Davour wrote: On Fri, 9 Apr 2004, Martin Hudec wrote: Hi Andreas, don't you really have atk in /usr/ports/accessibility/atk directory? No. Perhaps look into ports-supfile.. do you have there ports-all enabled? No, I have it commented out, since I left all the individual ports collections in there instead, except for arabic, hebrew and some other exotic languages. Could it be I have made such a basic mistake as to not cvsup'ed a vital dependedcy?! I kind of figured the newly cvsup'ed port of cvsup would have included a new example file of ports-supfile if that had been the problem. One should never *expect* a computer to do something I guess. Would something strange happen now if I added a line for 'ports-accessability' in my ports-supfile and tried to cvsup again? I guess I *really* should do a pkgdb -Uu then? You have to remember the INDEX is created by make and when you leave items out, things can go to hell very quickly. If you want an real INDEX, you cvsup ports-all and don't refuse anymore than ports/INDEX. You never know when a new dependancy has been added that depends on something you don't think is important. Ports-all keeps you on top of it. Kent /Andreas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
Andreas Davour [EMAIL PROTECTED] writes: That sounds like an important port. I don't understand why I wasn't getting it when I cvsup'ed then. Is there a line the the ports-supfile which should read 'ports-accessibility'? Maybe I should add it and cvsup again. There probably wasn't such a category when you created your supfile, but there is now. For the complete list, see /usr/share/examples/cvsup/ports-supfile on a recently updated system (or check cvsweb). I find it easier to to use the ports-all category, and then use a refuse file for the categories I *don't* want. That way new categories are added by default, rather than left out by default. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
Andreas Davour wrote: On Fri, 9 Apr 2004, Martin Hudec wrote: Could it be I have made such a basic mistake as to not cvsup'ed a vital dependedcy?! I kind of figured the newly cvsup'ed port of cvsup would have included a new example file of ports-supfile if that had been the problem. One should never *expect* a computer to do something I guess. Would something strange happen now if I added a line for 'ports-accessability' in my ports-supfile and tried to cvsup again? Your supfile must predate 1/24/2004, when the accessibility category was added. See: http://www.freebsd.org/cgi/cvsweb.cgi/src/share/examples/cvsup/ports-supfile If you've updated your source tree, a new copy should be in /usr/src/share/examples/cvsup/. If you've done a recent installworld then it'd also be in /usr/share/examples/cvsup/. Lastly, but not leastly, you could grab the latest version from: http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/share/examples/cvsup/ports-supfile?rev=1.31content-type=text/plain Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Fri, Apr 09, 2004 at 08:55:04PM +0200, Andreas Davour wrote: ** Listing the failed packages (*:skipped / !:failed) ! accessibility/atk (atk-1.4.1_1) (port directory error) And it is correct in that there *is* no accessibility/atk port in my new cvsup'ed ports tree. But why is it then telling me it needs it!? You need to cvsup(1) again -- the accessibility/atk port is definitely in the tree now: % ls -la accessibility/atk/ total 11 drwxr-xr-x 3 root wheel 512 Apr 5 09:49 ./ drwxr-xr-x 12 root wheel 512 Apr 2 09:58 ../ -rw-r--r-- 1 root wheel 776 Apr 5 09:49 Makefile -rw-r--r-- 1 root wheel 107 Apr 5 09:49 distinfo drwxr-xr-x 2 root wheel 512 Apr 5 09:49 files/ -rw-r--r-- 1 root wheel 252 Apr 5 09:49 pkg-descr -rw-r--r-- 1 root wheel 4202 Apr 5 09:49 pkg-plist 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
Re: Portupgrade problem
Andreas Davour writes: Well, I started out with a clean 5.2-RELEASE and did cvsup 4 days ago. I don't remember seeing glib being upgraded, but I guess I could always try to '-rf glib' if it is a problem. And on that day, your karma really sucked. GNOME-of-the-myriad-compoments-which-are-used-by-non-GNOME-things had a red flag day upgrade (2.4 - 2.6) right around then. To unbreak a whole bunch of ports, one had to do the whole GNOME rebuild. (Which, though time sunsuming, was surprisingly painless for something of that size.) Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Fri, Apr 09, 2004 at 09:14:07PM +0200, Andreas Davour wrote: On Fri, 9 Apr 2004, Andrew L. Gould wrote: On Friday 09 April 2004 01:55 pm, Andreas Davour wrote: [snip] If anyone can shed some light on those matters, then I'm all ears. I can't get a new version of Firefox to compile without atk so I'm very interested in getting this to work. I have run 'pkgdb -F' and tried to remove the dependecy, but have not succeeded. I'm not even sure it would be wise to do it... Did you remember to execute 'pkgdb -Uu' after cvsup and before portupgrade? So be quite frank, I have no idea! I think I followed all instructions quite litterally. But portupgrade was mentioned in the handbook and the cookbook examples I found on the web differed somewhat. I no longer remembered if I did a 'pkgdb -Uu' or not. I there any telltale signs showing in the narrative in my first post that indicates I forgot it? Is it recommendable I run it now then? /andreas If I can offer a practical tip re cvsu'ing and running 'pkgdb -Uu', why not script it and run it out of cron? That's how I make sure tht my ports tree is neat nd clean. When I do a portupgrade, my script runs pkgdb -F as a first steps. ...Just my dime's worth. cheers! gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Fri, 9 Apr 2004, Gary Kline wrote: If I can offer a practical tip re cvsu'ing and running 'pkgdb -Uu', why not script it and run it out of cron? That's how I make sure tht my ports tree is neat nd clean. Well, when I have succeeded in doing a portupgrade by hand I think that might be an option. I must feel confident that it works before I dare script it by cron. One thing confuses me, though. I refers to 'pkgdb -Uu', but the man page for that program don't mention a -U flag. There is another program called 'portsdb' that have both a -u and a -U flag. Which one am I supposed to use. Both? /andreas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Friday 09 April 2004 01:00 pm, Gary Kline wrote: On Fri, Apr 09, 2004 at 09:14:07PM +0200, Andreas Davour wrote: On Fri, 9 Apr 2004, Andrew L. Gould wrote: On Friday 09 April 2004 01:55 pm, Andreas Davour wrote: [snip] If anyone can shed some light on those matters, then I'm all ears. I can't get a new version of Firefox to compile without atk so I'm very interested in getting this to work. I have run 'pkgdb -F' and tried to remove the dependecy, but have not succeeded. I'm not even sure it would be wise to do it... Did you remember to execute 'pkgdb -Uu' after cvsup and before portupgrade? So be quite frank, I have no idea! I think I followed all instructions quite litterally. But portupgrade was mentioned in the handbook and the cookbook examples I found on the web differed somewhat. I no longer remembered if I did a 'pkgdb -Uu' or not. I there any telltale signs showing in the narrative in my first post that indicates I forgot it? Is it recommendable I run it now then? /andreas If I can offer a practical tip re cvsu'ing and running 'pkgdb -Uu', why not script it and run it out of cron? That's how I make sure tht my ports tree is neat nd clean. I run a cvsup of ports-all on a machine I usually use for testing. If something breaks down, I have the other machines to recover it from. I log everything and convert it into html using Ben Smithurst's cvsuplog. Then, I upade my INDEX[-5] and INDEX.db; however, before I build the new INDEX, I convert the current INDEX into a bzip2'ed file and keep 3 backups. A major disaster building INDEX is easily overcome by unzipping one of the backups and the appropriate INDEX. When I do a portupgrade, my script runs pkgdb -F as a first steps. ...Just my dime's worth. My dimes worth is that I won't run anything in a cronjob that may require an answer from me. I also don't run pkgdb -F until portupgrade tells me to do that. Since it updates the information when it is doing upgrades, you only need to do it when it really has to be done. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Friday 09 April 2004 01:08 pm, Andreas Davour wrote: On Fri, 9 Apr 2004, Gary Kline wrote: If I can offer a practical tip re cvsu'ing and running 'pkgdb -Uu', why not script it and run it out of cron? That's how I make sure tht my ports tree is neat nd clean. Well, when I have succeeded in doing a portupgrade by hand I think that might be an option. I must feel confident that it works before I dare script it by cron. One thing confuses me, though. I refers to 'pkgdb -Uu', but the man page for that program don't mention a -U flag. There is another program called 'portsdb' that have both a -u and a -U flag. Which one am I supposed to use. Both? You figured out the right one. I frequently mix the 2 up but only one has the -uU option :). I use make index instead of portsdb -u but portsdb now uses make index to build INDEX[-5]. So my way isn't different any more. I also forgot to add that I use a cronjob to do the cvsup but I do it twice a day. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Friday 09 April 2004 01:31 pm, Kent Stewart wrote: On Friday 09 April 2004 01:08 pm, Andreas Davour wrote: On Fri, 9 Apr 2004, Gary Kline wrote: If I can offer a practical tip re cvsu'ing and running 'pkgdb -Uu', why not script it and run it out of cron? That's how I make sure tht my ports tree is neat nd clean. Well, when I have succeeded in doing a portupgrade by hand I think that might be an option. I must feel confident that it works before I dare script it by cron. One thing confuses me, though. I refers to 'pkgdb -Uu', but the man page for that program don't mention a -U flag. There is another program called 'portsdb' that have both a -u and a -U flag. Which one am I supposed to use. Both? You figured out the right one. I frequently mix the 2 up but only one has the -uU option :). I use make index instead of portsdb -u but portsdb now uses make index to build INDEX[-5]. So my way isn't different any more. One more correction. It is portsdb -U to build the INDEX. I do use portsdb -u to build INDEX.db. Kent I also forgot to add that I use a cronjob to do the cvsup but I do it twice a day. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Fri, Apr 09, 2004 at 01:19:47PM -0700, Kent Stewart wrote: On Friday 09 April 2004 01:00 pm, Gary Kline wrote: On Fri, Apr 09, 2004 at 09:14:07PM +0200, Andreas Davour wrote: On Fri, 9 Apr 2004, Andrew L. Gould wrote: On Friday 09 April 2004 01:55 pm, Andreas Davour wrote: [snip] I run a cvsup of ports-all on a machine I usually use for testing. If something breaks down, I have the other machines to recover it from. I log everything and convert it into html using Ben Smithurst's cvsuplog. Then, I upade my INDEX[-5] and INDEX.db; however, before I build the new INDEX, I convert the current INDEX into a bzip2'ed file and keep 3 backups. A major disaster building INDEX is easily overcome by unzipping one of the backups and the appropriate INDEX. (Wisdom personified) When I do a portupgrade, my script runs pkgdb -F as a first steps. ...Just my dime's worth. My dimes worth is that I won't run anything in a cronjob that may require an answer from me. I also don't run pkgdb -F until portupgrade tells me to do that. Since it updates the information when it is doing upgrades, you only need to do it when it really has to be done. To clear things up a bit, my upgrade scripts are not cron'd. --Experience is a solid teacher.-- One script does basically a portupgrade -ia, the other simply a -a; either way I have to sit thru the pkgdb -F. The rest of the scripts do portclean and leave a log of what needs to be upgraded. gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
On Friday 09 April 2004 02:22 pm, Gary Kline wrote: On Fri, Apr 09, 2004 at 01:19:47PM -0700, Kent Stewart wrote: On Friday 09 April 2004 01:00 pm, Gary Kline wrote: On Fri, Apr 09, 2004 at 09:14:07PM +0200, Andreas Davour wrote: On Fri, 9 Apr 2004, Andrew L. Gould wrote: On Friday 09 April 2004 01:55 pm, Andreas Davour wrote: [snip] To clear things up a bit, my upgrade scripts are not cron'd. --Experience is a solid teacher.-- One script does basically a portupgrade -ia, the other simply a -a; either way I have to sit thru the pkgdb -F. The rest of the scripts do portclean and leave a log of what needs to be upgraded. One of the things I don't log is the ports that need to be updated after I have new INDEX* files. That made redoing things after the glib-2.4.0 update more difficult. The process I used had built something out of order and had a port that still wanted libglib-2.0.so.200 instead of the new .so.400. If I had the log, I could have just force rebuilt everything instead of letting ruby (an AMD 2400+) spend 13 hours doing a -rf glib. When I get back from dinner, I think I will create a script to log the portversion -c. Then, I will have a list of ports that need to be updated. Hindsight after a problem is a good teacher. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem
The freebsd gnome website suggests downloading their gnome upgrading script instead of using the standard portupgrade process. In some cases, they claim that things may break if you don't do it with their script. freebsd.org/gnome Lucas Holt [EMAIL PROTECTED] FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) 'I try to think but nothing happens' -- Homer Jay Simpson ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade problem w/ dependency?
* Bart Silverstrim [EMAIL PROTECTED] [20040330 17:23]: wrote: After doing a make install on openssl and then a portupgrade -f portupgrade, here's what I ran... server# pkgdb -F --- Checking the package registry database server# portsdb -Uu Updating the ports index ... Generating INDEX.tmp - please wait.. Done. done [Updating the portsdb format:bdb1_btree in /usr/ports ... - 10657 port entries found .1000.2000.3000.4000.5000... ..6000.7000.8000.9000.1.. . done] for file in /var/db/pkg/portupgrade\-*; do pkg_delete -f $file; done reinstall portupgrade by going into /usr/port/blah/blah make install clean -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ What color is a chameleon on a mirror? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade problem w/ dependency?
On Tuesday 30 March 2004 06:20 am, Bart Silverstrim wrote: After doing a make install on openssl and then a portupgrade -f portupgrade, here's what I ran... server# pkgdb -F --- Checking the package registry database server# portsdb -Uu Updating the ports index ... Generating INDEX.tmp - please wait.. Done. done [Updating the portsdb format:bdb1_btree in /usr/ports ... - 10657 port entries found .1000.2000.3000.4000.5000 ... ..6000.7000.8000.9000.1.. . done] server# pkdgdb -F pkdgdb: Command not found. server# pkgdb -F --- Checking the package registry database server# This was what was happening after my previous selection of the portupgrade as a dependency using tab completion (it wouldn't allow openssl with tab completion); no errors seemed to show up afterwards. How can I tell that the link/dependency is properly fixed with portupgrade now, or does the above show it's okay? I don't know if now portupgrade has a circular dependency or not... :-( (below was the exchange that started my problem in the first place and prompted me to send to the list) I'd think that the command failed part meant nothing was changed?...below was what prompted the question, above is the output after installing openssl and going portupgrade -f portupgrade, sorry for the out-of-sequence-of-events-posting :-) This shows normal output. If nothing is wrong with the links, pkgdb -F doesn't do anything. I have seen portupgrade do what you had happen. It doesn't always do that but will install the ports that is needs. If you have a version of openssl installed and don't portupgrade -R portupgrade It can also leave you with the broken link that you saw originally. What is broken right now is the dependancy of portupgrade. If you do a run the following cd /usr/ports make search name=portupgrade Openssl will not be listed. If you portupgrade -f porupgrade, you can see it clean for openssl. Something is broken but if you know that the message is really telling you that openssl needed to be updated, you won't have a problem. The latest version may have fixed the problem since it cleaned for openssl. I don't know. For right now, I would just remember how you fixed it by updating openssl and know that you should never point a port back to itself. You have to skip and drop out of the pkgdb -F before you can fix the broken link. You are doing a number of things you don't need to. For example, I only run pkgdb -F when the system tells me to. I have a script that cvsup updates only ports-all and immediately after the cvsup, The script runs the equivalent of portsdb -uU. That is the only time portsdb -uU needs to be run. If you use a script, it will always be run when it needs to be run. In a normal situation, I never run pkgdb or portsdb from the command line. I may go for weeks without running pkgdb -F but I have a cron job that updates ports-all at 4am and 4pm. I try to keep my system clean so that I can answer questions like yours. I follow -ports@ and cvs-all@ and in the past would only upgrade my ports when something significant came along. The updates may have been weeks apart. I don't fix things that aren't broken and there are a lot of ports that seem to be updated for no special reason. I keep my systems current because if I have to spend 4 hours updating ruby before I can test your problem, my response is going to be kind of slow. Ruby is an AMD 2400+ XP with a lot of HD space and memory. When I did the portupgrade -rf expat2, it required 13 hours. That would have been a really slow response :). Half of any problem is knowing if it is probably on your end and not a generic problem affecting everyone. If two or more people have the same problem, it is probably something generic on the FreeBSD end and many times you can easily track down who broke ports-all. I keep all of the cvs-all messages for a week. The change that broke things will be in there along with the email address of the person making the change. Kent server# pkgdb -F --- Checking the package registry database Stale dependency: portupgrade-20040325_1 - openssl-0.9.7d (security/openssl): New dependency? (? to help): ? [Enter] to skip, [Ctrl]+[D] to delete, [.][Enter] to abort, [Tab] to complete New dependency? (? to help): portupgrade-20040325_1 Fixed. (- portupgrade-20040325_1) Cyclic dependencies: portupgrade-20040325_1 - (portupgrade-20040325_1) Unlink portupgrade-20040325_1 - portupgrade-20040325_1 ? [yes] Command failed [exit code 1]: grep -v \^portupgrade-20040325_1\\\$\ /var/db/pkg/portupgrade-20040325_1/+REQUIRED_BY /tmp/+REQUIRED_BY82988.0 server# * Thanks, -Bart -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list
Re: portupgrade question
On Monday 29 March 2004 12:03 pm, Bart Silverstrim wrote: I recently ran a portupgrade on one of our servers. The following error and exchange came up: server# pkgdb -F --- Checking the package registry database Stale dependency: portupgrade-20040325_1 - openssl-0.9.7d (security/openssl): New dependency? (? to help): ? [Enter] to skip, [Ctrl]+[D] to delete, [.][Enter] to abort, [Tab] to complete New dependency? (? to help): portupgrade-20040325_1 Fixed. (- portupgrade-20040325_1) Cyclic dependencies: portupgrade-20040325_1 - (portupgrade-20040325_1) Unlink portupgrade-20040325_1 - portupgrade-20040325_1 ? [yes] Command failed [exit code 1]: grep -v \^portupgrade-20040325_1\\\$\ /var/db/pkg/portupgrade-20040325_1/+REQUIRED_BY /tmp/+REQUIRED_BY82988.0 server# What should I have chosen? pkgdb -F doesn't find any problems now, and no errors that I *see* are coming up, but should I deinstall and reinstall portupgrade or have I done something wrong to the database? How can I fix it? It was complaining because you didn have openssl installed, so you need to install openssl-0.9.7d and link portupgrade to it. It is probably faster to just portupgrade portupgrade again but things can go wrong :). Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade upgrading ports i don't want
On 28 Mar 2004 at 15:20, dave wrote: Hello, I've got a system i'm using portupgrade on. I've got a pkgtools.conf file with make_args defined for ports. I'm using combinations of portupgrade -arR and various ways of that, yet when it gets to the mod_php4 port portupgrade is trying to install mysql4 which i do not want. Anyone know which of the -rR switches is responsible for this? Also can i have a make arg like: packagename = 'install clean' That does not appear to be working. My guess: try a make rmconfig in the mod_php4 directory. By default PHP wants to give you MySQL support. Or try installing mod_php4 manually. -- Dan Langille : http://www.langille.org/ BSDCan - http://www.bsdcan.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade upgrading ports i don't want
Hello, Thanks, i tried make rmconfig in lang/php4 and www/mod_php4 and in both cases it said i had no user defined options. I have also tried using only the -a and the -ar options to portupgrade, and adding to the make args line for mod_php4 -DWITH_MYSQL=no all of this has not worked it is still trying to install mysql. Please keep the suggestions coming. Dave. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade upgrading ports i don't want
On Sun, 28 Mar 2004, dave wrote: Thanks, i tried make rmconfig in lang/php4 and www/mod_php4 and in both cases it said i had no user defined options. I have also tried using only the -a and the -ar options to portupgrade, and adding to the make args line for mod_php4 -DWITH_MYSQL=no all of this has not worked it is still trying to install mysql. Please keep the suggestions coming. Manually make deinstall for mod_php4, then try it again: make -DWITHOUT_MYSQL install -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade -arR fails - port/pkg-system no longer usable
On Mon, Mar 22, 2004 at 04:05:01PM -, [EMAIL PROTECTED] wrote: Have had the same problem. Easiest solution is to cd to /usr/ports/sysutils/portupgrade and make deinstall clean install Once that completes all is well again. Hi Jon, Thanks much for the hint! It absolutely did the trick! -ewald ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade -arR fails - port/pkg-system no longer usable
Have had the same problem. Easiest solution is to cd to /usr/ports/sysutils/portupgrade and make deinstall clean install Once that completes all is well again. Jon Mercer http://www.achean.com Hi, Doing a portupgrade -arR rendered my system (esp. the parts that refer to ports/packages) more or less unusable. Here's what I did: System is running 4.9 cvsup -g -L 2 ports-supfile pkgdb -F portsdb -Uu cd /usr/ports portupgrade -arR After some hours worth of CPU-time I ended with a lot of ports not been upgraded like e.g. ! graphics/png (png-1.2.5_2)(uninstall error) ! textproc/xmlcatmgr (xmlcatmgr-0.2_1) (uninstall error) ! textproc/sdocbook-xml (sdocbook-xml-4.1.2.5_1)(uninstall error) ! lang/ruby16-shim-ruby18 (ruby-shim-ruby18-1.8.0.p2.2003.04.19_1) (uninstall error) ! devel/libtool13 (libtool-1.3.5_1) (uninstall error) ! converters/libiconv (libiconv-1.9.1_1)(uninstall error) ! textproc/expat2 (expat-1.95.6_1) (uninstall error) ! archivers/lha (lha-1.14i_1) (uninstall error) ! textproc/py-expat (py23-expat-2.3_2) (unknown build error) ! graphics/jpeg (jpeg-6b_1) (uninstall error) ! textproc/docbook-sk (docbook-sk-4.1.2)(uninstall error) ! textproc/docbook-xsl (docbook-xsl-1.61.3_1) (uninstall error) ! graphics/tiff (tiff-3.5.7_1) (uninstall error) ! devel/gettext (gettext-0.12.1)(unknown build error) ! databases/ruby-bdb1 (ruby-bdb1-0.2.1) (uninstall error) ! graphics/lcms (lcms-1.09,1) (uninstall error) ! sysutils/portupgrade (portupgrade-20030723) (uninstall error) ! devel/libltdl (libltdl-1.5) (uninstall error) ! lang/guile (guile-1.6.4_2)(uninstall error) ! devel/pkgconfig (pkgconfig-0.15.0)(uninstall error) etc.etc. So I tried # pkgdb -F /usr/local/sbin/pkgdb:35:in `require': No such file to load -- pkgtools (LoadError) from /usr/local/sbin/pkgdb:35 # and # portsdb -Uu /usr/local/sbin/portsdb:35:in `require': No such file to load -- pkgtools (LoadError) from /usr/local/sbin/portsdb:35 # as well as # portversion /usr/local/sbin/portversion:35:in `require': No such file to load -- pkgtools (LoadError) from /usr/local/sbin/portversion:35 # Please note that I've portupgraded my system with -arR several times in the past without any problems so far. BTW - I'm experiencing the same problems with another system that's running 5.2.1. Any pointer/help in order to get my system going again is very much appreciated! Thanks much in advance for your help, -ewald ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade -arR fails - port/pkg-system no longer usable
On 2004-03-22T16:31:23+0100, Ewald Jenisch wrote: So I tried # pkgdb -F /usr/local/sbin/pkgdb:35:in `require': No such file to load -- pkgtools (LoadError) from /usr/local/sbin/pkgdb:35 [snip] I believe that this is related to the bump of ruby from 1.6 to 1.8, but I could be wrong. If I am right, then read /usr/ports/UPDATING, specifically the entry on 20040226. If I am wrong, then I hope someone else has the right answer. -- Mike perl -e 'print unpack(u,88V]N=%C=\!I;F9O(EN(AE861EG,*);' pgp0.pgp Description: PGP signature
Re: portupgrade -arR fails - port/pkg-system no longer usable
On Monday 22 March 2004 07:31 am, Ewald Jenisch wrote: Hi, Doing a portupgrade -arR rendered my system (esp. the parts that refer to ports/packages) more or less unusable. Here's what I did: System is running 4.9 cvsup -g -L 2 ports-supfile pkgdb -F portsdb -Uu cd /usr/ports portupgrade -arR After some hours worth of CPU-time I ended with a lot of ports not been upgraded like e.g. ! graphics/png (png-1.2.5_2)(uninstall error) ! textproc/xmlcatmgr (xmlcatmgr-0.2_1) (uninstall error) ! textproc/sdocbook-xml (sdocbook-xml-4.1.2.5_1) (uninstall error) ! lang/ruby16-shim-ruby18 (ruby-shim-ruby18-1.8.0.p2.2003.04.19_1) (uninstall error) ! devel/libtool13 (libtool-1.3.5_1) (uninstall error) ! converters/libiconv (libiconv-1.9.1_1)(uninstall error) ! textproc/expat2 (expat-1.95.6_1) (uninstall error) ! archivers/lha (lha-1.14i_1) (uninstall error) ! textproc/py-expat (py23-expat-2.3_2) (unknown build error) ! graphics/jpeg (jpeg-6b_1) (uninstall error) ! textproc/docbook-sk (docbook-sk-4.1.2)(uninstall error) ! textproc/docbook-xsl (docbook-xsl-1.61.3_1) (uninstall error) ! graphics/tiff (tiff-3.5.7_1) (uninstall error) ! devel/gettext (gettext-0.12.1)(unknown build error) ! databases/ruby-bdb1 (ruby-bdb1-0.2.1) (uninstall error) ! graphics/lcms (lcms-1.09,1) (uninstall error) ! sysutils/portupgrade (portupgrade-20030723) (uninstall error) ! devel/libltdl (libltdl-1.5) (uninstall error) ! lang/guile (guile-1.6.4_2)(uninstall error) ! devel/pkgconfig (pkgconfig-0.15.0)(uninstall error) etc.etc. So I tried # pkgdb -F /usr/local/sbin/pkgdb:35:in `require': No such file to load -- pkgtools (LoadError) from /usr/local/sbin/pkgdb:35 # and # portsdb -Uu /usr/local/sbin/portsdb:35:in `require': No such file to load -- pkgtools (LoadError) from /usr/local/sbin/portsdb:35 # as well as # portversion /usr/local/sbin/portversion:35:in `require': No such file to load -- pkgtools (LoadError) from /usr/local/sbin/portversion:35 # Please note that I've portupgraded my system with -arR several times in the past without any problems so far. BTW - I'm experiencing the same problems with another system that's running 5.2.1. Any pointer/help in order to get my system going again is very much appreciated! You need to read /usr/ports/UPDATING to see how to upgrade portupgrade so that it is using ruby-1.8. I only use ruby with portupgrade so it was simple to do a recursive pkg_delete of ruby and reinstall portupgrade. That upgraded ruby to 1.8 and everything was happy. You jumped into the middle of some massive updates. For example, everything that uses expat has to be updated to using the new version. The new portupgrade and pkgdb -F is your friend. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade mod_php4 problems.
samy lancher wrote: mysql-client-3.23.58 is already installed or may be older version blah blah blah... you can uninstall and reinstall mysql blah blah blah ...to install correctly. If you really want to override without deleting use FORCE_PICG_REGISTER blah blah I also tried to install php after doing make clean in /usr/ports/databases/mysql323-client but it did not help me. Any pointer would be very helpful. Thanks in advace. Thanks, Naveen. Make clean doesn't uninstall the mysql client. This simply cleans up the work directories that were created during the build process, whenever you did that... Make deinstall will. Do a make deinstall in the directory you named aboved and then try and let portupgrade do its work. HTH, Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade mod_php4 problems.
Hey, I did make uninstall in usr/ports/databases/mysql323-client. and than i gave the command portupgrade -NPRri mod_php4. This time, mysql-client-4.0.18_1 was installed and at the end of php installation i got the following error: --- Registering installation for mysql-client-4.0.18_1 Returning to build of mod_php4.4-3.4_7,1 Error: shared library mysqlclient.12 does not exist. Do I have to manually copy that file into the system?If so, where can i get that file and in which location in the system should i copy to? I gave pkg_info | grep mysql and i got following results mysql-client-4.0.18_1 mysql-server-3.23.51_1 Thanks again, Naveen. Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] wrote: samy lancher wrote: mysql-client-3.23.58 is already installed or may be older version blah blah blah... you can uninstall and reinstall mysql blah blah blah ...to install correctly. If you really want to override without deleting use FORCE_PICG_REGISTER blah blah I also tried to install php after doing make clean in /usr/ports/databases/mysql323-client but it did not help me. Any pointer would be very helpful. Thanks in advace. Thanks, Naveen. Make clean doesn't uninstall the mysql client. This simply cleans up the work directories that were created during the build process, whenever you did that... Make deinstall will. Do a make deinstall in the directory you named aboved and then try and let portupgrade do its work. HTH, Kevin Kinsey DaleCo, S.P. Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade mod_php4 problems.
Kirk Strauser [EMAIL PROTECTED] wrote: At 2004-03-22T20:25:54Z, samy lancher writes: Hey, Quit top posting. I did make uninstall in usr/ports/databases/mysql323-client. and than i gave the command portupgrade -NPRri mod_php4. This time, mysql-client-4.0.18_1 was installed and at the end of php installation i got the following error: Did you *want* to upgrade to the MySQL 4 client (instead of the version 3 client that matches your server)? All i want to do is install mod_php4 in my system. mysql 4 client was installed automatically when i used portupgrade. --- Registering installation for mysql-client-4.0.18_1 Returning to build of mod_php4.4-3.4_7,1 Error: shared library mysqlclient.12 does not exist. Step one: Pick a version of MySQL, and make sure that your client and server are both at that version. Does mysql-server and mysql-client should have the same version?. Since Mod_php4 has mysql-client as dependency, portupgrade has upgraded mysql-client to necessary version and did not touch mysql-server. Now, my question is: does making mysql-client and mysql-server to same version would really help in installing mod_php4? Thanks, Naveen. Step two: Try that portupgrade again. -- Kirk Strauser 94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box. ATTACHMENT part 2 application/pgp-signature Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade error?
On Sun, 21 Mar 2004 00:57:34 -0500 Ralph M. Los [EMAIL PROTECTED] wrote: Has anyone ever had this problem: [EMAIL PROTECTED]portupgrade mozilla-devel /usr/local/sbin/portupgrade:35:in `require': No such file to load -- pkgtools (LoadError) from /usr/local/sbin/portupgrade:35 Try rebuilding the pkgdb first, iirc that will some times cuase an error like that. You want to rebuild it in fix it. If that does not fix it, reinstall the port... There is one update depending on what you have installed, that iirc, will also cuase an error like that. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]