Find the answer to your Linux question:
Results 1 to 6 of 6
I have redhat linux workstation enterprise linux 5.2. I am wanting it to automatically do updates without user interaction. I have manually used pup for all my updates but want ...
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    9

    Redhat EL Worksation 5.2 - how do I do automatic updates?

    I have redhat linux workstation enterprise linux 5.2. I am wanting it to automatically do updates without user interaction.

    I have manually used pup for all my updates but want it to happen automatically.

    How do I do this?

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Create a cron job.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Sep 2008
    Posts
    9
    Yes, a cron job works great. But if I just have the cron job run pup, pup still requires user interaction and clicking, "ok" to accept updates, etc...

    Is there no way in redhat to automate this? You HAVE to interact with updates?

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    use yum instead, there should be a param to pass on the command line that forces it to accept the updates

  5. #5
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Yes, use YUM to update your system. Works great here as a cron job.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  6. #6
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    add

    yum -y update

    to your crontab, the -y says "say yes to everything"
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

Posting Permissions

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