Fedora Linux Support Community & Resources Center
  #1  
Old 2nd September 2006, 07:49 AM
Binford Offline
Registered User
 
Join Date: Aug 2006
Posts: 34
up2date source

I know the standard answer is up2date is no longer supported in Fedora, use yum, but in this case that doesn't work. We have an internal server built up for up2date channels for our RH ES and AS environment and I need to access the RPM's built off it.

We have developed an entire Engineering Management framework (we call it EM) and I can't just tell management to go 'use yum' for new Desktops using Fedora Core.

hence, can someone point me to where I could get the src RPM's for up2date to build on FC5 and integrate?

Thanks.
Reply With Quote
  #2  
Old 2nd September 2006, 03:45 PM
lazlow Offline
Registered User
 
Join Date: Aug 2005
Posts: 3,172
Binford

If I remember the discussion correctly there was a major conflict between Selinux and up2date. Unless you are prepared for a couple hundred man hours of recoding and a totally customized Selinux (not good), I think you will have to migrate with the herd. I beleive RedHat will be migrating to yum with its next release as well. If you are after controling what updates are available it is possible to build your own repo. The short answers is that it is not a matter of if you will migrate to yum, but when.


Good luck

Lazlow

Double posting is considered to be rude.

Last edited by lazlow; 2nd September 2006 at 03:48 PM.
Reply With Quote
  #3  
Old 2nd September 2006, 05:13 PM
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 69
Posts: 22,207
Please don't double post: http://forums.fedoraforum.org/showthread.php?t=122921 Other post closed.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #4  
Old 2nd September 2006, 05:18 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 23
Posts: 9,224
Try using "yumex", or the new alternative "pup". Here's how to install both:
Code:
su -
yum install pirut yumex
Now both 'pup' and 'yumex' are available though your system menus.
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #5  
Old 8th September 2006, 06:50 PM
Binford Offline
Registered User
 
Join Date: Aug 2006
Posts: 34
Quote:
Originally Posted by lazlow
Binford

If I remember the discussion correctly there was a major conflict between Selinux and up2date. Unless you are prepared for a couple hundred man hours of recoding and a totally customized Selinux (not good), I think you will have to migrate with the herd. I beleive RedHat will be migrating to yum with its next release as well. If you are after controling what updates are available it is possible to build your own repo. The short answers is that it is not a matter of if you will migrate to yum, but when.


Good luck

Lazlow

Double posting is considered to be rude.
I am unable to find any discussion ofof RH moving to yum in the next release of RHES and RhAS. Can you provide a link?
Reply With Quote
  #6  
Old 8th September 2006, 10:48 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 23
Posts: 9,224
In FC6 (you can check it you by install "yum-updatesd" from development) there is a yum applet that works quite well, and it's used with Pup, the GUI to yum. Is this what you're referring to?
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #7  
Old 9th September 2006, 12:23 AM
Techokami Offline
Registered User
 
Join Date: May 2005
Location: Massachussetts
Age: 27
Posts: 88
Wow... some of you aren't reading his post.
Quote:
We have an internal server built up for up2date channels for our RH ES and AS environment and I need to access the RPM's built off it.
Translation: His company is using a modified up2date to distribute software updates across the LAN locally, however he needs the source code to port it to FC5, which is what his company is now using.

If I'm wrong, I'd rather have the topic creator correct me.

Anyways, to actually look useful, here's the SRPM for the last version of up2date

Last edited by Knuckles T15; 9th September 2006 at 12:26 AM.
Reply With Quote
  #8  
Old 9th September 2006, 12:26 AM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 23
Posts: 9,224
In that case, either way - Instead create a Yum repo instead using createrepo. Install it with:
Code:
yum install createrepo
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #9  
Old 9th September 2006, 12:32 AM
wshawn Offline
Registered User
 
Join Date: Apr 2004
Location: Daytona Beach, FL
Age: 48
Posts: 422
I have a redhat 4 webserver which uses yum. You might want to look into build repo, I believe you can have it re create the repo for use with yum...

Slowjet has the idea here http://forum.fedoraforum.org/forum/showpost.php?p=580905&postcount=3
__________________
Registered Linux user: 358599
Reply With Quote
  #10  
Old 11th September 2006, 06:32 AM
RahulSundaram Offline
Registered User
 
Join Date: May 2005
Posts: 3,750
Quote:
Originally Posted by Binford
I am unable to find any discussion ofof RH moving to yum in the next release of RHES and RhAS. Can you provide a link?
RHEL 5 will use yum.

https://www.redhat.com/archives/rhel.../msg00000.html
__________________
Rahul
http://fedoraproject.org/wiki/RahulSundaram
Reply With Quote
  #11  
Old 14th September 2006, 06:02 PM
Binford Offline
Registered User
 
Join Date: Aug 2006
Posts: 34
Quote:
Originally Posted by Knuckles T15
Wow... some of you aren't reading his post.
I see that over and over here...

Quote:
Originally Posted by Knuckles T15
Anyways, to actually look useful, here's the SRPM for the last version of up2date
Thank you that was very much what I was looking for, and that made installing up2date very easy on FC5.

# rpm -ivh up2date-4.4.23-4.src.rpm
# cd /usr/src/redhat/SPECS
# rpmbuild -bb up2date.spec

This will build 3 RPM's for installation. Before we install these we need a couple of pre-requisites, which are available from yum thankfully

# yum -y install rhnlib

This will install both the rhnlib and pyOpenSSl RPM's. Now we can install up2date

# cd /usr/src/redhat/RPMS/i386
# rpm -ivh up2date-*

DONE. BUT now...

[root@localhost log]# up2date --nox --show-channels An error has occurred:
exceptions.AttributeError
See /var/log/up2date for more information

Thu Sep 14 12:08:36 2006] up2date File "/usr/sbin/up2date", line 1265, in ?
sys.exit(main() or 0)
File "/usr/sbin/up2date", line 328, in main
sources = sourcesConfig.getSources()
File "/usr/share/rhn/up2date_client/sourcesConfig.py", line 263, in getSources
scfg = SourcesConfigFile(filename="/etc/sysconfig/rhn/sources")
File "/usr/share/rhn/up2date_client/sourcesConfig.py", line 42, in __init__
self.load()
File "/usr/share/rhn/up2date_client/sourcesConfig.py", line 85, in load
self.parseRepomd(line)
File "/usr/share/rhn/up2date_client/sourcesConfig.py", line 220, in parseRepomd
yb = yumBaseRepo.initYumRepo()
File "/usr/share/rhn/up2date_client/repoBackends/yumBaseRepo.py", line 40, in initYumRepo
yb = YumBaseRepo()
File "/usr/share/rhn/up2date_client/repoBackends/yumBaseRepo.py", line 20, in __init__
self.conf = yum.config.yumconf()

That has ot be the most useless log data I have ever seen... WTF is the problem???

FYI to be clear I edited the /etc/sysconfig/rhn/up2date and pointed to our local satellite

Last edited by Binford; 14th September 2006 at 06:05 PM.
Reply With Quote
  #12  
Old 14th September 2006, 11:16 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 23
Posts: 9,224
It's useless because you don't know python (no insult meant if you do, but if you did then you'd realize how useful infact these are...) It traces for a reason, so you can solve the issue...

It's either because you made a type in your line, making a parse error, or because FC5 isn't meant to use up2date, it's breaking.
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
Reply

Tags
source, up2date

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC4; trouble getting kernel source with up2date tharg EOL (End Of Life) Versions 5 27th June 2005 04:56 AM
Adding extra repos to up2date source file gonzalo76 Guides & Solutions (No Questions) 8 25th April 2004 10:29 PM


Current GMT-time: 10:03 (Wednesday, 26-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Surubim Photos on Instagram - Dzyarzhynsk - Salur Travel Photos