From owner-freebsd-questions@FreeBSD.ORG Sat May 19 19:09:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3C1991065692 for ; Sat, 19 May 2012 19:09:40 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id ED2C58FC16 for ; Sat, 19 May 2012 19:09:39 +0000 (UTC) Received: from r56.edvax.de (port-92-195-20-192.dynamic.qsc.de [92.195.20.192]) by mx02.qsc.de (Postfix) with ESMTP id 5098927A77; Sat, 19 May 2012 21:09:33 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q4JJ9WVg002664; Sat, 19 May 2012 21:09:32 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 19 May 2012 21:09:32 +0200 From: Polytropon To: Beastie-Boy Message-Id: <20120519210932.36b230cd.freebsd@edvax.de> In-Reply-To: <1337450899955-5710066.post@n5.nabble.com> References: <1337434051474-5709999.post@n5.nabble.com> <4FB7A6F9.2090202@FreeBSD.org> <1337450899955-5710066.post@n5.nabble.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: stay up to date with ports and packages, problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2012 19:09:40 -0000 On Sat, 19 May 2012 11:08:19 -0700 (PDT), Beastie-Boy wrote: > Ok, many thanks for your replies. > I forgot to tell that i recently upgraded from 8.1 to 9.0-RELEASE. > That excplains maybe why i had obsolete/old packages/ports on my disk. When you do such an update (major version number), you should always reinstall (update) your applications. You can avoid it by installing the compat-Nx-i386 or compat-Nx-amd64 ports (where N is the previously used major version number). You've found many advices on how to do that already from the list. > The problem i had was that gdm, gnome didnt start after the upgrade. That was to be expected. > So i tried to build the gnome and gdm thing again via pkg_add(didnt work) > and make install clean in ports(either). You should make sure _all_ dependencies get recompiled. Using a port management tool for this task often is more comfortable than dealing with the "bare ports" (but it basically is not wrong). > Right now i deleted all ports in /usr, deleted packages in /var and > portsnaped me the all stuff again. Depending on how you deleted, it _might_ be required to reconstruct the directory subtree /usr/local from the respective mtree file in /etc/mtree. If you _really_ intend to delete everything, make sure you have backups of config files, data files or your own modifications to something located in the local/ subtree (for example /usr/local/etc). > After that i pkg_add -r gnome2 again and now it looks better. Erm... when you're installing binary packages, you don't have to deal with ports at all. > Before i had problems that package-1.2.3 is needed to build an only > package-1.2.2 is installed. Correct, this happens when packages have lower version numbers (not totally up to date) than the respective port would have. That's why it's often a "good idea" to use _either_ ports _or_ packages (even though technically there is no problem mixing them). Again, allow me to mention port management tools. Using for example portmaster, many tasks are easier to perform than dealing with "bare ports". Even the use of precompiled packages (if desired) is possible. See "man portmaster" and its EXAMPLES section for inspiration. > Sorry i cant paste logs, bsd is running on another machine. You can use SSH to log into the BSD machine and cut text from the session. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...