LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apt4rpm (https://www.linuxquestions.org/questions/linux-newbie-8/apt4rpm-85981/)

mercutio 08-26-2003 03:10 PM

apt4rpm
 
ok im trying to install apt4rpm. first it needed:

error: Failed dependencies:
apt-server is needed by apt4rpm-0.65.1-0
perl-XML-LibXML is needed by apt4rpm-0.65.1-0


so i got them, then:

[root@localhost apt]# rpm -Uvh perl-XML-LibXML-1.55-0.dag.rh90.noarch.rpm
warning: perl-XML-LibXML-1.55-0.dag.rh90.noarch.rpm: V3 DSA signature: NOKEY, ke
y ID 6b8d79e6
error: Failed dependencies:
perl(XML::LibXML::Common) is needed by perl-XML-LibXML-1.55-0.dag.rh90
perl(XML::NamespaceSupport) is needed by perl-XML-LibXML-1.55-0.dag.rh90
perl(XML::SAX::Base) is needed by perl-XML-LibXML-1.55-0.dag.rh90
perl(XML::SAX::DocumentLocator) is needed by perl-XML-LibXML-1.55-0.dag.
rh90
perl(XML::SAX::Exception) is needed by perl-XML-LibXML-1.55-0.dag.rh90


got these, then installed these one by one, then:

[root@localhost apt]# rpm -Uvh perl-XML-SAX-Base-1.04-0.dag.rh90.noarch.rpm
warning: perl-XML-SAX-Base-1.04-0.dag.rh90.noarch.rpm: V3 DSA signature: NOKEY, key ID
6b8d79e6
Preparing... ########################################### [100%]
1:perl-XML-SAX-Base ########################################### [100%]
[root@localhost apt]# rpm -Uvh perl-XML-SAX-0.12-fr1.i386.rpm
warning: perl-XML-SAX-0.12-fr1.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
Preparing... ########################################### [100%]
file /usr/share/man/man3/XML::SAX::Base.3pm.gz from install of perl-XML-SAX-0.12-fr1 conflicts with file from package perl-XML-SAX-Base-1.04-0.dag.rh90
file /usr/share/man/man3/XML::SAX::Exception.3pm.gz from install of perl-XML-SAX-0.12-fr1 conflicts with file from package perl-XML-SAX-Base-1.04-0.dag.rh90


some kind of conflict between files i guess, so i see what happens here:

[root@localhost apt]# rpm -Uvh apt4rpm-0.65.1-0.noarch.rpm
error: Failed dependencies:
apt-server is needed by apt4rpm-0.65.1-0
perl-XML-LibXML is needed by apt4rpm-0.65.1-0

[root@localhost apt]# rpm -Uvh perl-XML-LibXML-1.55-0.dag.rh90.noarch.rpm
warning: perl-XML-LibXML-1.55-0.dag.rh90.noarch.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
perl(XML::SAX::DocumentLocator) is needed by perl-XML-LibXML-1.55-0.dag.rh90

so, as you can see everything installed fine but the perl(XML::SAX::DocumentLocator) because of some kind of conflict. does anyone have a solution for this? come on please.

m

(edit: should read perl(XML::SAX::DocumentLocator with no smiley faces)

rahulsundaram 08-26-2003 05:30 PM

hi

i never knew there was so many dependency issues with apt4rpm. i just download the packages from apt.freshrpms.net and installed them. anyway you dont need to install perl modules one by one

perl -MCPAN -e shell will configure CPAN for you. inside the cpan shell.

cpan> install modulename

will download, configure, compile and install all the required perl modules for you.

just try running apt-get update after force installing the rpm.

regards
rahul sundaram

Exite 02-12-2004 05:01 PM

I faced the same problems during my attempt and more follows.

error: Failed dependencies:
perl(XML::SAX::DocumentLocator) is needed by perl-XML-LibXML-1.56-0.rh90.dag

However, as I followed the instructions:

cpan> install XML::SAX::DocumentLocator
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Thu, 12 Feb 2004 21:49:16 GMT
XML::SAX::DocumentLocator is up to date.

Now what is this ?

thanks


All times are GMT -5. The time now is 07:52 AM.