Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2009 13:11:06 +0200
From:      Sorin Panca <sorin.panca@psrk.com>
To:        freebsd-stable@freebsd.org
Cc:        Doug Barton <dougb@FreeBSD.org>
Subject:   Re: Installing packages using ports after freebsd-update doesn't work on amd64
Message-ID:  <497C48CA.2070600@psrk.com>
In-Reply-To: <497C28A6.9040701@psrk.com>
References:  <497B85DE.1040005@psrk.com> <497BA079.6060309@FreeBSD.org> <497C28A6.9040701@psrk.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorin Panca wrote:
> Doug Barton wrote:
>> Sorin Panca wrote:
>>> After upgrading the system using freebsd-update from 6.3-RELEASE to
>>> 7.0-RELEASE and after that, from 7.0 to 7.1 trying to install
>>> ports-mgmt/portupgrade fails at ruby18 with the following message:
>> If you haven't already you have to remove and reinstall _all_ of your
>> ports after doing a major version upgrade (6.x -> 7.x).
>>
> Prior to starting the upgrade I did a pkg_delete -a. I wanted a clean
> system (just like a reinstallation). How do I ensure that all packages
> were removed by pkg_delete -a ?
> Running pkg_delete -a returns "pkg_delete: no packages installed"

If you look at my previous posts on this list (from 2007), I was having
this problem since I started upgrading our servers. Therefore,
anticipating your question, this time I took the precaution of
performing the upgrade by following certain steps, to avoid uncontrolled
variables to polute the environment.

The steps I followed were:
1. check if the system has an amd64 FreeBSD installation
2. remove all installed packages by pkg_delete -a
3. freebsd-update: upgrade from 6.3 to 7.0 and reboot
4. freebsd-update: upgrade from 7.0 to 7.1 and reboot
5. install packages from ports.

Any help would be appreciated.
Sorin.



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