From owner-freebsd-stable@FreeBSD.ORG Fri Jun 22 13:26:44 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93B7116A468 for ; Fri, 22 Jun 2007 13:26:44 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id 018BE13C43E for ; Fri, 22 Jun 2007 13:26:43 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (ojuzmj@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l5MDQa91051874; Fri, 22 Jun 2007 15:26:42 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l5MDQa2B051873; Fri, 22 Jun 2007 15:26:36 +0200 (CEST) (envelope-from olli) Date: Fri, 22 Jun 2007 15:26:36 +0200 (CEST) Message-Id: <200706221326.l5MDQa2B051873@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, Xazker Xazkerov In-Reply-To: X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Fri, 22 Jun 2007 15:26:42 +0200 (CEST) Cc: Subject: Re: Have some troubles after deleting group of packages... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, Xazker Xazkerov List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2007 13:26:44 -0000 Xazker Xazkerov wrote: > Recently I've deleted some packages on my server, those packages > was installed on It at 21.06.07(DATE) by mistake. What to learn > exactly which packages was installed on system, I used command "ls > -la /var/db/pkg|grep "Jun 21" ". I'm afraid that was a mistake. When you install a package, sometimes new files are written to thesubdirectories of other packages in order to record dependencies. The time of those directories are also updated. If you deleted them all, then you probably deleted too many. To fix that, review the list of deleted packages (if you don't remember it, then try to look for the pkg_delete commands in your shell's history). Install any that might be still needed. > After it I've deleted those packages by "pkg_delete" command. Firstly > it seemed all OK, but later I have collided with such problems: > > $ sudo tcpdump > /libexec/ld-elf.so.1: /lib/libpcap.so.4: Shared object has no run-time symbol table That's strange, because /lib/libpcap.so.4 is part of the FreeBSD base system. It doesn't come from any package. It seems that something else was also broken inadvertently, apart from the package deletions. What time stamp does that library have? You might have to reinstall that file from installation media (CD, FTP server or similar). Or, if you have the system sources installed, you can rebuild and install that library in /usr/src/lib/libpcap: # cd /usr/src/lib/libpcap # make clean depend all install > Except for that, when I was trying to build hping, I've got such error: > [...] > /usr/lib/libpcap.so: file not recognized: Memory exhausted That's probably caused by the same thing. > I am very sorry for my cRoOKeD English. You're perfectly comprehendible. I think your English is not worse than mine. :-) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "In My Egoistical Opinion, most people's C programs should be indented six feet downward and covered with dirt." -- Blair P. Houghton