LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-06-2008, 12:53 PM   #1
dneshsegar
LQ Newbie
 
Registered: Jul 2008
Location: kl
Posts: 4

Rep: Reputation: 0
Unhappy apt repository error


[root@localhost dneshg]# rpm -Uhv http://apt.sw.be/redhat/9/en/i386/rp....rh9.rf.i386.r
pm
Retrieving http://apt.sw.be/redhat/9/en/i386/rp...h9.rf.i386.rpm
warning: /var/tmp/rpm-xfer.uQwEAf: V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing... ########################################### [100%]
1:rpmforge-release ########################################### [100%]
[root@localhost dneshg]# rpm -i apt-0.5.15lorg3.1-4.rh9.rf.i386.rpm
error: Failed dependencies:
libxml2 >= 2.6.16 is needed by apt-0.5.15lorg3.1-4.rh9.rf


The above happen when i install the apt.. Well I safe both the file at /home/dneshg and i run from ther. This is what happen when i try to install the libxml2:below:

[root@localhost dneshg]# rpm -i libxml2-2.6.16-1.0.rh9.rf.i386.rpm
file /usr/bin/xmlcatalog from install of libxml2-2.6.16-1.0.rh9.rf conflicts with file from package libxml2-2.5.
4-1
file /usr/bin/xmllint from install of libxml2-2.6.16-1.0.rh9.rf conflicts with file from package libxml2-2.5.4-1
file /usr/lib/libxml2.so.2 from install of libxml2-2.6.16-1.0.rh9.rf conflicts with file from package libxml2-2.
5.4-1
file /usr/share/man/man1/xmlcatalog.1.gz from install of libxml2-2.6.16-1.0.rh9.rf conflicts with file from pack
age libxml2-2.5.4-1
file /usr/share/man/man1/xmllint.1.gz from install of libxml2-2.6.16-1.0.rh9.rf conflicts with file from package
libxml2-2.5.4-1
file /usr/share/man/man3/libxml.3.gz from install of libxml2-2.6.16-1.0.rh9.rf conflicts with file from package
libxml2-2.5.4-1

then after i retry to install was the same result. Plz help me and what is the problem.. thank you..below results:

[root@localhost dneshg]# rpm -i apt-0.5.15lorg3.1-4.rh9.rf.i386.rpm
error: Failed dependencies:
libxml2 >= 2.6.16 is needed by apt-0.5.15lorg3.1-4.rh9.rf
[root@localhost dneshg]#
 
Old 08-07-2008, 11:20 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
It's not a reposity error; if you install packages one by one "manually" with rpm (or any other such tool), you need to deal with the dependencies yourself (download and install yourself every depending package, like libxml2 in this case). Then there's this version dependency thing: you have libxml2 already installed, but an older version. You try to upgrade it with the newer version, but they both have a same file in them, only it's newer in the newer version; however your system seems to need the older version, so there's a file conflict. Your package tool (rpm) won't upgrade the package because of the conflict (you can force it to, but that might break the packages that depend on the older file), and because of that you can't install the package (apt) that depends on the newer library.

Solution: use older version of apt, upgrade all packages that depend or conflict (could mean upgrading your whole system!) or force upgrading of the packages that conflict, possibly suffering from broken packages and trouble caused by them after that.

It seems you are installing RedHat9 packages - are you using RedHat9, then? Know that it's very old by now; after RedHat9 came Fedora Core 1, then next versions, and then the name changed to Fedora only - by now the newest operating system of that "chain" is Fedora 9, a whole lot newer than RedHat 9. Chances of getting updates to RH9 are none to negative, and getting any software installed that isn't on the RH9 discs might prove very difficult. Consider installing a more recent distribution of Linux - preferrably something new that still receives updates, such as Fedora 9 - or get ready to upgrade most of your system every time you try to upgrade one package. Also note that RedHat 9 doesn't come with a package manager (you probably noticed this, because you were trying to install apt) - newer systems do, for example Fedora 9 comes with yum (or so I think, correct me if I'm wrong) and a graphical front-end to it as well.
 
Old 08-08-2008, 12:28 AM   #3
dneshsegar
LQ Newbie
 
Registered: Jul 2008
Location: kl
Posts: 4

Original Poster
Rep: Reputation: 0
Smile thank You Bouncer

Well thank you very much of your kind advise and suggestion.. Actually i was using windows platform all the while.. I got the red hat 9 installation cd long time ago when i don't know how to configure a usb modem.. Well i guess my self is out dated as well..
Ok in that case u r suggesting me to run more newwer version of linux like suse or fedora..
Well just to reconfirm with you.. when i use apt version 0.5.5cnc6-fr1.i386, and i start to update the first time, I see alot of "unable to fetch http get-", "error 404" and it wont download most of it.. i was able to install xmms and a few other program.. Then i start to upgrade the apt, and error msg will come and say that "unable to fetch from http"..
Actually this is because the red hat 9 is old and i could not fetch lots of the program from the website.. So in that case i can't use latest Gaim or pigin, firefox and many more applications..
Because normally i use to update untill its capable and i will get yum. Than i will update the yum and try to install firefox or "yum install firefox" it cannot install..
Well I am very happy that u reply my threads..
Well is ther any way for me to use Red Hat 9 and in the same time me using application to perform lots of task.. such as pidgin, opera, wine(not easy to use. I did in ubuntu and it owrks fine but in red hat 9"no" and many more..
Thank you and do help me in the future..
"my dream to use RED HAT 9 and master it"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Package Kit Error-- "Cannot retrieve repository metadata (repomd.xml) for repository" mbvpixies78 Linux - Newbie 11 08-22-2008 07:20 PM
apt repository error dneshsegar Red Hat 1 08-07-2008 06:29 AM
Need apt repository for gtk 2.8 bambam43410 Debian 1 08-04-2006 08:50 AM
Apt-get Repository problems jaygee02 Ubuntu 22 02-16-2006 11:39 AM
Create a apt Repository timgerrlists Debian 1 02-10-2006 08:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration