Page 2 of 2 FirstFirst 12
Results 26 to 49 of 49
  1. #26
    Join Date
    Apr 2004
    Location
    Duncan, BC
    Posts
    5

    I followed this post and get error

    Hi,

    I have redhat 9 installed. I followed this post and successfully installed yum. I then ran yum check-update and I get the following.... so I added some more mirrors to the /etc/yum.conf file and I still get the same thing? Am I missing something?

    regards

    Blair

    ps I had to put the stars in because I can't post url until I have posted 5 time.

    [root@server rhn]# yum check-update
    Gathering header information file(s) from server(s)
    Server: Fedora Core Null - i386 - Base
    retrygrab() failed for:
    ht**://mirrors.kernel.org/fedora/core/Null/i386/os/headers/header.info
    Executing failover method
    failover: out of servers to try
    Error getting file ht**://mirrors.kernel.org/fedora/core/Null/i386/os/headers/header.info
    [Errno 4] IOError: HTTP Error 404: Not Found

  2. #27
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    You didn't read this thread carefully
    If you are using Red Hat Linux 9, use up2date not yum. I use yum and/or up2date for Fedora now without any problem for those servers I managed

  3. #28
    Join Date
    Mar 2004
    Location
    LA
    Posts
    50
    hehehe, yeah use

    Code:
    up2date --nox -u
    then

    Code:
    shutdown -r now
    jk lol

    <edit>signature removed</edit>
    Last edited by choon; 04-12-2004 at 08:42 AM.

  4. #29
    Join Date
    Apr 2004
    Location
    Duncan, BC
    Posts
    5

    up2date

    yeah..

    The reason I thought I could use yum for redhat 9 was that I saw a post on this forum:

    Quote
    "While the future of Fedora for security updates to RedHat 7.3, 8, and 9 is uncertain, at present you can use Yum along side Fedora Legacy to keep your RedHat servers up to date."


    ht**://w**.webhostingtalk.com/showthread.php?s=&threadid=231081&highlight=redhat+7.3+yum

    anyway thanks for clearing that up..

    regards

    Blair

  5. #30
    Join Date
    Mar 2004
    Location
    LA
    Posts
    50
    did u update your system?

    also apt-get u can try thats a great addon

    <edit>signature removed</edit>
    Last edited by choon; 04-12-2004 at 08:43 AM.

  6. #31

    Unhappy Up2date Problem

    When I run up2date I keep getting this error.


    Fetching rpm headers... ######################################## Testing package set / solving RPM inter-dependencies... There was a package dependency problem. The message was: Unresolvable chain of dependencies: psa-spamassassin 7.0.0-rh9.build040205. requires perl(Mail:pamAssassin::ArchiveIterator) psa-spamassassin 7.0.0-rh9.build040205. requires perl(Mail:pamAssassin:erMsgLearner) psa-spamassassin-7.0.0-rh9.build040205.2 requires spamassassin >= 2.60 spamassassin 2.44-11.8.x requires perl-Net-DNS spamassassin-tools 2.61-1 requires perl(Mail:pamAssassin::ArchiveIterator) spamassassin-tools-2.61-1 requires perl-Mail-SpamAssassin = 2.61-1

    Can somone please give me detailed steps how to make up2date skip these files I have tried everything.

  7. #32
    Join Date
    Apr 2004
    Location
    Duncan, BC
    Posts
    5

    up2date --nox -u

    I ran up2date --nox -u and all went well. At the end I got this message. Should I go into the config and mark them to not skip? and if so how do I do that?

    Looking forward to your feedback.

    Blair


    The following Packages were marked to be skipped by your configuration:

    Name Version Rel Reason
    -------------------------------------------------------------------------------
    httpd-manual 2.0.40 21.9 Pkg name/pattern
    kernel 2.4.20 30.9 Pkg name/pattern
    lftp 2.6.3 4 Pkg name/pattern
    php-imap 4.2.2 17.2 Pkg name/pattern
    php-ldap 4.2.2 17.2 Pkg name/pattern

  8. #33
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    Hi spamassassin, run:
    Code:
    up2date --nox --configure
    Then enter in the number which shows you pkgSkipList then enter in psa-spamassassin*;perl* then press ENTER twice to save changes and rerun up2date --nox -u. Hope this helps

    campbell, please read the HOWTO carefully which I believe I did indicated that if you want to let up2date to upgrade the kernel, you will need to remove kernel* from the configuration in pkgSkipList etc... which if you found others like httpd-manual in there you may consider to remove it from the configuration also provided you know what you are doing

  9. #34
    Join Date
    Apr 2004
    Location
    Duncan, BC
    Posts
    5

    skiplist

    I changed the fileskiplist and removeskiplist to [] and ran up2date again. My question is with httpd.conf.... It seems to me that it has not changed this file. Any feedback on that?

    Testing package set / solving RPM inter-dependencies...
    ########################################
    httpd-manual-2.0.40-21.9.i3 ########################## Done.
    kernel-2.4.20-30.9.athlon.r ########################## Done.
    lftp-2.6.3-4.i386.rpm: ########################## Done.
    php-imap-4.2.2-17.2.i386.rp ########################## Done.
    php-ldap-4.2.2-17.2.i386.rp ########################## Done.
    php-4.2.2-17.2.i386.rpm: ########################## Done.
    httpd-2.0.40-21.9.i386.rpm: ########################## Done.
    Preparing ########################################### [100%]

    Installing...
    1:httpd warning: /etc/httpd/conf/httpd.conf created as /etc/httpd/conf/httpd.conf.rpmnew
    warning: /etc/httpd/conf/magic created as /etc/httpd/conf/magic.rpmnew
    warning: /etc/rc.d/init.d/httpd saved as /etc/rc.d/init.d/httpd.rpmorig
    ########################################### [100%]
    2:php ########################################### [100%]
    3:lftp ########################################### [100%]
    4:httpd-manual ########################################### [100%]
    5:kernel ########################################### [100%]
    6:php-imap ########################################### [100%]
    7:php-ldap ########################################### [100%]
    The following packages were added to your selection to satisfy dependencies:

    Name Version Release
    --------------------------------------------------------------
    php 4.2.2 17.2
    httpd 2.0.40 21.9

  10. #35
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    Well, most of the application configuration files won't be replaced as you won't want it to replace your httpd.conf which you have added a few tens/hundreds/thousand ( ) domains to host don't you? The file is saved as /etc/httpd/conf/httpd.conf.rpmnew instead of /etc/httpd/conf/httpd.conf and if you want the updated copy of httpd.conf file... you simply copy over if you are sure what you are doing:
    Code:
    mv /etc/httpd/conf/httpd.conf.rpmnew /etc/httpd/conf/httpd.conf

  11. #36
    Join Date
    Apr 2004
    Location
    Duncan, BC
    Posts
    5

    That's what I thought

    I needed to confirm that issue since it is such an important config file.

    Thanks

  12. #37
    Join Date
    Jan 2003
    Location
    singapore
    Posts
    292
    do you guys still run up2date regularly? up2date updated my apache to 2.0, do you all use 2.0 already?

    this caused me a huge mistake, i run directadmin, it use apache 1.3, after up2date, my server was down...

  13. #38
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,681
    u have to add httpd to the skip list
    Last edited by choon; 05-09-2004 at 01:18 AM.

  14. #39

    Question Import Error with up2date

    I'm getting this module error with up2date.
    Apparently the system has not been checking in since March, so I tried to run it manually.
    This is where it ends...
    Any pointers gratefully appreciated!

    [root@sb01 src]# rpm -qa|grep up2date
    up2date-3.1.23.2-1
    [root@sb01 src]# up2date --nox -p
    Traceback (most recent call last):
    File "/usr/sbin/up2date", line 11, in ?
    import rpm
    ImportError: No module named rpm


    With many thanks

    Peter

  15. #40
    Join Date
    Sep 2003
    Location
    Fort Lauderdale, FL
    Posts
    36
    Great topic, thanks!

  16. #41
    Does any body know how to update only php packages?

    Thank you very much;

  17. #42
    Join Date
    Jun 2004
    Posts
    63

    * warning !!! --- help !!!

    look guys, if you do run the up2date and have cpanel installed,
    it can f*ck-up everything...
    i did it once, and updated my perl...
    then nothing about cpanel worked (as u know it is all in perl)
    no solution available to fix even from cpanel...
    OS reload did fixed it !!!

    so be careful !!!!

    So, i would like to ask,
    how i can make up2date NOT to update anything but kernel ??

    (i would prefer /scripts/rhnupdate for updating everything on server, but this doesnt do that for kernel...)

    So the only i need up2date for is kernel...

    what can i do ???

  18. #43
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,681

    Re: warning !!! --- help !!!

    Originally posted by hookgr
    look guys, if you do run the up2date and have cpanel installed,
    it can f*ck-up everything...
    i did it once, and updated my perl...
    then nothing about cpanel worked (as u know it is all in perl)
    no solution available to fix even from cpanel...
    OS reload did fixed it !!!

    so be careful !!!!

    So, i would like to ask,
    how i can make up2date NOT to update anything but kernel ??

    (i would prefer /scripts/rhnupdate for updating everything on server, but this doesnt do that for kernel...)

    So the only i need up2date for is kernel...

    what can i do ???

    hrmm?

    wget http://layer1.cpanel.net/perl584installer.tar.gz
    tar -zxf perl584installer.tar.gz
    cd perl584installer
    ./install
    /scripts/upcp --force

    would have fixed that perl issue no problem no osreload needed
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  19. #44
    Join Date
    Jun 2004
    Posts
    63
    the tech support couldnt do this propably...
    so they prefered making me a free os reload...
    anyway, maybe they had no other choice, maybe this above didnt worked and up2date f*cked up more things...

    Anyway, the question remains !
    how i can use up2date ONLY for kernel auto-updating ???

    is there a way i can make auto-updating of my kernel using up2date or anything else ???

    Also, what is the latest bug-free kernel for RH9 now ?

  20. #45
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,681
    Redhat 9 is not supported any longer. So there will be no more updates from redhat. If you want updates, (they come slow) you need to install yum and use the fedora legacy mirrors in the yum.conf to use fedora legacy updates.
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  21. #46
    Join Date
    Jun 2004
    Posts
    63
    ???
    i could continue having redhat 9,
    with yum (fedora's) update system,
    and also keep all settings intact ? (cpanel etc...)

    will this work ???

    anyone have done that ???



    Any tutorials for this ?

  22. #47
    Join Date
    Nov 2003
    Location
    TeleCity 2, Amsterdam
    Posts
    62
    Why would I wanna use up2date with Yum when Yum without up2date does the same trick?
    Citus.nl - Dedicated Servers in The Netherlands
    http://www.citus.nl - info@citus.nl

  23. #48
    Join Date
    Nov 2003
    Location
    TeleCity 2, Amsterdam
    Posts
    62
    Originally posted by DennisCitus
    Why would I wanna use up2date with Yum when Yum without up2date does the same trick?
    Anybody?
    Citus.nl - Dedicated Servers in The Netherlands
    http://www.citus.nl - info@citus.nl

  24. #49
    Join Date
    Nov 2002
    Posts
    514
    On fedora 1, yum should be used because you will get NO UPDATES by using up2date.
    Get help with your server optimization - A forum on server optimization...
    ExoPHPDesk - Powerful PHP HelpDesk

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •