urpm.pm is included in the package, but gets put in 
usr/lib/perl5/site_perl/5.6.1/i386-linux/

which is not in the path mentioned below.

-Nick

On Friday 01 June 2001  2:07 pm, David Odin wrote:
> On Fri, Jun 01, 2001 at 02:22:22PM +0000, Nicholas Brown wrote:
> > upgraded (it want a few other packages for dependancies)
> >
> > now;
> > urpmi-1.5-40mdk
> > rpmdrake-1.3-59mdk
> >
> > it did all the depandancies itself form coker, but;
> >
> > [nicbrown@edin-ios-26 nicbrown]$ su
> > Password:
> > [root@edin-ios-26 nicbrown]# urpmi.addmedia mystuff
> > file:///home/nicbrown/rpms Can't locate urpm.pm in @INC (@INC contains:
> > /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
> > /usr/lib/perl5/site_perl/5.6.0/i386-linux
> > /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at
> > /usr/sbin/urpmi.addmedia line 22.
> > BEGIN failed--compilation aborted at /usr/sbin/urpmi.addmedia line 22.
> > [root@edin-ios-26 nicbrown]#
> >
> > there seems to be a need to update perl and I think the is a dependancy
> > between urpmi and perl that is not specifed.
> >
> > [root@edin-ios-26 nicbrown]# rpm -q perl
> > perl-5.600-30mdk
> >
> > I can find updates for perl in cooker but not 5.6.1 only 5.6001 should I
> > update to this?
> >
> > Oh, rpmdrake will now list installed packages, but I can't add new
> > sources because of the above problem.
>
>   it does not look like a perl problem to me.
>   urpm.pm is (or should be) included within the urpmi package.

-- 
Nicholas Brown: [EMAIL PROTECTED]
IOS Software Development, Cisco Systems Ltd
3rd Floor, 96 Commercial Street, Edinburgh, EH6 6LX, UK
Tel: 0131 561 3651 Fax: 0131 561 3601 Mobile: 07730 711249

Reply via email to