From owner-freebsd-questions@FreeBSD.ORG Thu Feb 2 14:42:43 2012 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 4DC6B1065672 for ; Thu, 2 Feb 2012 14:42:43 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0649E8FC0A for ; Thu, 2 Feb 2012 14:42:42 +0000 (UTC) Received: by ggnk5 with SMTP id k5so1741772ggn.13 for ; Thu, 02 Feb 2012 06:42:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=vZ0jK93FfGLUmG+hAUnSlGxcpkKKMhdI8axaTu3s2VU=; b=T+wpYu3benFasmOW58zrATiSKXH1TziJfQ2N6aAcb3CgBpha0M+LDWciN83kDk69iq cIlQayGOXfsp/VqPJeYjgIGiH6g9lV+rzVh8dayMyhEBvgG9pRbpcY8CXz5bqbuzVs2H JlmtMXaRgCMvqOBBHLhoUCgQ3aN51hdj5kjEE= MIME-Version: 1.0 Received: by 10.50.214.38 with SMTP id nx6mr12558830igc.19.1328193762159; Thu, 02 Feb 2012 06:42:42 -0800 (PST) Received: by 10.231.69.210 with HTTP; Thu, 2 Feb 2012 06:42:42 -0800 (PST) In-Reply-To: <4F2A8D1D.1060100@bananmonarki.se> References: <4F27816A.1060905@bananmonarki.se> <4F2A8D1D.1060100@bananmonarki.se> Date: Thu, 2 Feb 2012 06:42:42 -0800 Message-ID: From: Waitman Gobble To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Unable to upgrade packages on FreeBSD 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: Thu, 02 Feb 2012 14:42:43 -0000 On Thu, Feb 2, 2012 at 5:18 AM, Bernt Hansson wrote: > 2012-02-01 19:16, David Jackson skrev: > > > I did not save them, there is really no way to save a copy of them unless >> I >> copy them by hand. >> > > I take it you are new to FreeBSD. May I introduce you to script > man script(1) > > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > One thing I noticed, which may cause some trouble(?) http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-10-current/ is empty, no packages. So pkg_add fails for everything... Running 10-CURRENT I have to set PACKAGESITE to http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Latest/ It's been years since I've run a HEAD version of FreeBSD - maybe this is common knowledge. :) But It seems like there could be a symlink or something. Also, I'm still looking into it - but it seems like it would be good to have an easy way to 'reinstall' a package. It seems to be pretty stubborn when trying to deinstall/reinstall stuff. For example, after i upgraded from 9.0-RELEASE to 10-CURRENT, the thing was complaining about libintl, gettext, iconv. pkg_add was refusing to 'reinstall' (but this might be related my own ignorance), so I ended up going into ports and building, then the system was fulling operational, yay. However, it could be that these did not need to be "reinstalled". pkg_add was telling me I already had the latest versions installed, and when I finally got down to the meat of my problem I found that my /etc/rc was never replaced. Either I fat-fingered a mergemaster prompt (but I really thought I was paying close attention), or mergemaster missed it! :) There was no /var/tmp/temproot/etc/rc after mergemaster, and mergemaster reported that only two files were left to do by hand, which is what I had intended. (ie, groups, master.passwd) But doing a diff between /usr/src/etc/rc (i think) and /etc/rc I saw they were different, copied the file and 10-CURRENT ran perfectly. Waitman Gobble San Jose California USA