update-management

Knud Nolting h.klopp3000 at hotmail.de
Mon Jun 4 16:48:08 UTC 2012


Thank you for the quick reply, Jonathan

I have problems to do the things,like you want me to do them:


> Edit the file /etc/apt/apt.conf.d/50unattended-upgrades
> to do what you want it to do, including who to email when it
> does upgrades, which repositories to upgrade from, etc.
I try to post the content of that file here:

?>  // Automatically upgrade packages from these (origin, archive) pairs

> Unattended-Upgrade::Allowed-Origins {
> 	"${distro_id} ${distro_codename}-security";
> //	"${distro_id} ${distro_codename}-updates";
> //	"${distro_id} ${distro_codename}-proposed";
> //	"${distro_id} ${distro_codename}-backports";
> };
>
> // List of packages to not update
> Unattended-Upgrade::Package-Blacklist {
> //	"vim";
> //	"libc6";
> //	"libc6-dev";
> //	"libc6-i686";
> };
>
> // This option allows you to control if on a unclean dpkg exit
> // unattended-upgrades will automatically run
> //   dpkg --force-confold --configure -a
> // The default is true, to ensure updates keep getting installed
> //Unattended-Upgrade::AutoFixInterruptedDpkg "false";
>
> // Split the upgrade into the smallest possible chunks so that
> // they can be interrupted with SIGUSR1. This makes the upgrade
> // a bit slower but it has the benefit that shutdown while a upgrade
> // is running is possible (with a small delay)
> //Unattended-Upgrades::MinimalSteps "true";
>
> // Send email to this address for problems or packages upgrades
> // If empty or unset then no email is sent, make sure that you
> // have a working mail setup on your system. The package 'mailx'
> // must be installed or anything that provides /usr/bin/mail.
> //Unattended-Upgrade::Mail "root at localhost";
>
> // Set this value to "true" to get emails only on errors. Default
> // is to always send a mail if Unattended-Upgrade::Mail is set
> //Unattended-Upgrade::MailOnlyOnError "true";
>
> // Do automatic removal of new unused dependencies after the upgrade
> // (equivalent to apt-get autoremove)
> //Unattended-Upgrade::Remove-Unused-Dependencies "false";
>
> // Automatically reboot*WITHOUT CONFIRMATION*  if a
> // the file /var/run/reboot-required is found after the upgrade
> //Unattended-Upgrade::Automatic-Reboot "false";
>
>
> // Use apt bandwidth limit feature, this example limits the download
> // speed to 70kb/sec
> //Acquire::http::Dl-Limit "70";
And the content of the file /etc/apt/apt.conf.d/10periodic:


> APT::Periodic::Update-Package-Lists  "1";
> APT::Periodic::Download-Upgradeable-Packages  "1";
> APT::Periodic::AutocleanInterval  "0";
> APT::Periodic::Unattended-Upgrade  "1";
But I still do not get automatic-updates.For example,today I waited the whole day,but nothing happened.Then I took the GUI-Update-Manager,it installed the following:

> update-manager (1:0.152.25.12) oneiric-security; urgency=low
   * SECURITY UPDATE: Incomplete fix for CVE-2012-0949 (LP: #1004503)
     - DistUpgrade/DistUpgradeApport.py: use a whitelist of files so we
       don't upload system_state archives.
     - tests/test_apport_crash.py: add test.
     - CVE-2012-0950
  -- Marc Deslauriers<email address hidden>    Thu, 31 May 2012 13:07:39 -0400

So,it seems,that automatic update does not work.Shouldn?t Lubuntu do that automatically? I can do it by myself,of course,but if everything is set to automatic,it should work.
What should I do?

Knud


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20120604/1c1f96b3/attachment.html>


More information about the Lubuntu-users mailing list