Update manager not notifying about upgradable packages

Questions specific to the Xfce DE go here
User avatar
Schoelje
Site Admin
Posts: 8446
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update manager not notifying about upgradable packages

Postby Schoelje » 16 Apr 2013 16:12

ane champenois wrote:If I doesn't do it, it has to work the day after (one by day)...tonight I'll test it and say to you if it's ok.

I also have a machine setup without the symlink. Today it should state that my system is up-to-date, but tomorrow I must see that beautiful blue icon, telling me that I fixed a very old "feature".


SolydXK needs you!
Development | Testing | Translations

User avatar
Schoelje
Site Admin
Posts: 8446
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update manager not notifying about upgradable packages

Postby Schoelje » 18 Apr 2013 06:48

I didn't understand why it was working on SolydK, but not on SolydX (I don't know if you noticed).
None of the cron jobs were running...ever!
If I run the cron jobs manually, all functioned as expected.

Well, it seems that anacron is installed by default on SolydK...but not on SolydX.

That is going to be a dependency for the next UM install package.


SolydXK needs you!
Development | Testing | Translations

User avatar
Schoelje
Site Admin
Posts: 8446
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update manager not notifying about upgradable packages

Postby Schoelje » 18 Apr 2013 07:44



SolydXK needs you!
Development | Testing | Translations

User avatar
on4aa
Posts: 153
Joined: 24 Mar 2013 19:12
Location: Hasselt, Belgium

Re: Update manager not notifying about upgradable packages

Postby on4aa » 18 Apr 2013 11:41

Schoelje wrote:Well, it seems that anacron is installed by default on SolydK...but not on SolydX.
That is going to be a dependency for the next UM install package.
What a great find Schoelje! Congratulations! Every so often one overlooks the obvious.
FYI, I also checked bact to my LMDE XFCE installs; It is the same story over there.

Do I understand you correctly that you are going to make anacron a dependency of update-notifier-common?
You should submit this bug also upstream. It will give you a nice reputation.
Kurtz: "Have you ever considered any real freedoms? Freedoms from the opinion of others... even the opinions of yourself?"

User avatar
Schoelje
Site Admin
Posts: 8446
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update manager not notifying about upgradable packages

Postby Schoelje » 18 Apr 2013 11:53

on4aa wrote:Do I understand you correctly that you are going to make anacron a dependency of update-notifier-common?
You should submit this bug also upstream. It will give you a nice reputation.

update-notifier-common is not needed. So, you can remove that.
anacron is a dependency of updatemanager (now in testing).

Technically, apt installs a cron job: /etc/cron.daily/apt
To run it, you need anacron.
cron runs the apt script, which in turn checks for the time-stamp of /var/lib/apt/periodic/update-stamp (if it exists).
If the time-stamp is older than a day, it checks the configuration in /etc/apt/apt.conf.d
In /etc/apt/apt.conf.d/02periodic I tell apt to update the cache.

[EDIT]
I just saw that update-notifier-common does not depend on anacron.
I don't know if they had that problem.


SolydXK needs you!
Development | Testing | Translations

User avatar
ane champenois
Posts: 1536
Joined: 24 Feb 2013 08:17
Location: Grands lacs Forêt d'Orient, France

Re: Update manager not notifying about upgradable packages

Postby ane champenois » 18 Apr 2013 12:04

Schoelje wrote:I didn't understand why it was working on SolydK, but not on SolydX (I don't know if you noticed).
None of the cron jobs were running...ever!

I confirm that :o
Two days of updating...nothing changed! :evil:

Ane
They did not know it was impossible so they did it.

User avatar
Schoelje
Site Admin
Posts: 8446
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update manager not notifying about upgradable packages

Postby Schoelje » 18 Apr 2013 12:26

ane champenois wrote:
Schoelje wrote:I didn't understand why it was working on SolydK, but not on SolydX (I don't know if you noticed).
None of the cron jobs were running...ever!

I confirm that :o
Two days of updating...nothing changed! :evil:

Ane

Install anacron and see what happens after a reboot.


SolydXK needs you!
Development | Testing | Translations

User avatar
longtom
Posts: 215
Joined: 13 Mar 2013 19:53
Location: South Africa

Re: Update manager not notifying about upgradable packages

Postby longtom » 18 Apr 2013 15:25

SolydK - this is working as intended.
Regards

longtom

User avatar
on4aa
Posts: 153
Joined: 24 Mar 2013 19:12
Location: Hasselt, Belgium

Re: Update manager not notifying about upgradable packages

Postby on4aa » 19 Apr 2013 14:22

Schoelje wrote:update-notifier-common is not needed. So, you can remove that.
...
In /etc/apt/apt.conf.d/02periodic I tell apt to update the cache.
@Schoelje: update-notifier-common is what created for me a nice, working /etc/apt/apt.conf.d/10periodic on one system:

Code: Select all

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::Unattended-Upgrade "0";
On another, still pristine SolydX system, there is no /etc/apt/apt.conf.d/02periodic, only a /etc/apt/apt.conf.d/10periodic with the following, non-working content:

Code: Select all

APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::Unattended-Upgrade "0";
IMHO, this makes me believe update-notifier-common or something else that edits /etc/apt/apt.conf.d/ is still necessary in addition to anacron.
Kurtz: "Have you ever considered any real freedoms? Freedoms from the opinion of others... even the opinions of yourself?"

User avatar
Schoelje
Site Admin
Posts: 8446
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update manager not notifying about upgradable packages

Postby Schoelje » 19 Apr 2013 14:36

02periodic is part of the latest updatemanager (now in testing), and has the same content as 10periodic.


SolydXK needs you!
Development | Testing | Translations

User avatar
on4aa
Posts: 153
Joined: 24 Mar 2013 19:12
Location: Hasselt, Belgium

Re: Update manager not notifying about upgradable packages

Postby on4aa » 19 Apr 2013 14:47

Schoelje wrote:02periodic is part of the latest updatemanager (now in testing), and has the same content as 10periodic.
Ok, thanks Schoelje! That will do just fine.
Kurtz: "Have you ever considered any real freedoms? Freedoms from the opinion of others... even the opinions of yourself?"

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: Update manager not notifying about upgradable packages

Postby zerozero » 19 Apr 2013 14:50

something like this?

Code: Select all

zerozero@solydk ~ $ cat /etc/apt/apt.conf.d/02periodic
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
zerozero@solydk ~ $ cat /etc/apt/apt.conf.d/10periodic
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::Unattended-Upgrade "0";
APT::Periodic::Update-Package-Lists "1";
zerozero@solydk ~ $ apt policy updatemanager
updatemanager:
  Installed: 1.1.2
  Candidate: 1.1.2
  Version table:
 *** 1.1.2 0
        700 http://packages.solydxk.com/ solydxk/testing amd64 Packages
        100 /var/lib/dpkg/status
     1.1.1 0
        700 http://packages.solydxk.com/ solydxk/main amd64 Packages
bliss of ignorance

User avatar
Schoelje
Site Admin
Posts: 8446
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update manager not notifying about upgradable packages

Postby Schoelje » 19 Apr 2013 14:58

I see you have 10periodic: just purge update-notifier* (you don't need it, and you don't need 10periodic).


SolydXK needs you!
Development | Testing | Translations

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: Update manager not notifying about upgradable packages

Postby zerozero » 19 Apr 2013 15:30

hard to do in this system :mrgreen: i have too much cruft in here (from compiling, from random testing);
yesterday's partitioning rearrangement gave me, tho, some space for clean testing

Code: Select all

zerozero@solydk ~ $ sudo fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000460b5

   Device Boot      Start         End      Blocks   Id  System
/dev/sda2              63   266132789   133066363+  83  Linux
/dev/sda3       266148853   963176447   348513797+   5  Extended
/dev/sda4       963188736   976773119     6792192   82  Linux swap / Solaris
/dev/sda5       266148855   554660189   144255667+  83  Linux
/dev/sda6       554660253   658382847    51861297+  83  Linux
/dev/sda7       658384896   740460543    41037824   83  Linux
/dev/sda8       740462592   963174399   111355904   83  Linux

Disk /dev/sdc: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002406e

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1       479604736   488396799     4396032   82  Linux swap / Solaris
/dev/sdc2            2048   479604735   239801344    5  Extended
/dev/sdc5            4096    40964095    20480000   83  Linux
/dev/sdc6        40966144    81926143    20480000   83  Linux
/dev/sdc7        81928192   122888191    20480000   83  Linux
/dev/sdc8       122890240   163850239    20480000   83  Linux
/dev/sdc9       163863063   370651679   103394308+  83  Linux
/dev/sdc10      370651743   395231129    12289693+  83  Linux
/dev/sdc11      395231193   419810579    12289693+  83  Linux
/dev/sdc12      419810643   444390029    12289693+  83  Linux
/dev/sdc13      444390093   479604509    17607208+  83  Linux

Partition table entries are not in disk order
bliss of ignorance

User avatar
ane champenois
Posts: 1536
Joined: 24 Feb 2013 08:17
Location: Grands lacs Forêt d'Orient, France

Re: Update manager not notifying about upgradable packages

Postby ane champenois » 24 Apr 2013 15:47

Schoelje wrote:
ane champenois wrote:
Schoelje wrote:I didn't understand why it was working on SolydK, but not on SolydX (I don't know if you noticed).
None of the cron jobs were running...ever!

I confirm that :o
Two days of updating...nothing changed! :evil:

Ane

Install anacron and see what happens after a reboot.


It's solved for me after installing anacron, rebooting and waiting the update coming 8-)
Ane
They did not know it was impossible so they did it.


Return to “Xfce specific (SolydX)”

Who is online

Users browsing this forum: No registered users and 1 guest