Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2012 08:10:15 +0100
From:      Nikola =?utf-8?B?UGF2bG92acSH?= <nzp@riseup.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Still having trouble with package upgrades
Message-ID:  <20120308071015.GA18924@sputnjik.localdomain>
In-Reply-To: <CAGy-+i8HZMhq0Vubn6uuNhLmdCGgfJyg_e+mBfXxNPEwhMhFwg@mail.gmail.com>
References:  <CAGy-+i-faTgPPFya8TD8rjkHG0=4E8S6Pvy2XiawXMru6z=pRQ@mail.gmail.com> <CAFKhKgpDqKxL_AbWp51FwG18btFuQ==EbA9iswDde-HukdZwfA@mail.gmail.com> <CAGy-+i9vfG8Zn_xogdEbX0aHRxAdAd8PtPzxGv_X-6wFsA+MEg@mail.gmail.com> <20120308005143.2b0763c7.freebsd@edvax.de> <CAGy-+i8HZMhq0Vubn6uuNhLmdCGgfJyg_e+mBfXxNPEwhMhFwg@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, Mar 07, 2012 at 10:04:35PM -0500, David Jackson wrote:
> On Wed, Mar 7, 2012 at 6:51 PM, Polytropon <freebsd@edvax.de> wrote:
> 
> > On Wed, 7 Mar 2012 12:05:37 -0500, David Jackson wrote:
> > > > Many of your issues are non-issues, as your suggestions were
> > > > implemented in some form long ago.  For example, updated applications
> > > > are compiled and available online.  You can use "pkg_add -r" to
> > > > install the newest binary package that is available, or you can update
> > > > your an installed application by updating the ports and using
> > > > portupgrade, which has options to control whether you compile updates
> > > > from source or install binary packages.
> > > >
> > > >
> > >
> > >
> > > pkg-add -r does not seem to be an "upgrade all packages" sort of feature
> > I
> > > am looking for. I have tried pkg-upgrade, portmaster, and portupgrade,
> > all
> > > of these do not work.
> >
> > The portupgrade -PP command should be fine, if your ports
> > tree is up to date.
> >
> >
> >
> portupgrade -PP did not work for me, it gave me error messages about failed
> downloads.
> 

Assuming you were trying on a RELEASE:

Packages for a RELEASE are frozen.  Since, most of the time, versions in
ports tree are newer than the frozen ones, naturally, you'll get the error
about failed download(s) (disregarding that in addition to that you might
have proxy problems etc. that others have mentioned).  Packages built against
STABLE are generally up to date, and you can safely use them with the
corresponding RELEASE.  To do that, change the PACKAGESITE environment
variable as described in
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.html
and pkg_fetch(1).


-- 
Once the toothpaste is out of the tube, it's hard to get it back in.
		-- H. R. Haldeman




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20120308071015.GA18924>