From owner-freebsd-questions@FreeBSD.ORG Wed Nov 7 19:16:14 2007 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 517FA16A46E for ; Wed, 7 Nov 2007 19:16:14 +0000 (UTC) (envelope-from mnslinky@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.freebsd.org (Postfix) with ESMTP id EC61213C4A6 for ; Wed, 7 Nov 2007 19:16:13 +0000 (UTC) (envelope-from mnslinky@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so4807115pyb for ; Wed, 07 Nov 2007 11:16:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=K5HwnFhKSzs2Zy1Xa5fLqXR7ilBaKur/TlkIRy5UC/E=; b=mioO7XdYcmgZ9tr6WoEFLKx1VqlNdo1nPwp9po3m3QxZ4yaygvCUk8PIjLFp0ewmezpZIKpgX8FVkZi/Qhjs6OyZPdv6KCz3RRCMW5jB3076Qv7+I3uASksZFUvdJlft4GOcdKlUJ6hn8MdGz6zCqF5elGieY1ceavzaB9vevtI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=PH7XkLgVVHOKbtHefp7YEixkEDFa5ROqa8ipOEXhdrUyD5goFBebgCPPXTs2QU44K/Znk4SVOqo5xb34FdN62BU0HXerHNvR7dIa8jiKNiR1IDU51hdWVwNjkhIkUbGcevfGUVfGXLoB7eCK0GAOKPQsMHtZpR389cXVCKurzco= Received: by 10.35.32.3 with SMTP id k3mr9256728pyj.1194462963580; Wed, 07 Nov 2007 11:16:03 -0800 (PST) Received: from swordfish.local.claimlynx.com ( [74.95.66.25]) by mx.google.com with ESMTPS id n67sm22656126pyh.2007.11.07.11.16.02 (version=SSLv3 cipher=OTHER); Wed, 07 Nov 2007 11:16:02 -0800 (PST) Message-Id: From: Eric Crist To: Marc Fromm In-Reply-To: <8910AF8FB6C6E84796358D71090AF7CF087E5C9E@EVS1.univ.dir.wwu.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Date: Wed, 7 Nov 2007 13:16:01 -0600 References: <8910AF8FB6C6E84796358D71090AF7CF087E5C9E@EVS1.univ.dir.wwu.edu> X-Mailer: Apple Mail (2.912) Cc: freebsd-questions@FreeBSD.org Subject: Re: installing programs 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: Wed, 07 Nov 2007 19:16:14 -0000 On Nov 7, 2007, at 11:15 AM, Marc Fromm wrote: > I am new to the linux-type OS environment. For about a week now I have > tried to do a task which I first thought would be simple-install a > program like firefox. > > > > I did "sudo pkg_add -r firefox" as explained in chapter 4 of the > handbook and received the message: > > pkg_add: package 'firefox-1.5.0.8,1' or its older version already > installed > > > > I then tried to uninstall firefox like this: > > sudo pkg_delete -d -f firefox-1.5.0.8,1 > > It appeard to uninstall. > > > > I next did "sudo pkg_add -r firefox" again and it did this: > [snip] > > Firefox now does not work at all and if I rerun the pkg_add command it > states firefox-1.5.0.8 is still installed. > > Isn't the latest 2.0.0.9? > > > > I tried to instructions at firefox and they did not work: > > http://support.mozilla.com/kb/Installing+Firefox+on+Linux > Marc, There are a couple of things you can try. First thing to note, however, is that Linux instructions for software installation will not, typically, work on FreeBSD systems. You should verify that the package is actually uninstalled. # ls /var/db/pkg | grep firefox You should get nothing back. If you do get something, remove each item with the following command # pkg_delete should be each item in the list from the previous command. Once you've verified it's uninstalled, try the pkg_add command again: # pkg_add -r firefox Now, if this doesn't work, try installing from your ports tree. Do this with the following command: # cd /usr/ports/www/firefox && make install clean If you're using csh/tcsh as your shell, make sure you type rehash so that your PATH gets re-read for new binaries/etc. Let me know how this goes! ----- Eric F Crist Secure Computing Networks