Find the answer to your Linux question:
Results 1 to 3 of 3
okay, is there a way to cron apt-get to update the package list and then apply upgrades automatically (say, once a week- every sunday morning at 4am EST)? from what ...
  1. #1
    Just Joined!
    Join Date
    Jun 2006
    Posts
    14

    apt-get question

    okay, is there a way to cron apt-get to update the package list and then apply upgrades automatically (say, once a week- every sunday morning at 4am EST)?

    from what i understand precursorily, i have to set up something called a pre-seed to answer any of the yes/no prompts as welll...?

    a little help?

    running debian sarge. it's a server, so no desktop environment. can't afford to waste HDD space ; )

  2. #2
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,408
    take a look at the program cron-apt then make a file at
    Code:
    etc/cron-apt/action.d/4-install
    which has the command
    Code:
    dist-upgrade -y
    or without dist if you like
    Brilliant Mediocrity - Making Failure Look Good

  3. #3
    Just Joined!
    Join Date
    Jun 2006
    Posts
    14
    : ) thank you so much!

Posting Permissions

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