Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Mar 2002 18:40:56 +0000
From:      "S Roberts" <sroberts84@hotmail.com>
To:        kevin@caomhin.demon.co.uk
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Portupgrade Problem?
Message-ID:  <F2731qdiixjnzi95Hfq00004481@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hi Kevin,
   Thanks for getting back to me on this, and for the information.

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

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. Sorry if I come across 
pedantic over this, but I want to be sure about what I'm doing here. I 
appreciate the time taken to explain some of the background to this as well, 
thanks for that.

I'll look forward to hearing from you again, Kevin.

Regards,
Stacey

>From: Kevin Golding <kevin@caomhin.demon.co.uk>
>To: S Roberts <sroberts84@hotmail.com>
>CC: freebsd-questions@FreeBSD.org, knu@freebsd.org
>Subject: Re: Portupgrade Problem?
>Date: Sun, 3 Mar 2002 10:56:15 +0000
>MIME-Version: 1.0
>Received: from [216.136.204.119] by hotmail.com (3.2) with ESMTP id 
>MHotMailBE4B4CA80030400438A5D888CC774EDD0; Sun, 03 Mar 2002 02:57:48 -0800
>Received: from hub.freebsd.org (hub.FreeBSD.org [216.136.204.18])by 
>mx2.freebsd.org (Postfix) with ESMTPid 5870155683; Sun,  3 Mar 2002 
>02:57:38 -0800 (PST)(envelope-from owner-freebsd-questions@FreeBSD.ORG)
>Received: by hub.freebsd.org (Postfix, from userid 538)id D995737B419; Sun, 
>  3 Mar 2002 02:57:35 -0800 (PST)
>Received: from localhost (localhost [127.0.0.1])by hub.freebsd.org 
>(Postfix) with SMTPid B03EE2E8082; Sun,  3 Mar 2002 02:57:35 -0800 (PST)
>Received: by hub.freebsd.org (bulk_mailer v1.12); Sun, 3 Mar 2002 02:57:35 
>-0800
>Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net 
>[194.217.242.90])by hub.freebsd.org (Postfix) with ESMTPid A71C337B405; 
>Sun,  3 Mar 2002 02:57: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 16hTgH-000BQH-0W; 
>Sun, 03 Mar 2002 10:57:30 +0000
>From owner-freebsd-questions@FreeBSD.ORG Sun, 03 Mar 2002 02:58:19 -0800
>Delivered-To: freebsd-questions@freebsd.org
>Message-ID: <MMDnQpBPFgg8Ewp0@caomhin.demon.co.uk>
>References: <F259lYLJPnLDRZIjoUK00004484@hotmail.com>
>In-Reply-To: <F259lYLJPnLDRZIjoUK00004484@hotmail.com>
>X-Mailer: Turnpike Integrated Version 5.01 U <qkXGb$aG1KGttk6lmVLrWXtmNK>
>Sender: owner-freebsd-questions@FreeBSD.ORG
>List-ID: <freebsd-questions.FreeBSD.ORG>
>List-Archive: <http://docs.freebsd.org/mail/>; (Web Archive)
>List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
>List-Subscribe: 
><mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-questions>
>List-Unsubscribe: 
><mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-questions>
>X-Loop: FreeBSD.ORG
>Precedence: bulk
>
>In message <F259lYLJPnLDRZIjoUK00004484@hotmail.com>, S Roberts
><sroberts84@hotmail.com> 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.
>
>Looking at portupgrade gives mixed results, portversion says it's out of
>date, pkg_version -v says it's up to date.  I appear to have a working
>version of portupgrade installed right now so I'm not going to play too
>much.  Maybe I tried a few too many things to get it upgraded in the
>first place but /var/db/pkg says it's version portupgrade-20020227
>
>As a trial I ran make in sysutils/portupgrade and it failed as follows:
>
>/usr/local/bin/ruby -wc tsort.rb
>Syntax OK
>/usr/local/bin/ruby -p  -e 'sub %r:/usr/local:, "/usr/local"'  tsort.rb
> > .build
>/tsort.rb
>===> misc
>===> misc/bash
>Warning: Object directory not changed from original
>/usr/ports/sysutils/portupgr
>ade/work/pkgtools-20020204/misc/bash
>===> misc/tcsh
>Warning: Object directory not changed from original
>/usr/ports/sysutils/portupgr
>ade/work/pkgtools-20020204/misc/tcsh
>===> misc/zsh
>Warning: Object directory not changed from original
>/usr/ports/sysutils/portupgr
>ade/work/pkgtools-20020204/misc/zsh
>
>Maybe that's of some use to someone.
>
>Kevin
>--
>kevin@caomhin.demon.co.uk
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F2731qdiixjnzi95Hfq00004481>