LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-01-2009, 03:12 PM   #1
funkymunky
Member
 
Registered: Jun 2003
Location: Austin, Texas
Distribution: Fedora Core 8, 32-bit
Posts: 126

Rep: Reputation: 15
Question How to update glib2 from local rpms? [Fedora 8]


Hi,

I'm running Fedora 8, where the currently installed version of glib2
is glib2-2.14.2-1.fc8.i386. For a piece of software that I'm
compiling, I need glib2 >= 2.15. Since an updated glib2 is not
available for Fedora 8, I downloaded glib2-2.16.3-5.fc9.src.rpm for
Fedora 9 and rebuilt it, which resulted in the following rpms:
glib2-2.16.3-5.fc8.i386.rpm
glib2-debuginfo-2.16.3-5.fc8.i386.rpm
glib2-devel-2.16.3-5.fc8.i386.rpm
glib2-static-2.16.3-5.fc8.i386.rpm

Now how do I go about installing these?
1) I tried yum in this directory:
> sudo yum localinstall glib2-2.16.3-5.fc8.i386.rpm

Setting up Local Package Process
Examining glib2-2.16.3-5.fc8.i386.rpm: glib2 - 2.16.3-5.fc8.i386
Marking glib2-2.16.3-5.fc8.i386.rpm as an update to glib2 -
2.14.2-1.fc8.i386
Resolving Dependencies
--> Running transaction check
---> Package glib2.i386 0:2.16.3-5.fc8 set to be updated
--> Processing Dependency: glib2 = 2.14.2-1.fc8 for package: glib2-
devel
--> Finished Dependency Resolution
Error: Missing Dependency: glib2 = 2.14.2-1.fc8 is needed by package
glib2-devel

2) I tried installing manually using rpm, but it complains of files
from this rpm conflicting with the already installed 2.14 glib2
version.

3) I tried removing glib2-2.14, but there are a ton of programs
already using it, as expected.

How can I then go about updating glib2? I could use the source I got
from rebuilding the SRPM and install from source. What is the standard
way of doing this?

Thanks,
MK

 
Old 12-01-2009, 03:31 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by funkymunky View Post
What is the standard way of doing this?
I'm afraid that the standard way of doing this is to move to F11 or F12 as F8 was obsoleted. See http://fedoraproject.org/wiki/LifeCycle.
 
Old 12-01-2009, 03:36 PM   #3
funkymunky
Member
 
Registered: Jun 2003
Location: Austin, Texas
Distribution: Fedora Core 8, 32-bit
Posts: 126

Original Poster
Rep: Reputation: 15
So it is, but that shouldn't make it impossible to upgrade from one version of glib to another. Yum seems to do it fine if there is another version available on any repo. There isn't, and I have to do it manually, so there has to be a way..
 
Old 12-01-2009, 07:21 PM   #4
funkymunky
Member
 
Registered: Jun 2003
Location: Austin, Texas
Distribution: Fedora Core 8, 32-bit
Posts: 126

Original Poster
Rep: Reputation: 15
Okay so here's the solution from some nice guy on comp.os.linux.development on Usenet:

"Remove the old glib2-devel or install the new glib2 and its version of
glib2-devel in one command."

The following worked:

sudo yum localinstall glib2-2.16.3-5.fc8.i386.rpm glib2-devel-2.16.3-5.fc8.i386.rpm glib2-static-2.16.3-5.fc8.i386.rpm
(all these packages were generated when I rebuilt the SRPM)


-MK
 
Old 12-02-2009, 01:58 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
WHY go to that trouble to update ONLY one program on an unsupported OS like fedora 8 ??

I would just install fedora 12 and in 6 months fedora 13 then 6 months later fedora 14


or GET OFF the fedora roller-coaster and install a LONG LIFE distro like RHEL or CentOS .
 
  


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
help installing local rpms from fed5 extras cd extendedping Linux - Software 1 07-30-2006 07:33 PM
SUSE 10.1Can't install any local rpms via YAST 1kyle SUSE / openSUSE 6 03-23-2006 11:08 AM
glib2 v2.6.6-1 (Fedora) --> v2.8.6-1 (GST) Kropotkin Fedora 2 02-19-2006 08:29 AM
Red Hat 9: Is it safe to update glib2,pango... via synaptic with fedora packages? gevero Linux - Software 0 03-17-2005 04:11 AM
Want to create Fedora Core 1 Update CD, which RPMs to get? Arodef Fedora 6 04-13-2004 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12: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