From owner-freebsd-ruby@FreeBSD.ORG Wed Aug 26 13:54:47 2009 Return-Path: Delivered-To: ruby@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52120106568B for ; Wed, 26 Aug 2009 13:54:47 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from cp-out1.libero.it (cp-out1.libero.it [212.52.84.101]) by mx1.freebsd.org (Postfix) with ESMTP id E438C8FC18 for ; Wed, 26 Aug 2009 13:54:46 +0000 (UTC) Received: from libero.it (192.168.17.8) by cp-out1.libero.it (8.5.107) id 4A8742F000530E1B for ruby@FreeBSD.org; Wed, 26 Aug 2009 15:43:00 +0200 Date: Wed, 26 Aug 2009 15:42:59 +0200 Message-Id: MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "barbara" To: "ruby" X-XaM3-API-Version: 4.3 (R1) (B3pl25) X-SenderIP: 79.9.234.65 Cc: Subject: portupgrade deleting pacakges X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 13:54:47 -0000 I was upgrading some of my ports after the upgrade of gnutls using portup= grade. I wasn't doing it using what's recommended in /usr/ports/UPDATING, but wi= th a script I've done which computes dependencies and track upgraded pack= ages and then run portupgrade -fp on one port at a time. That's because t= he upgrade of gdm always caused me troubles on the currently running sess= ion and stopping it wasn't a option at that moment. Then I noticed some problem with pkgdb and then I realized that portupgra= de refused to upgrade firefox because of portaudit entry, but it nonethel= ess removed the installed version leaving inconsistencies. IMHO this should never happen. You can try it by yourself fetching the last portaudit db with portaudit = -aF and then running portupgrade -f www/firefox. This is what's happening: # portupgrade -f www/firefox ---> Reinstalling 'firefox-2.0.0.20_9,1' (www/firefox) ---> Building '/usr/ports/www/firefox' with make flags: WITH_OPTIMIZED_C= FLAGS=3D1 =3D=3D=3D> Cleaning for firefox-2.0.0.20_9,1 =3D=3D=3D> firefox-2.0.0.20_9,1 has known vulnerabilities: =3D> mozilla -- multiple vulnerabilities. Reference: =3D> Please update your ports tree and try again. *** Error code 1 Stop in /usr/ports/www/firefox. *** Error code 1 Stop in /usr/ports/www/firefox. ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'firefox-2.0.0.20_9,1' pkg_delete: package 'firefox-2.0.0.20_9,1' is required by these other pac= kages and may not be deinstalled (but I'll delete it anyway): alacarte-0.12.1_1 compiz-0.8.2_1 compiz-fusion-0.8.2 compiz-plugins-extra-0.8.2_1 compiz-plugins-main-0.8.2_1 emerald-0.8.2_1 eog-2.26.3_1 epiphany-2.26.3_3 file-roller-2.26.3_1,1 gdm-2.26.1_6 gegl-0.0.22_6 gimp-2.6.6,2 gimp-app-2.6.6_3,1 gnome-applets-2.26.3_1 gnome-control-center-2.26.0_2 gnome-netstatus-2.26.0_1 gnome-panel-2.26.3_1 gnome-system-monitor-2.26.2_1 gnome-system-tools-2.22.2_1 gnome-utils-2.26.0_2,1 gnome2-lite-2.26.3 librsvg2-2.26.0_1 meld-1.3.0_1 mplayerplug-in-3.55_3 nautilus-2.26.3_1 nautilus-cd-burner-2.24.0_2 netspeed_applet-0.15.2_1 py26-gnome-desktop-2.26.0_1 swt-devel-3.5.m6_1,1 totem-2.26.3_1 vuze-4.2.0.2_1 yelp-2.26.0_1 [Updating the pkgdb in /var/db/pkg ... - 752 packages = found (-1 +0) (...) done] ---> Installing the new version via the port with make flags: WITH_OPTIM= IZED_CFLAGS=3D1 =3D=3D=3D> firefox-2.0.0.20_9,1 has known vulnerabilities: =3D> mozilla -- multiple vulnerabilities. Reference: =3D> Please update your ports tree and try again. *** Error code 1 Stop in /usr/ports/www/firefox. *** Error code 1 Stop in /usr/ports/www/firefox. *** Error code 1 Stop in /usr/ports/www/firefox. =3D=3D=3D> Cleaning for firefox-2.0.0.20_9,1 ---> Cleaning out obsolete shared libraries # pkg_info -Ix firefox firefox-3.5.2,1 Web browser based on the browser portion of Mozilla As you can see,firefox-2.0.0.20_9,1 is now gone. Thanks Barbara