From owner-freebsd-questions Mon Jul 23 10:41:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tomts7-srv.bellnexxia.net (tomts7.bellnexxia.net [209.226.175.40]) by hub.freebsd.org (Postfix) with ESMTP id EB8FF37B401 for ; Mon, 23 Jul 2001 10:41:29 -0700 (PDT) (envelope-from david@skytrackercanada.com) Received: from d.tracker ([65.92.123.180]) by tomts7-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010723174124.QKBO3894.tomts7-srv.bellnexxia.net@d.tracker>; Mon, 23 Jul 2001 13:41:24 -0400 Received: (from david@localhost) by d.tracker (8.11.3/8.11.3) id f6NIfZq59184; Mon, 23 Jul 2001 18:41:35 GMT (envelope-from david) Date: Mon, 23 Jul 2001 13:41:34 -0500 From: David Banning To: Alvin Sim Cc: freebsd-questions@freebsd.org Subject: Re: error in building linux-png Message-ID: <20010723134133.A58997@sympatico.ca> References: <200107221742.f6MHgL541198@d.tracker> <610494119.20010723223103@yahoo.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <610494119.20010723223103@yahoo.co.uk>; from bsd140870@yahoo.co.uk on Mon, Jul 23, 2001 at 10:31:03PM +0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG That seemed to do it! I was doing the same as you and installing opera. Following your suggestion I had to rebuild the port and make install again, and "presto!" Thanks Alvin. On Mon, Jul 23, 2001 at 10:31:03PM +0800, Alvin Sim wrote: > From: David Banning > Date: Monday, July 23, 2001, 01:42:21 AM > Subject: error in building linux-png > > > Monday, July 23, 2001, 01:42:21 AM, David Banning wrote: > > su-2.03# make install > ===>> Installing for linux-png-1.0.3_1 > ===>> linux-png-1.0.3_1 depends on file: /compat/linux/etc/redhat-release - found > > libpng-1.0.3-4.i386.rpm > > old format database is present; use --rebuilddb to generate a new format database > > error: cannot open /compat/linux/var/lib/rpm/packages.rpm > > *** Error code 1 > > > Stop in /usr/ports/graphics/linux-png. > > > ________________________________________________ > > > I've tried using "rpm --rebuilddb" on the rpm file in > > /usr/ports/distfiles/rpm and in > > > /usr/compat/linux/var/lib/rpm > > > any idea what I can do to getr around this? > > i've come across this (same error message(s)) a lot of times when i was > trying to install linux-opera (which depends on linux-png) about 2 > months ago. i didnt got around to what causes it and why. but, i did > manage to get linux-opera (and linux-png) to install by pkg_delete'ing > the linux-base and (re-)fetch and make install the new downloaded > linux-base. > > try that and see if it helps. if it fails, well, i really dont know :( > > g'luck. > > > > > -- > Alvin bsd140870@yahoo.co.uk > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > -- A lot of people I know believe in positive thinking, and so do I. I believe everything positively stinks. -- Lew Col To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message