From owner-freebsd-ports@FreeBSD.ORG Thu Jun 14 00:21:33 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E671F106566B for ; Thu, 14 Jun 2012 00:21:32 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 78A108FC08 for ; Thu, 14 Jun 2012 00:21:32 +0000 (UTC) Received: by wibhj8 with SMTP id hj8so4776046wib.13 for ; Wed, 13 Jun 2012 17:21:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=B4M79sBJkHnheZzgKI6roJQYotbyfnRTe7VQfSEhB7Q=; b=fE/MBpeD7Ux18LUufoIWo5qNQnLDZl+C5G0pjpaMM08XaFVVQK7qZvkSzXofMBA8VF ODTL6Pupbpn8PDiEPvavi+3sfc7e7qU0NsrmuNJwPuK4wEQEnN5xKzo9wKMVTs8vBTcc YZIRr4z7FYEBBZdd6I/+aIlYA0I9CIQKMvd1tDgdehFzScdulnqJ08NDXZ8bk34Kd7Ia YmEE2wvjZNpWFZiD4I0YS6ucVFL6SpjrYyNyLqJSxps+6i1567IXcIMd4MuQNh1Wncto 7q/TPl4A2slSudvKuYb3eJutoadIueH2v1heM+tByHZocCxuIPd9Im7tBGyz1jIRHS+k BWXA== MIME-Version: 1.0 Received: by 10.216.134.145 with SMTP id s17mr11641594wei.22.1339633290704; Wed, 13 Jun 2012 17:21:30 -0700 (PDT) Received: by 10.223.155.4 with HTTP; Wed, 13 Jun 2012 17:21:30 -0700 (PDT) In-Reply-To: <1443905.ZHsCDgXC9N@x220.ovitrap.com> References: <29122915.NDnaqcIOs3@x220.ovitrap.com> <20120613042016.GA3206@DataIX.net> <1443905.ZHsCDgXC9N@x220.ovitrap.com> Date: Wed, 13 Jun 2012 17:21:30 -0700 Message-ID: From: Kevin Oberman To: Erich Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports@freebsd.org Subject: Re: Why are you NOT using FreeBSD --> an example and a solution X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2012 00:21:33 -0000 On Wed, Jun 13, 2012 at 4:44 PM, Erich wrote= : > Hi, > > On 13 June 2012 0:20:16 Jason Hellenthal wrote: >> >> On Wed, Jun 13, 2012 at 09:53:04AM +0700, Erich wrote: >> > Hi, >> >> Hi, Do we really need another one of these pointless rambling threads... > > if it helps to keep newcomers with FreeBSD. >> >> > >> > I placed FreeBSD 10 on an empty disk and downloaded then the ports tre= e from yesterday. >> > >> > >> > http://wiki.freebsd.org/Intel_GPU >> >> Read the FAQ ? > > The problem has not much to do with X. >> >> > Installation of Joe. >> > >> > Joe is always the first port I install as I am used to its commands. I= then download and compile other ports. As I am currently on a low-bandwidt= h Internet connection, I try to keep the machine busy during the night with= large downloads. >> >> Irrelevant > > It is as I only get errors like this when I install Joe first. >> >> > >> > Parallel downloading and compilation of scribus and xorg-server >> > >> > >> > How can we help newcomers to avoid this kind of problems? >> > >> >> By contributing to PRs and the correct mailing list with solutions, >> outcomes, patches etc... >> > I am one step further now. As I am getting errors like this very often si= nce I use this method =A0of installing ports I thought that there must be s= omething basic what I am doing wrong. > > The cause of the problem happens much earlier. I used PCBSD to get FreeBS= D onto the disk and did then a source upgrade. This went fine. But PCBSD in= stalled many ports. I assumed now that after deleting them with 'pkg_delete= -a' there are all gone and installation can start. > > Of course, pkg_delete brings some error messages that it could not delete= this or that as the package list is wrong. > > After getting the errors mentioned here, I used to run 'make deinstall' i= n the affected port. This solved the problem. I wonder now what the differe= nce between pkg_delete and make deinstall is. > > As I mentioned before, I am getting these errors randomly since around 20= 07. I obviously never used make deinstall then. > > I will go back now to the FreeBSD ports installation. > >> Part of it made it to this thread under a wrong subject line but its a >> start... I strongly recommend that you install ports-mgmt/portmaster (if you have not done so) and read the man page (YES! You really need to read it all!) and note the example for re-installing all ports. It will assure that all ports are cleanly re-installed. I do admit that I don't delete /usr/local/*, but I do get rid of most everything in it like bin, lib, include (especially important), libexec, libdata, info, modules, man, and so on. (Almost abbreviated "and so on" to "etc which would have triggered much hilarity and some keyboard smashing!) I never install anything of my own in /usr/local, but use /usr/opt for that. If you do it as suggested, you should end up with a very clean, updated sys= tem. --=20 R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com