Article View: alt.os.linux.mandrake
Article #75Re: urpmi error
From: will kemp
Date: Mon, 13 Jun 2005 21:25
Date: Mon, 13 Jun 2005 21:25
45 lines
2928 bytes
2928 bytes
On Mon, 13 Jun 2005 14:58:24 +0000, Paul Lunardi wrote: > Can't locate URPM.pm in @INC (@INC contains: /usr/lib/perl5/5.8.6/i386-linux > /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i386-linux > /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.6/i386-linux/usr/lib/perl5/vendor_perl/5.8.6 > /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 > /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.1 > /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.8.5/urpm.pm > line 16. > BEGIN failed--compilation aborted at > /usr/lib/perl5/vendor_perl/5.8.5/urpm.pm line 16. > Compilation failed in require at /usr/sbin/urpmi line 22. > BEGIN failed--compilation aborted at /usr/sbin/urpmi line 22. this is one of those situations where you may have to try a few different things before you get it sorted out. your best bet to start with is to re-install urpmi and see what it says in the dependecies stuff when you try. obvously you can't re-install it with urpmi itself, so you'll have to use 'rpm'. find out which cdrom's got the urpmi package on it - probably cd1 - and insert that and mount it (probably mounted automatically by your window manager or whatever). then do rpm -e urpmi to uninstall the existing one. this will probably chuck out a whole load of dependency errors and you can either uninstall everything that depends on it (by adding them to the command line above) or run rpm with --nodeps. the latter is probably your best bet at this stage: rpm --nodeps -e urpmi then reinstall urpmi: rpm -ivh <path to cdrom>/<path to rpms>/urpmi..... (whatever the file's called) this may chuck out some dependency errors - which will hopefully give you an idea of what package you'll need to re-install to get the urpmi perl module that's missing. re-install that the same way. will
Technical Details
Message-ID:
<pan.2005.06.13.21.25.37.627114@xxxx.swaggie.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed.freenet.de!solnet.ch!solnet.ch!nntp.gblx.net!nntp3.phx1!dnews.tpgi.com.au!tpg.com.au!not-for-mailReferences:
<kahre.15780$F7.11407@news-server.bigpond.net.au>Show Full Headers
Complete Article Headers
X-Google-Thread: f8a83,a6622295d9f3845e X-Google-Thread: 102983,a6622295d9f3845e X-Google-Attributes: gidf8a83,gid102983,public X-Google-Language: ENGLISH,ASCII-7-bit From: will kemp <will@xxxx.swaggie.net> Subject: Re: urpmi error Date: Tue, 14 Jun 2005 07:25:38 +1000 User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) Message-ID: <pan.2005.06.13.21.25.37.627114@xxxx.swaggie.net> Newsgroups: alt.os.linux.mandrake,aus.computers.linux References: <kahre.15780$F7.11407@news-server.bigpond.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 60.240.197.142 X-Original-NNTP-Posting-Host: 60.240.197.142 X-Trace: dnews.tpgi.com.au!tpg.com.au 1118697939 60.240.197.142 (14 Jun 2005 07:25:39 +1000) Lines: 46 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed.freenet.de!solnet.ch!solnet.ch!nntp.gblx.net!nntp3.phx1!dnews.tpgi.com.au!tpg.com.au!not-for-mail