02-28-2005, 03:26 PM | #1 (permalink) |
Insane
|
Yet another Linux question
Running SuSE 9.1 and trying to update from KDE 3.2 to 3.3.4. I'm working on getting all the dependencies taken care of. Among them is readline.so. Now, I'm trying to update from readline.so.4 to readline.so.5. Unfortunately, when I try to rpm -U readline.so.5.blahblahblah, it tells me that readline.4 is installed already. When I try to erase the version 4 readline via rpm, it tells me that the readline version is NOT installed. So I'm in between a rock and a hard place. How can I get around this problem?
|
03-01-2005, 04:00 AM | #2 (permalink) |
In Your Dreams
Location: City of Lights
|
Updating things like KDE or Gnome can be a pain, I wish you luck
As for readline, you should be able to run "rpm -e readline" (just like that, which will erase the rpm.. although you may have dependencies) and then run "rpm -Uvh readline.rpm" (which will install version 5, I suppose) A *very* dirty method is running rpm --nodeps <whatever commands you want to give it>. rpm --nodeps will install/uninstall a package without worrying if shit depends on it. |
03-01-2005, 06:29 AM | #3 (permalink) |
Professional Loafer
Location: texas
|
aptitude -t unstable install kde-base ....wait...no, you can't do that.
do what Latch said, he seems to be correct this time.
__________________
"You hear the one about the fella who died, went to the pearly gates? St. Peter let him in. Sees a guy in a suit making a closing argument. Says, "Who's that?" St. Peter says, "Oh, that's God. Thinks he's Denny Crane." |
03-01-2005, 07:30 AM | #4 (permalink) |
Insane
|
Ah, the nodeps feature. *groan*
[rant] RedHat has to be one of the worst distributions when it comes to being able to automatically install programs. With RH, I always built from source. Always. I couldn't stand RPMs for your very problem! I was constantly using nodeps. If you want a good Linux distribution that tries much harder at making things easier for you, go for Gentoo. If you want a BSD system that does the same, I would highly suggest OpenBSD or FreeBSD. Much more stable and the ports system bloody well rocks. Both Gentoo and BSD' "ports" system install software directly from the source exactly how you want them. RPMs tend to miss features you want in the binaries. [/rant]
__________________
"You looked at me as if I was eating runny eggs in slow motion." - Gord Downie of The Tragically Hip |
03-01-2005, 11:42 AM | #5 (permalink) |
Insane
|
I guess I should mention that I'm running SuSE 9.1 if I didn't already. And the problem I'm encountering is that I did try "rpm -e readline". And it told me that readline wasn't installed.
And I have used Gentoo in the past. Emerge is indeed a godsend. I'm just messing around with SuSE at the moment because I got the DVD set from Novell (when they were doing that free promotion). |
03-01-2005, 02:12 PM | #6 (permalink) |
In Your Dreams
Location: City of Lights
|
Wow, bendsley agrees with me. Take note of this.
It's very odd that you have readline4 installed and it won't let you -U to readline5. Is the readline5 rpm you have built for SuSE systems? Just a random guess. As for uninstalling readline4... try: rpm -qa | grep readline that'll list all your rpms on the system (and the grep will only show you the readline package). Another command you could try would be: rpm -qf /usr/lib/readline.so.0 (or whatever the readline file is named). That should show you the name of the package that owns/installed that file. Hopefully that's the same as your grep above. rpm -qi readline should give you info about the currently installed version. do a rpm -qip readline-5.1-12.rpm or whatever to see info about the new rpm.. compare some of the info (make sure the name is 'readline' for them both, so the rpm program knows you're trying to upgrade to the same version).. also could try (I think, haven't tried this myself) doing a rpm -ep `rpm -qa | grep readline`. That will try to install the rpm with that packagename (so not just the program name 'readline', but the packagename 'readline-4.3-13'). These are all random shots, but you may get lucky. As for ports/portage/whatever.. those systems are great. RedHat *sort of* has the same thing which you set up for yum. You can definitely set it up for apt-get (the rpm version of ports). I'm not sure about SuSE and it's repositories and stuff, so I can't say if you'd be able to use those tools to upgrade readline. |
03-01-2005, 02:40 PM | #7 (permalink) |
Insane
|
Hmm. I'm sorry wombat, my mentioning RedHat was definitely my mistake. What I meant was "RPM based systems" or better yet, "using the RPM system for your computer system".
SuSE is a great system. Nice hardware support. It's definitely in the top 3 of Linux distributions. Again, I'm sorry for my screwup.. I hope you don't mind. =)
__________________
"You looked at me as if I was eating runny eggs in slow motion." - Gord Downie of The Tragically Hip |
03-01-2005, 09:36 PM | #8 (permalink) |
Insane
|
Not at all trache, not at all. I mentioned it only in case you had some extra information that might have helped with my particular problem. And I must agree, when SuSE detected all my stuff, included my digital camera dock, wireless keyboard and 2 wireless mice, and Officejet 6110 printer, I was mighty impressed.
And thanks Latch, hopefully I can give that a try soon (damn school work and classes and such). |
Tags |
linux, question |
|
|