Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jun 2010 00:41:18 +0300
From:      Manolis Kiagias <sonicy@otenet.gr>
To:        Andy Hiscock <andyjhiscock@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED
Message-ID:  <4C08217E.7070709@otenet.gr>
In-Reply-To: <300849.40208.qm@web26106.mail.ukl.yahoo.com>
References:  <929158.22715.qm@web26105.mail.ukl.yahoo.com>	<AANLkTilpym6L-9rO91VWWDJ2EjmrWRY90fJhPybL9ovH@mail.gmail.com>	<125527.66409.qm@web26103.mail.ukl.yahoo.com>	<68898.63609.qm@web26105.mail.ukl.yahoo.com>	<819311.25202.qm@web26102.mail.ukl.yahoo.com> <300849.40208.qm@web26106.mail.ukl.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/06/2010 12:01 π.μ., Andy Hiscock wrote:
> LOL - now stuck in and endless loop of:
>
>  Message ─────────────────────────────┐
>       │Unable to get packages/INDEX file from selected media.   
>
> This is like a poorly written shareware app!
>   Really getting pissd here!
>
>
>
>   

My guess is you need to do some reading first, it seems you are
administering a system you don't quite understand.
When doing a minor version upgrade (i.e. from 7.0 to 7.2) there is no
need to touch anything in the extra programs you've installed (hint:
those that come from packages or ports). Minor versions are binary
compatible (few apps may need some attention but this is rare). When you
do a major upgrade, you will be able to execute your 7.x installed apps
on 8.x. But by the time you start installing programs to your new
version, you will start replacing libraries of the 7.x system with new
ones and the programs compiled for 7.x will stop functioning.  My guess
is you already installed some packages from the 8.0 media, so this has
happened already.

The recommended path for such an upgrade is to upgrade all your
installed ports for your new system. Most people use ports (meaning they
build the software on their own machine, it is quite straightforward and
mostly automated) but it seems you are using packages. It should still
be possible to do this.

Please read the following section in the FreeBSD Handbook:

http://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdupdate.html

esp. 24.2.3

When upgrading from packages, change the command:

portupgrade -af

to

portupgrade -af -PP

which effectively means: "Use packages only"

And yes, you will need a ports tree for portupgrade to work properly
(although you won't be compiling anything). You don't need to keep it
afterwords but it is handy to have and does not consume a lot of space.
So get one:

 portsnap fetch extract

And after finishing the upgrade, you can rm -rf /usr/ports if you don't
want to keep it.
You may wish to have a good read of the FreeBSD Handbook, esp. chapter 4
that deals with ports and packages.




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