Hi, I recently started using Perl to write an installation script. Can anyone tell me how I could get an RPM package installed using Perl? In addition, how can the package dependencies be dealt with? I have tried insalling a package with the command: $cmd = `rpm -ivh telnet-client-krb5-1.3-5mdk.i586.rpm`; print "\n".$cmd."\n"; however an error occurs specifying the dependency of the libkrb51-1.3-5mdk package. I have tried installing the dependency package before the telnet package like so: $cmd = `rpm -ivh libkrb51-1.3-5mdk.i586.rpm`; print "\n".$cmd."\n"; $cmd = `rpm -ivh telnet-client-krb5-1.3-5mdk.i586.rpm`; print "\n".$cmd."\n"; but this lists several warnings saying the libkrb package 'conflicts' with others. It carries on to give the same error about depenencies for the same package. One other error it is giving is: 'V3 DSA signature: NOKEY, key ID 26752624' Is there something simple I am ignoring? Would permission rights have any impact on it? For example, do I need to have root access to install such a package? If so, can the script still be run on a users account whilst performing root actions? Any help is much appreciated! Richard note: Im am running Mandrake Linux 9.2
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>