Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Fedora Core 2 up2date?

  • 04-08-2004 2:31pm
    #1
    Moderators, Regional Midwest Moderators Posts: 11,248 Mod ✭✭✭✭


    I finally got this to run properly, originally I just ran it, chose select all etc and waited. And waited. And waited. Would hang at checking rpm dependencies (or something). Anyway, browsed through the packages and only selected a few. Worked grand. What's the best way of keeping up to date?


Comments

  • Closed Accounts Posts: 3 emac


    up2date has caused problems since fedora core 1, I use apt with a gui called synaptic.It is very easy to use and also solves all the dependencies for you.You can also add what respositories you like, handy for adding new packages.You can get it here http://freshrpms.net/apt/.

    eoin


  • Registered Users, Registered Users 2 Posts: 21,137 ✭✭✭✭Stark


    I was never able to use apt through a work poxy so I used yum instead. Both apt and yum are very similar.


  • Closed Accounts Posts: 365 ✭✭ronanp


    MarkR wrote:
    I finally got this to run properly, originally I just ran it, chose select all etc and waited. And waited. And waited. Would hang at checking rpm dependencies (or something). Anyway, browsed through the packages and only selected a few. Worked grand. What's the best way of keeping up to date?
    I had similar problems with fedora updates which I reckon were because by default up2date is using a very busy mirror. You need to change the file /etc/sysconfig/rhn/sources to use a faster or more local mirror. I use the heanet mirror and it works well. Just comment out the rhn servers in the sources file and add the heanet ones - copy and paste this:

    yum fedora-core-2 ftp://ftp.heanet.ie/mirrors/download.fedora.redhat.com/pub/fedora/linux/core/2/i386/os/
    yum updates-released ftp://ftp.heanet.ie/mirrors/download.fedora.redhat.com/pub/fedora/linux/core/updates/2/i386/


    Likewise you should edit /etc/yum.conf so that the servers bit looks like this:

    [base]
    name=Fedora Core $releasever - $basearch - Base
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
    baseurl=ftp://ftp.heanet.ie/mirrors/download.fedora.redhat.com/pub/fedora/linux/core/2/i386/os/

    [updates-released]
    name=Fedora Core $releasever - $basearch - Released Updates
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
    baseurl=ftp://ftp.heanet.ie/mirrors/download.fedora.redhat.com/pub/fedora/linux/core/updates/2/i386/

    i.e just comment out the defaults and add the heanet mirror instead.


  • Moderators, Regional Midwest Moderators Posts: 11,248 Mod ✭✭✭✭MarkR


    Thanks, i'm trying that now. When i start up2date for the first time, it asks me to enter a server name. Should I leave that as the default, or does it matter?


  • Closed Accounts Posts: 365 ✭✭ronanp


    Not sure what that would be for, once the sources and yum conf files are ok you should be fine. I guess i'd go with the default, because thats what I generally do for everything ;-)


  • Advertisement
  • Moderators, Regional Midwest Moderators Posts: 11,248 Mod ✭✭✭✭MarkR


    All up to date now, thanks. One more question, after I updated the kernal using yum I have two versions of fedora, 2.6 blah blah blah and 2.7 blah blah blah. Is this normal?


  • Closed Accounts Posts: 365 ✭✭ronanp


    Perfectly normal - you've got two different kernels installed and they want you to have a return option if the new one's ****ed. If you edit /etc/grub.conf you can comment out your old kernel once you've tested the new one. Changing the line "default=<whichever>" to default=0 will boot the first one on the list by default, which should be the most recent one. e.g:

    default=0
    timeout=5
    splashimage=(hd0,0)/grub/splash.xpm.gz
    title Fedora Core (2.6.7-1.494.2.2)
    root (hd0,0)
    kernel /vmlinuz-2.6.7-1.494.2.2 ro root=LABEL=/ rhgb quiet
    initrd /initrd-2.6.7-1.494.2.2.img
    #title Fedora Core (2.6.6-1.435.2.3)
    # root (hd0,0)
    # kernel /vmlinuz-2.6.6-1.435.2.3 ro root=LABEL=/ rhgb quiet
    # initrd /initrd-2.6.6-1.435.2.3.img


Advertisement