From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 13:10:39 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 6EF3D1065673; Thu, 24 Jun 2010 13:10:39 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id D1F788FC14; Thu, 24 Jun 2010 13:10:38 +0000 (UTC) Received: by wyf22 with SMTP id 22so316468wyf.13 for ; Thu, 24 Jun 2010 06:10:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=D/31bUWI0bcW4SpzCtWBbOlvbTtttVG1kAPpT9k+toY=; b=BCR1lvc2ODJ81cODqn23kba2je+PP2kWPNqGxfLpaRx75YPjmrtj+CMqTiGjfvDHfk urOBazjw3pdWOhnzVO6RHyRBVVWWhIrAEdhCxVkbvmYBOhKoMr4m+iMUoAxmH8KuvphY GXzLhFwpjmlKURgKjM7BypmVPl2xPTcFLwXZU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=L3aM9TysZtnmik/EU9XzM7E6LFvQ9+yla1LU0UIVeuLH1ADVs5SooTSTY4gSpvFTCA uB3GV9xEZqpy5FlXQQ/rjY8vs5m6dWsZfJ3w95GNFzeqxOcbTh+zpsLo+lSCoODmDZfz 4IpDDpZ29R3lPEQuHEI4Dged09pCOkOo3e5tA= MIME-Version: 1.0 Received: by 10.216.87.145 with SMTP id y17mr7343514wee.9.1277385037586; Thu, 24 Jun 2010 06:10:37 -0700 (PDT) Received: by 10.216.58.149 with HTTP; Thu, 24 Jun 2010 06:10:37 -0700 (PDT) Date: Thu, 24 Jun 2010 13:10:37 +0000 Message-ID: From: "b. f." To: "Alexandre L." Content-Type: text/plain; charset=ISO-8859-1 Cc: dougb@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: Problem using Portmaster to upgrade installed ports via packages only X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 13:10:39 -0000 > Hi, > > On my FreeBSD box running 8.0-RELEASE-p3, I have tried to use PORTMASTER tool to upgrade my ports via packages only. > Then I added the following line to my user's .cshrc file and root's .cshrc file, and re-opened user's session : > setenv PACKAGESITE ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/ > > Then I typed this linde into a console : > % sudo portmaster -PP -a -x openoffice > > I past the output : > ===>>> The following actions will be taken if you choose to proceed: > Upgrade automounter-1.4.2 to automounter-1.4.3 > Upgrade liveMedia-2010.05.29,1 to liveMedia-2010.06.11,1 > Upgrade portmaster-2.29 to portmaster-2.32 > Upgrade bash-4.1.5_2 to bash-4.1.7 > Upgrade iso-codes-3.16_1 to iso-codes-3.17 > Upgrade p5-libwww-5.834 to p5-libwww-5.836 > Upgrade tiff-3.9.3 to tiff-3.9.4 > Upgrade filezilla-3.3.2.1_2 to filezilla-3.3.3 > Upgrade gnupg-2.0.14_2 to gnupg-2.0.15 > Upgrade libassuan-1.0.5 to libassuan-2.0.0 > Upgrade wine-1.2.r3,1 to wine-1.2.r4,1 > > ===>>> Proceed? y/n [y] > > ===>>> Starting install for for ports that need updating <<<=== > > ===>>> Launching child to update automounter-1.4.2 > > ===>>> Port directory: /usr/ports/sysutils/automounter > ===>>> Checking package repository for latest available version > > ===>>> The newest available package (automounter-1.3.4) > is older than the version in ports (automounter-1.4.3) > > ===>>> Try --packages-if-newer, or do not use -PP/--packages-only > ===>>> Aborting update > > ===>>> Update for automounter-1.4.2 failed > ===>>> Aborting update > > The strange thing is the 'automounter-1.4.3' package is available on the FTP repository configured for PACKAGESITE. > > Elsewhere, I have tested these FTP repositories (for PACKAGESITE variable) without success : > ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Lastest/ > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Lastest/ > ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/ > > Thanks in advance for your help. > > You should be able to use: ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable portmaster will trim trailing /, /Latest, /All. But be aware that as 8-STABLE gets farther away from 8.0-RELEASE, some of the packages there may not work with your 8.0-RELEASE-pX version, because your version only incorporates critical fixes to 8.0-RELEASE, and not all of the changes in 8-STABLE. Do you have any old packages for automounter in your local package directory? If so, remove them and then re-try the update. It's possible that an old local package may confuse portmaster into thinking that the local package is the latest available package. If the problem still occurs, send a verbose output to the list, using portmaster -v .... b.