unattended upgrades

Discussion in 'Installation/Configuration' started by admins, Aug 6, 2011.

  1. admins

    admins Member

    Hi
    I tryied to configure it, may it do not upgrade the packages..

    OS: Debian
    Version: lenny

    source.list:
    Code:
    deb http://packages.dotdeb.org oldstable all
    deb-src http://packages.dotdeb.org oldstable all
    
    deb http://mirror.switch.ch/ftp/mirror/debian/ lenny main
    deb-src http://mirror.switch.ch/ftp/mirror/debian/ lenny main
    
    deb http://security.debian.org/ lenny/updates main contrib
    deb-src http://security.debian.org/ lenny/updates main contrib
    
    deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib
    deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib
    
    50unatennded-upgrades:
    Code:
    // Automatically upgrade packages from these (origin, archive) pairs
    Unattended-Upgrade::Allowed-Origins {
            "Debian stable";
            "Debian lenny-security";
          "Debian lenny-updates";
          "Debian lenny-proposed-updates";
          "packages.dotdeb.org oldstable";
    "Debian volatile";
    
    };
    
    unattended-upgrades.log:
    Code:
    2011-08-06 06:57:33,148 INFO Initial blacklisted packages:
    2011-08-06 06:57:33,148 INFO Starting unattended upgrades script
    2011-08-06 06:57:33,148 INFO Allowed origins are: ["['Debian', 'stable']", "['Debian', 'lenny-security']", "['Debian', 'lenny-updates']", "['Debian', 'lenny-proposed-updates']", "['packages.dotdeb$
    2011-08-06 06:57:33,814 INFO No packages found that can be upgraded unattended
    
    I d'like to update all packages automatically from the sources wich are in the source.list. Can anyone help me?

    Thanks
    admins
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Can you run
    Code:
    apt-get update
    and then
    Code:
    apt-get -s upgrade
    ? Does it show any available upgrade packages?
     
  3. admins

    admins Member

    Hi falko

    Result:
    Code:
    Inst libpng12-0 [1.2.27-2+lenny4] (1.2.27-2+lenny5 Debian-Security:5.0/oldstable                           )
    Conf libpng12-0 (1.2.27-2+lenny5 Debian-Security:5.0/oldstable)
    
    If I change the 50unattended-upgrades, how can I run the unattended-upgrades manually?
    I do not want to wait till tomorrow..

    thanks
    admins
     
    Last edited: Aug 8, 2011
  4. falko

    falko Super Moderator ISPConfig Developer

    I think you should change the line
    Code:
    "Debian stable";
    to
    Code:
    "Debian lenny";
    in the 50unattended-upgrades file.

    You can install updates manually like this:
    Code:
    apt-get upgrade
     
  5. admins

    admins Member

    Dose not work...
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Do you get any errors?
     

Share This Page