Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2005 09:34:09 -0500
From:      "Craig Deal" <craig@advantagecomputer.biz>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: Portupgrade problem
Message-ID:  <200510200934687.SM01300@craiglaptop>
In-Reply-To: <44irvse17f.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> -----Original Message-----
> From: lowell@be-well.ilk.org [mailto:lowell@be-well.ilk.org] 
> On Behalf Of Lowell Gilbert
> Sent: Thursday, October 20, 2005 9:02 AM
> To: Craig Deal
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Portupgrade problem
> 
> "Craig Deal" <craig@advantagecomputer.biz> writes:
> 
> > > -----Original Message-----
> > > From: owner-freebsd-questions@freebsd.org
> > > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Lowell 
> > > Gilbert
> 
> > > How did you install ruby?  
> > > That's the program (as opposed to portupgrade) that's 
> trying to link 
> > > to the wrong library, and the version you have installed 
> is not the 
> > > one you would have gotten from the 5.4-RELEASE packages.
> > 
> > 
> > That could be the problem. I used "pkg_add 
> > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages...... 
> for some 
> > of the packages, in order to get the most current version. 
> I may have 
> > used the wrong ftp folder on one of the them. Is 
> > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/ or 
> > using "pkg_add -r" the most current packages for ver. 5.4? If so, I 
> > think I will just start over with a clean install.
> 
> If you want to keep your packages up-to-date, I recommend 
> updating your ports tree with cvsup and then using 
> portupgrade or portmanager get the updates.
> 
> Reinstalling the whole system is quite drastic and completely 
> unnecessary.
>


That's ok, I'm used to it since I mainly deal with windows (till now
anyway).


> If you want to keep your packages up-to-date, I recommend 
> updating your ports tree with cvsup and then using 
> portupgrade or portmanager get the updates.


What is the best way to keep the system up-to-date if you use packages? The
manual is fairly clear if you use ports, but things get kinda vague (for me
anyway) when it comes to packages. I have successfully installed (from
packages) a working system with
FreeBSD/Postfix/amavisd-new/spamassassin/Clamav/F-Prot/Postgrey/etc, and I
want to make sure I can keep the packages updated without crashing the
system.

I ran:
cvsup -h cvsup1.freebsd.org /usr/share/examples/cvsup/ports-supfile
cd /usr/ports/ && make fetchindex
pkgdb -uvF
portsdb -u
portupgrade -arPP"

but nothing got updated. It said everything was current. When I ran
pkg_version, the majority of the packages had this "<". After that I used
"portupgrade -arR" and it updated some packages from the ports tree. I would
prefer to use only packages, but it fetches from the .../packages-5-release,
which is not current. 

Any help would be appreciated.

Craig




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