From owner-freebsd-questions@FreeBSD.ORG Fri May 9 21:21:39 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 825E0517 for ; Fri, 9 May 2014 21:21:39 +0000 (UTC) Received: from mail-oa0-x22b.google.com (mail-oa0-x22b.google.com [IPv6:2607:f8b0:4003:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 510947F5 for ; Fri, 9 May 2014 21:21:39 +0000 (UTC) Received: by mail-oa0-f43.google.com with SMTP id l6so5598062oag.2 for ; Fri, 09 May 2014 14:21:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=qCSbcDO3pkJDCs5Ya9x4FrYXVF+jUj9KLN8y7Ojrk5Q=; b=w2jIBSSv00buiyQBshDYbf6PpH7yxXKm6xt+dDjKk/i6uri5XQHSszoRFdi0ufRORh Qal8MeKzwU1V3XxuYYDIhMEQkf4jV7FDtY5aC799RgDO+mDCyK3kKK2UA3VPYf6upU9P 5fZNHJoTUJOK2FbQy/VcnFigFxvyAhdfO7X1W1gnMaL4LVuUFyOwNkzzrHXTMkIy4qPd WYYtnesMUzxRFi4THM42HHsi57KkM7k6AcrdpxJFM6tYhiKzisPaLzPR+CDaZhV01sQ4 SMsjdjWHHg6QaiDJlOKSe+CdyMAaTnvFXHpbUZlA4soPX5GvLKHsGgOUAsaEb+giRjhG FDXQ== MIME-Version: 1.0 X-Received: by 10.182.66.170 with SMTP id g10mr17648685obt.49.1399670498628; Fri, 09 May 2014 14:21:38 -0700 (PDT) Received: by 10.76.100.132 with HTTP; Fri, 9 May 2014 14:21:38 -0700 (PDT) Date: Fri, 9 May 2014 16:21:38 -0500 Message-ID: Subject: updating with portmaster, program is already installed From: Antonio Olivares To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2014 21:21:39 -0000 Dear folks, I have encountered the following: ===> Building package for gcc-4.7.3_1 Creating package /usr/ports/lang/gcc/work/pkg/gcc-4.7.3_1.tbz Registering depends: binutils-2.24 libiconv-1.14_3 gettext-0.18.3.1 gcc-ecj-4.5 mpfr-3.1.2_2 gmp-5.1.3_2 mpc-1.0.2. Registering conflicts: gcc47*. Creating bzip'd tar ball in '/usr/ports/lang/gcc/work/pkg/gcc-4.7.3_1.tbz' ===> Installing for gcc-4.7.3_1 ===> Checking if lang/gcc already installed ===> gcc-4.7.3_1 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of lang/gcc without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** [check-already-installed] Error code 1 Stop in /usr/ports/lang/gcc. I have had to go to say cd /usr/ports/lang/gcc make deinstall then run the portmaster again to see if the program installed or not? Is there a way to make sure that I avoid these situations? Thanks in Advance. Best Regards, Antonio