LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2005, 09:44 PM   #1
grasssu
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Rep: Reputation: 0
how to update a package? Failed Dependency....


Hi I wanted to upgrade readline.so.4 to readline.so.5 and got the readline-5.0-3.i386.rpm ready. But there're many packages dependent on readline.so.4 so that rpm -i and rpm --upgrade failed. THen I tried

yum install readline-5.0-3.i386.rpm
and got the following errors:

yum install readline-5.0-3.i386.rpm

Setting up Install Process
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
primary.xml.gz 100% |=========================| 302 kB 00:02
MD Read : ################################################## 705/705
updates-re: ################################################## 705/705
Examining readline-5.0-3.i386.rpm: readline - 5.0-3.i386
Marking readline-5.0-3.i386.rpm as an update
Marking readline-5.0-3.i386.rpm as an update
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package readline.i386 0:5.0-3 set to be updated
--> Running transaction check
--> Processing Dependency: readline= 4.3 for package: readline-devel
--> Processing Dependency: libreadline.so.4 for package: lvm2
--> Processing Dependency: libreadline.so.4 for package: samba-client
--> Processing Dependency: libreadline.so.4 for package: guile
--> Processing Dependency: libreadline.so.4 for package: gphoto2
--> Processing Dependency: libreadline.so.4 for package: ftp
--> Processing Dependency: libreadline.so.4 for package: parted
--> Processing Dependency: libreadline.so.4 for package: lftp
--> Processing Dependency: libreadline.so.4 for package: ntp
--> Processing Dependency: libreadline.so.4 for package: gimp-print-utils
--> Processing Dependency: libreadline.so.4 for package: bc
--> Processing Dependency: libreadline.so.4 for package: pilot-link
--> Processing Dependency: libreadline.so.4 for package: cdecl
--> Processing Dependency: libreadline.so.4 for package: python
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for samba-client to pack into transaction set.
samba-client-3.0.10-1.fc3 100% |=========================| 32 kB 00:00
---> Package samba-client.i386 0:3.0.10-1.fc3 set to be updated
---> Downloading header for gphoto2 to pack into transaction set.
gphoto2-2.1.5-1.1.i386.rp 100% |=========================| 26 kB 00:01
---> Package gphoto2.i386 0:2.1.5-1.1 set to be updated
---> Package python.i386 0:2.3.4-13.1 set to be updated
--> Running transaction check
--> Processing Dependency: libreadline.so.4 for package: ntp
--> Processing Dependency: libreadline.so.4 for package: lvm2
--> Processing Dependency: readline= 4.3 for package: readline-devel
--> Processing Dependency: libreadline.so.4 for package: cdecl
--> Processing Dependency: libreadline.so.4 for package: guile
--> Processing Dependency: libreadline.so.4 for package: samba-client
--> Processing Dependency: libreadline.so.4 for package: python
--> Processing Dependency: libreadline.so.4 for package: ftp
--> Processing Dependency: libreadline.so.4 for package: parted
--> Processing Dependency: python= 2.3.4-11 for package: python-devel
--> Processing Dependency: samba-common= 0:3.0.10 for package: samba-client
--> Processing Dependency: libreadline.so.4 for package: gimp-print-utils
--> Processing Dependency: libreadline.so.4 for package: bc
--> Processing Dependency: libreadline.so.4 for package: pilot-link
--> Processing Dependency: libreadline.so.4 for package: gphoto2
--> Processing Dependency: libreadline.so.4 for package: lftp
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package python-devel.i386 0:2.3.4-13.1 set to be updated
---> Downloading header for samba-common to pack into transaction set.
samba-common-3.0.10-1.fc3 100% |=========================| 34 kB 00:00
---> Package samba-common.i386 0:3.0.10-1.fc3 set to be updated
--> Running transaction check
--> Processing Dependency: samba-common= 0:3.0.8 for package: samba
--> Processing Dependency: readline= 4.3 for package: readline-devel
--> Processing Dependency: libreadline.so.4 for package: lvm2
--> Processing Dependency: libreadline.so.4 for package: cdecl
--> Processing Dependency: libreadline.so.4 for package: guile
--> Processing Dependency: libreadline.so.4 for package: samba-client
--> Processing Dependency: libreadline.so.4 for package: python
--> Processing Dependency: libreadline.so.4 for package: ftp
--> Processing Dependency: libreadline.so.4 for package: parted
--> Processing Dependency: libreadline.so.4 for package: lftp
--> Processing Dependency: libreadline.so.4 for package: ntp
--> Processing Dependency: libreadline.so.4 for package: gimp-print-utils
--> Processing Dependency: libreadline.so.4 for package: bc
--> Processing Dependency: libreadline.so.4 for package: pilot-link
--> Processing Dependency: libreadline.so.4 for package: gphoto2
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for samba to pack into transaction set.
samba-3.0.10-1.fc3.i386.r 100% |=========================| 97 kB 00:01
---> Package samba.i386 0:3.0.10-1.fc3 set to be updated
--> Running transaction check
--> Processing Dependency: readline= 4.3 for package: readline-devel
--> Processing Dependency: libreadline.so.4 for package: lvm2
--> Processing Dependency: libreadline.so.4 for package: cdecl
--> Processing Dependency: libreadline.so.4 for package: guile
--> Processing Dependency: libreadline.so.4 for package: samba-client
--> Processing Dependency: libreadline.so.4 for package: python
--> Processing Dependency: libreadline.so.4 for package: ftp
--> Processing Dependency: libreadline.so.4 for package: parted
--> Processing Dependency: libreadline.so.4 for package: lftp
--> Processing Dependency: libreadline.so.4 for package: ntp
--> Processing Dependency: libreadline.so.4 for package: gimp-print-utils
--> Processing Dependency: libreadline.so.4 for package: bc
--> Processing Dependency: libreadline.so.4 for package: pilot-link
--> Processing Dependency: libreadline.so.4 for package: gphoto2
--> Finished Dependency Resolution
Error: Missing Dependency: readline is needed by package readline-devel
Error: Missing Dependency: libreadline.so.4 is needed by package lvm2
Error: Missing Dependency: libreadline.so.4 is needed by package guile
Error: Missing Dependency: libreadline.so.4 is needed by package ftp
Error: Missing Dependency: libreadline.so.4 is needed by package parted
Error: Missing Dependency: libreadline.so.4 is needed by package lftp
Error: Missing Dependency: libreadline.so.4 is needed by package ntp
Error: Missing Dependency: libreadline.so.4 is needed by package gimp-print-utils
Error: Missing Dependency: libreadline.so.4 is needed by package bc
Error: Missing Dependency: libreadline.so.4 is needed by package pilot-link
Error: Missing Dependency: libreadline.so.4 is needed by package cdecl
Error: Missing Dependency: libreadline.so.4 is needed by package samba-client
Error: Missing Dependency: libreadline.so.4 is needed by package python
Error: Missing Dependency: libreadline.so.4 is needed by package gphoto2

Could anyone tell me how to deal with this£¿¡¡Thanks a lot!
 
Old 03-06-2005, 10:21 PM   #2
grasssu
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Original Poster
Rep: Reputation: 0
btw I'm using Fedora Core 3.
Thanks
 
Old 03-07-2005, 08:00 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Try "yum install readline".
 
Old 03-07-2005, 10:46 PM   #4
grasssu
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Failed again...

It says "Nothing to do"
What should I do then?
Quote:
Originally posted by reddazz
Try "yum install readline".
 
Old 03-08-2005, 03:21 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Maybe the rpm isn't available in the repositories you have in /etc/yum.conf. If you have manually downloaded it, intall it using
#rpm -Uvh readline-version.rpm
 
Old 03-08-2005, 03:43 AM   #6
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
Yes. You should check other possible repos as described here.
 
Old 03-08-2005, 03:48 AM   #7
grasssu
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Original Poster
Rep: Reputation: 0
failed dependency..

Thanks. But there's still failed dependency error:
[root@fedora ~]# rpm -Uvh readline-5.0-3.i386.rpm
error: Failed dependencies:
libreadline.so.4 is needed by (installed) python-2.3.4-11.i386
libreadline.so.4 is needed by (installed) lvm2-2.00.25-1.01.i386
libreadline.so.4 is needed by (installed) bc-1.06-17.1.i386
libreadline.so.4 is needed by (installed) ftp-0.17-22.i386
libreadline.so.4 is needed by (installed) lftp-3.0.6-3.i386
libreadline.so.4 is needed by (installed) parted-1.6.15-5.i386
libreadline.so.4 is needed by (installed) samba-client-3.0.8-0.pre1.3.i386
libreadline.so.4 is needed by (installed) ntp-4.2.0.a.20040617-4.i386
libreadline.so.4 is needed by (installed) pilot-link-0.11.8-8.i386
libreadline.so.4 is needed by (installed) guile-1.6.4-14.i386
libreadline.so.4 is needed by (installed) gphoto2-2.1.4-7.i386
libreadline.so.4 is needed by (installed) gimp-print-utils-4.2.7-2.i386
libreadline.so.4 is needed by (installed) cdecl-2.5-30.i386
libreadline.so.4 is needed by (installed) apt-0.5.15cnc6-0.fdr.11.2.i386 readline = 4.3 is needed by (installed) readline-devel-4.3-13.i386

what should I do? Use apt? I installed the apt packet but don't know how to use it.
Thanks
Quote:
Originally posted by reddazz
Maybe the rpm isn't available in the repositories you have in /etc/yum.conf. If you have manually downloaded it, intall it using
#rpm -Uvh readline-version.rpm
 
Old 03-08-2005, 05:07 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
#apt-get update
#apt-get install readline

You can also use synaptic, apts gui frontend.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
failed dependency libXm.so.3 Curtux Mandriva 19 05-04-2011 07:23 AM
Nvu package dependency kermit Linux - Software 5 01-11-2005 10:45 AM
failed dependency vijaysh Debian 1 12-26-2004 04:18 AM
how to solve failed dependency when dependency exists dwcramer Linux - Newbie 2 08-24-2004 10:03 PM
glib >=2.0 failed dependency kwanc Linux - Software 9 02-09-2003 04:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:36 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration