Auto Update Check doesn't work after Upgrading to 9.04 (wrong permissions for cron job)

Bug #438025 reported by Thomas Winteler (Win-Soft)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: update-notifier-kde

Hello

My System:
lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

apt-cache policy update-notifier-kde
update-notifier-kde:
  Installed: 0.19
  Candidate: 0.19
  Version table:
 *** 0.19 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Earlier i have successfully upgraded my Kubuntu from 8.10 to 9.04.. no Problems, just the daily automatically update checks doesn't work. So i need to do that manually with sudo apt-get update. After the manually update check step, the update-notifier-kde icon appears on tray, i can click on it and upgrade my system.

I also can run manual update check over KPackageKit..

I searched, asked around and found that (german): http://forum.ubuntuusers.de/topic/nach-update-auf-kubuntu-8.10:-automatische-up/?highlight=ausfuhrungsrecht#post-1739269
This german description means, that the same Problem was on upgrading to 8.10.. so i tried that steps..

The Package update-notifier-kde was installed on my System..

/etc/apt/apt.conf.d/10periodic:

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Periodic::Unattended-Upgrade "0";

/etc/apt/apt.conf.d/50unattended-upgrades:

// Automatically upgrade packages from these (origin, archive) pairs
Unattended-Upgrade::Allowed-Origins {
        "Ubuntu jaunty-security";
// "Ubuntu jaunty-updates";
};

// List of packages to not update
Unattended-Upgrade::Package-Blacklist {
// "vim";
// "libc6";
// "libc6-dev";
// "libc6-i686";
};

// 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@localhost";

Then i saw that i (and root) have no execute permission on /etc/cron.daily/apt

ls -l /etc/cron.daily/apt
-rw-r--r-- 1 root root 8686 2009-04-17 06:27 /etc/cron.daily/apt

All other scripts in /etc/cron.daily/ has rwxr-xr-x.. so i run:
sudo chmod aou+x /etc/cron.daily/apt

I think my problem is solved... i will come back later to confirm it.. or send more information.

King Regards from Switzerland
thomi

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: update-notifier-kde 0.19
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
 LANGUAGE=
SourcePackage: update-notifier-kde
Uname: Linux 2.6.28-15-generic i686

Revision history for this message
Thomas Winteler (Win-Soft) (thomi) wrote :
Revision history for this message
Thomas Winteler (Win-Soft) (thomi) wrote :

hello

so, i can now confirm, that above steps:

ls -l /etc/cron.daily/apt
-rw-r--r-- 1 root root 8686 2009-04-17 06:27 /etc/cron.daily/apt

All other scripts in /etc/cron.daily/ has rwxr-xr-x.. so i run:
sudo chmod aou+x /etc/cron.daily/apt

..are working... but, if the automatically or manually update check run's in backgroud, phyton goes to 50% cpu usage for few minuts, after that the update icon apears in systray..

Any idea why phyton eating cpu, just for a update check?

thomi

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

That would be because the update checker/notifier is written in python, making it slow and bloated.
I'm rewriting it to be a teensy tiny C++ KDE daemon module for 10.04.

Anyway, the problem where the cron job has the wrong permissions on upgrade isn't update-notifier-kde's fault. It never directly interacts with it at all. I'm moving the bug to apt in hopes that the apt gurus have a better idea of how this could happen. (And also the cron job comes from the apt package)

affects: update-notifier-kde (Ubuntu) → apt (Ubuntu)
summary: - Auto Update Check doesn't work after Upgrading to 9.04
+ Auto Update Check doesn't work after Upgrading to 9.04 (wrong
+ permissions for cron job)
Revision history for this message
Torsten Spindler (tspindler) wrote :

Thank you for reporting this bug to Ubuntu. Ubuntu 9.04 reached EOL on 23 Oct 2010.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

Please feel free to report any other bugs you may find.

Changed in apt (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.