From owner-freebsd-questions Tue Oct 22 13:37:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B63D237B401; Tue, 22 Oct 2002 13:37:33 -0700 (PDT) Received: from www.unsam.edu.ar (ns2.unsam.edu.ar [170.210.48.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F09743E65; Tue, 22 Oct 2002 13:37:29 -0700 (PDT) (envelope-from fernan@pi.iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (pi.iib.unsam.edu.ar [192.168.10.11]) by www.unsam.edu.ar (8.9.3/8.9.3) with ESMTP id RAA75917; Tue, 22 Oct 2002 17:37:11 -0300 (ART) (envelope-from fernan@pi.iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (localhost.iib.unsam.edu.ar [127.0.0.1]) by pi.iib.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id g9MKbN1b080944; Tue, 22 Oct 2002 17:37:23 -0300 (ART) (envelope-from fernan@pi.iib.unsam.edu.ar) Received: (from fernan@localhost) by pi.iib.unsam.edu.ar (8.12.6/8.12.6/Submit) id g9MKbMra080943; Tue, 22 Oct 2002 17:37:22 -0300 (ART) Date: Tue, 22 Oct 2002 17:37:22 -0300 From: Fernan Aguero To: freebsd-questions@freebsd.org Cc: FreeBSD Ports Subject: installing python2 on linux_base-7.1 Message-ID: <20021022203722.GA76290@iib.unsam.edu.ar> Mail-Followup-To: freebsd-questions@freebsd.org, FreeBSD Ports Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i 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 --- I am sending this message to questions since I got no --- reply from freebsd-emulation, which I supposed was the --- correct mailing-list for this topic. I am also CCing --- freebsd-ports which is the maintainer of the linux_base --- port. Hi! I am trying to install python2 from rpm over a recently updated linux_base-7.1 (linux_base-6 -> lihux_base-7). I am invoking rpm with the following command line options: pi# rpm --allfiles --ignoreos --root /compat/linux --dbpath /var/lib/rpm --replacepkgs -i python2-2.2.1-2.i386.rh7.3.rpm I get several failed dependencies, they are mostly shared libraries. I search rpmfind.net with each one and downloaded the rpm package corresponding to RedHat-7.3 i386, as I guessed that this is the closer I can get. Is my reasoning here correct? Now after installing and cleaning most dependencies I still have these ones to fulfill: error: failed dependencies: libdb-3.2.so is needed by python2-2.2.1-2 libdb.so.3 is needed by python2-2.2.1-2 libreadline.so.4 is needed by python2-2.2.1-2 However, libreadline apparently is installed by linux_base (distinfo lists it as readline-4.1-9.i386.rpm). My rpmfind.net search says that libreadline.so.4 is installed by readline-4.2a-4.i386.rpm. Upon trying to install this one I get the following: file /usr/lib/libhistory.so.4 from install of readline-4.2a-4 conflicts with file from package readline-4.1-9 file /usr/lib/libreadline.so.4 from install of readline-4.2a-4 conflicts with file from package readline-4.1-9 file /usr/share/info/history.info.gz from install of readline-4.2a-4 conflicts with file from package readline-4.1-9 file /usr/share/info/readline.info.gz from install of readline-4.2a-4 conflicts with file from package readline-4.1-9 file /usr/share/info/rluserman.info.gz from install of readline-4.2a-4 conflicts with file from package readline-4.1-9 file /usr/share/man/man3/readline.3.gz from install of readline-4.2a-4 conflicts with file from package readline-4.1-9 So why does python2 still complains about a failed dependency? Also with libdb, apparently it is already installed by linux_base. However in this case, I get a failed dependency on db3x-3.2.9-4.i386.rpm (from rpmfind.net): error: failed dependencies: libtcl.so.0 is needed by db3x-3.2.9-4 However I cannot seem to find any rpm providing this library on rpmfind.net Can I safely ignore these and force python2 to install? Any tips or suggestions are welcome. Fernan -- F e r n a n A g u e r o http://genoma.unsam.edu.ar/~fernan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message