From owner-freebsd-questions Sun Mar 3 11:23:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by hub.freebsd.org (Postfix) with ESMTP id A644737B433 for ; Sun, 3 Mar 2002 11:23:31 -0800 (PST) Received: from caomhin.demon.co.uk ([212.228.234.119]) by anchor-post-32.mail.demon.net with esmtp (Exim 3.35 #1) id 16hbZw-000Gxu-0W; Sun, 03 Mar 2002 19:23:29 +0000 Message-ID: Date: Sun, 3 Mar 2002 19:23:13 +0000 To: S Roberts Cc: freebsd-questions@FreeBSD.org From: Kevin Golding Subject: Re: Portupgrade Problem? References: In-Reply-To: MIME-Version: 1.0 X-Mailer: Turnpike Integrated Version 5.01 U Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message , S Roberts writes >I'll certainly try your suggestion later on this evening. But could I verify >your advisory (thr order thereof, that is): > >1] Run 'pkg_deinstall -f pkg_tarup'. >2] Go to /usr/ports/sysutils/pkg_tarup and install it from there. >3] Run 'pkgdb -F ' to sort out the ruby conflict Yep. Steps 1 and 2 will correct the location for pkg_tarup and step 3 makes sure your install ports all make sense. If you do step 3 first then it'll query what you want to do with pkg_tarup. It is possible to correct pkg_tarup at this stage it's just that I feel better reinstalling it. >One thing though (bear with me please) from what you said: >" 'pkgdb -F' - it should show any concerns and advise you on methods to >resolve them, but sort out portupgrade like below first. Once this is run >you should only have one copy of Ruby installed and no dependency worries". > >Do I take it that you meant that after: >=> Run de-install / install (new directory) for pkg_tarup > >=> Run 'portupgrade -R portupgrade' to upgrade portupgrade > >*Then* >=> Attempt pkgdb -F to resolve the issue of conflicting ruby entries > >Please let me know if the above looks okay to you. That's what I was getting at, just translated into better English :-) >Sorry if I come across >pedantic over this, but I want to be sure about what I'm doing here. 'Sokay, I probably should have woken up a little more before I wrote my mail. Not that I'm capable of making no sense or anything :-) Kevin >From: Kevin Golding >>In message , S Roberts >> writes >> >Hello, >> > I did the following tonight: >> > >> >1] Cvsup's ports manually >> >2] Ran pkg_verison -v (to see if any installed ports are out of date) >> >3] Noted those ports listed that needed upgrading >> >4] Attempted to use portupgrade [-R] to upgrade said ports >> > >> >The port concerned is: >> >ruby-1.6.6.2002.01.29 < needs updating (port has 1.6.7) >> > >> >I ran portupgrade (more than once) and got this: >> >portupgrade -R ruby-1.6.6.2002.01.29 >> >Stale dependency: ruby-1.6.6.2002.01.29 <-- ruby-uri-0.9,1 -- manually >> >run 'pkgdb -F' to fix, or specify -O to force. >> >>This is somewhat covered by: >>http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/34388 >> >>Although that is talking about portupgrade instead of Ruby. I think >>your next concern should help fix it though. >> >> >I note that there is another ruby port listed as "up to date": >> >ruby-1.6.7 = up-to-date with port >> > >> >Do I have some sort of conflict here? >> >># pkgdb -F >>it should show any concerns and advise you on methods to resolve them, >>but sort out portupgrade like below first. Once this is run you should >>only have one copy of Ruby installed and no dependency worries >> >> >Also, since I installed portupgrade some time ago, I have never been able >>to >> >upgrade it using portupgrade either. Do I have some underlying problem >> >that's going to bite me later on? See latest attempt tonight; >> > >> >portupgrade -R portupgrade >> >cd: can't cd to /usr/ports/misc/pkg_tarup >> >** The port directory for 'misc/pkg_tarup' does not exist. >> >---> Skipping 'sysutils/portupgrade' (portupgrade-20020220.1_2) because >> >'misc/pkg_tarup' (pkg_tarup-1.2_3) failed >> >** The following packages were not installed or upgraded (*:skipped / >> >!:failed) >> > ! misc/pkg_tarup (pkg_tarup-1.2_3) (port directory error) >> > * sysutils/portupgrade (portupgrade-20020220.1_2) >> > >> >Please help with the above "problems?" or, kindly let me know if I've >>missed >> >some step along the way somewhere. If you require some more information >>on >> >the system, do let me know. >> >>The problem is that pkg_tarup is now in sysutils rather than misc, try >>running 'pkg_deinstall -f pkg_tarup' then go to >>/usr/ports/sysutils/pkg_tarup and install it from there. It's confusing >>because when I get errors the first thing I do is check with the web >>interface to see how it corresponds to my ports collection, and >>pkg_tarup is still listed in misc on there and returning errors. I only >>send a mail to the folk this morning so hopefully when they get round to >>it the information will make more sense. -- kevin@caomhin.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message