From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 21:41:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20623106567D for ; Thu, 3 Jun 2010 21:41:24 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id 8BF728FC19 for ; Thu, 3 Jun 2010 21:41:23 +0000 (UTC) Received: from pulstar.local (athedsl-4363069.home.otenet.gr [79.130.3.45]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id o53LfIQ7008180; Fri, 4 Jun 2010 00:41:21 +0300 Message-ID: <4C08217E.7070709@otenet.gr> Date: Fri, 04 Jun 2010 00:41:18 +0300 From: Manolis Kiagias User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Andy Hiscock References: <929158.22715.qm@web26105.mail.ukl.yahoo.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> In-Reply-To: <300849.40208.qm@web26106.mail.ukl.yahoo.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 21:41:24 -0000 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.