#702241 gnome-packagekit: Update information is not refreshed

Package:
gnome-settings-daemon
Source:
gnome-settings-daemon
Description:
daemon handling the GNOME session settings
Submitter:
Asterix
Date:
2021-10-18 17:51:05 UTC
Severity:
important
Tags:
#702241#5
Date:
2013-03-04 12:29:00 UTC
From:
To:
Dear Maintainer,

Having installed debian wheezy rc-1, I was expecting to be notified of updates,
or even automatically install them, through gpk-prefs, as my settings were to
have it check and automatically install all updates every day. However, I did
not get any for a couple of days, and so I clicked "check now" on gpk-prefs and
it ran gpk-update-viewer, which told me that my software was up to date.

However, it wasn't up to date. I ran apt-get update in the terminal, and then
gpk-update-viewer again, and it then did have updates, which I could apply.

What I would have expected to happen would be that gpk-update-viewer would
resynchronise the package index files when it was run, or at least make it
obvious that this hadn't been done and that I should do this. The package index
files should definitely be updated hourly/daily/weekly (depending on gpk-
prefs), when the updates are checked for.

I have put this down as a security issue, as most people probably assume that
they will be either notified of (security) updates, or that they will
automatically receive them (especially given the settings in gpk-prefs), and
that if they go onto update-viewer and are told that all software is up to date
they don't need to worry about security updates, but their system won't be up
to date. This will mean that people will have avoidable security holes in their
system.

#702241#12
Date:
2013-03-05 06:12:44 UTC
From:
To:
This sounds like bug #678340
#702241#17
Date:
2013-03-07 18:05:45 UTC
From:
To:
Dear Maintainer,

Even when there are updates that it knows about, for example if I have run apt-
get update, or refresh on synaptic, it still does not either install them or
notify me that they should be installed, despite the implication of my settings
in gpk-prefs being that it would automatically install them, or at least notify
me about them being there.

#702241#22
Date:
2013-03-07 18:23:35 UTC
From:
To:
Hi!
This is a tricky issue, and I am not sure that we can fix it for
Wheezy, as it would require too many code changes. Generally, there is
an Apt cronjob for fetching updates, so this shouldn't be an issue.
And also the settings in gpk-prefs should work.... Have you checked if
the packagekitd daemon crashed when applying a setting? (run sudo
/usr/lib/packagekit/packagekitd --verbose in a Terminal, change a
setting and pastebin the output somewhere, so I can take a look at it)
Updating packages has no known issues.... Did you get any error message?
Later, you might try GPK and PK from Debian Experimental, but these
packages aren't ready for use yet.
Regards,
    Matthias

2013/3/7 Asterix <zzz232@rocketmail.com>:

#702241#27
Date:
2013-03-09 17:05:03 UTC
From:
To:
Okay, thanks! Everything is okay with PackageKit, so this apparently
is an issue with GNOME. Maybe the frontend relies on the cronjob being
present, which we don't ship in Debian. But I don't think that is the
reason. Usually updates should be fetched via a plugin in GSD.
And for me, this plugin is working.... I will do some more tests, but
this might be an issue in GSD...
Cheers,
   Matthias

P.S: Please always subscribe the bugtracker in replies, so that we can
keep track of the bug status publicly.

2013/3/9 Asterix <zzz232@rocketmail.com>:

#702241#32
Date:
2013-03-09 23:08:24 UTC
From:
To:
Ok, so that means that security updates would get applied anyway,
through either an apt cronjob or the default packagekit settings?

I will try and test it more. Just to check, if I left debian on for a
bit over an hour, when I know there are updates available, and the
settings as check "hourly", and automatically apply "all available"
updates, then what would the expected outcome be? Should I be notified
of updates, or should they be automatically applied, or neither?
Cheers,
Zack

#702241#37
Date:
2013-03-10 00:49:38 UTC
From:
To:
I tested it by leaving it for 70 minutes, having run apt-get update
beforehand, and having checked to see that there were updates. Updates
were still there after, and there hadn't been any messages telling me I
needed to update.

#702241#42
Date:
2013-04-08 15:35:25 UTC
From:
To:
Hello,

Just my two cents:
Matthias Klumpp wrote:

This statement is true in some cases.

I have a Debian installation based on my own packages without task select.
At my installation, there is synaptic installed, but not the update-manager/notifier.
In this case, the configuration file 10periodic for the Apt cronjob looks like this:

You see, the cronjob doesn't update the package list.
If you install the package update-notifier, the existing configuration file will be overwritten with:

In this case, the update of the package list will be done with the daily cron job.

If PackageKit never updates the package list, the user has to check the configuration file 10periodic.
In default configuration, the parameter Update-Package-Lists is set to 0.

Do you think, it is a good idea to change the default setting of Update-Package-Lists from "0" to "1"?
(1=daily / 7=weekly / ...)
This change is sufficient for a proper working PackageKit.

Best regards
Bernhard

#702241#47
Date:
2013-07-26 14:10:37 UTC
From:
To:
updates.
This situation can hopefully be changed with Jessie, by using an
extra-background-service for desktops like Xfce.
Cheers,
    Matthias

#702241#52
Date:
2013-07-26 16:24:16 UTC
From:
To:
Am 26.07.2013 16:10, schrieb Matthias Klumpp:

Hello Matthias

I installed Gnome.

Since wheezy is stable, there are security updates available.
If there are security updates available, these security updates are
notified.
The updates are notified without any changes in preferences of gnome
packagekit.

Distribution upgrades are not notified immediately.
This was the reason, why there are no notifications before wheezy was
stable.

From my point-of-view, this bug report can be closed.

Best regards
Bernhard

#702241#57
Date:
2013-09-27 20:29:07 UTC
From:
To:
Hi,
I have this exact problem on Jessie, gnome-packagekit 3.8.2-4.
So this is not a wheezy-related bug. I have made sure packagekitd and
gnome-settings-daemon were running, and that the "updates" g-s-d plugin
was enabled. gpk-prefs has the "check for updates" value set to "daily".

The cron job workaround works for me, but this is definitely a hack.

Any idea about what's happening?

#702241#62
Date:
2014-03-06 04:13:44 UTC
From:
To:
Dear Maintainer,

I'm seeing this behavior on jessie also. I'm using a standard GNOME
desktop environment, packagekitd is running, but the apt cache is never
updated. The apt cron job is not active. If I run either pkcon refresh
or apt-get update, then it lists updated packages available. But just
leaving packagekitd to itself in the background, apt is not updated as
far as I can tell.

#702241#67
Date:
2014-04-28 09:16:34 UTC
From:
To:
I can confirm the same problem on Jessie.
gnome-settings-daemon is running. packagekitd was running, as you can see
here:

$ ps aux | grep packagekit
root      8267  0.0  0.0 316432  6372 ?        Sl   10:43   0:00
/usr/lib/packagekit/packagekitd

but now it's not running anymore. No idea of the reason.

Also, you can see in the attached screenshot the default settings for
org.gnome.settings-daemon.plugins.updates: notify-distro-upgrades is
unchecked.

#702241#72
Date:
2014-04-28 10:18:43 UTC
From:
To:
2014-04-28 11:16 GMT+02:00 Federico Bruni <fedelogy@gmail.com>:
The daemon is started on-demand and is shut down when not needed to
save ressources.
That issues looks odd, I will upload a more recent version of GPK
soon, which might fix the problem.
Cheers,,
    Matthias

#702241#77
Date:
2014-04-28 11:07:50 UTC
From:
To:
2014-04-28 12:18 GMT+02:00 Matthias Klumpp <matthias@tenstral.net>:
Oh, I forgot to add that I had the issue described here:
https://bugs.freedesktop.org/show_bug.cgi?id=71792

It is related to this bug? Probably not, but anyway...

$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile

[ifupdown]
#managed=false
# vedi https://bugs.freedesktop.org/show_bug.cgi?id=71792
managed=true

If I launch it

$ gpk-update-viewer -v
12:40:25    GnomePackageKit     Verbose debugging enabled (on console 1)
12:40:25    GnomePackageKit     using native mode: 700x1200
12:40:25    GnomePackageKit     wrap_width is impossibly small -200
12:40:25    GnomePackageKit     wrap_width is impossibly small -200
12:40:25    GnomePackageKit     wrap_width is impossibly small -200
12:40:25    GnomePackageKit     only showing newest updates
12:40:25    GnomePackageKit     status wait
12:40:25    GnomePackageKit     status setup
12:40:25    GnomePackageKit     status loading-cache
12:40:25    GnomePackageKit     wrap_width is impossibly small -200
12:40:25    GnomePackageKit     status query
12:40:25    GnomePackageKit     status finished
12:40:25    GnomePackageKit     network status is online
12:40:25    GnomePackageKit     wrap_width is impossibly small -200

It says that all the software is up-to-date. Which is not true: in fact if
I run 'apt-get update' and launch again gpk-update-viewer it starts
downloading the new packages.

#702241#82
Date:
2014-11-05 21:44:16 UTC
From:
To:
I am running Gnome 3.14 in Debian Jessie and I get no desktop notifications
about new package updates either. I don't even have
org.gnome.settings-daemon.plugins.updates in my dconf editor. I do have
"APT::Periodic::Update-Package-Lists "1" set though.

#702241#87
Date:
2014-11-05 22:06:09 UTC
From:
To:
2014-11-05 22:44 GMT+01:00 Benjamin Xiao <ben.r.xiao@gmail.com>:
With GNOME 3.14 the code for performing those tasks has been moved to
GNOME-Software, which is in unstable at time.

This situation is a terrible mess now, not only for other desktops but
also for GNOME. We are working on a solution for that, so we can
release Jessie with update-notifications. (I would consider having
this working a release-blocker, but the release-team has the final
word on this)
Regards,
    Matthias

#702241#92
Date:
2014-11-05 22:13:02 UTC
From:
To:
Thanks for the update Matthias. I will definitely check how things are once
Gnome-Software comes out of unstable.

And yes, I agree that this is definitely a release-blocker. Not being
properly notified of security updates is a huge issue.

Ben

On Wed, Nov 5, 2014 at 2:06 PM, Matthias Klumpp <matthias@tenstral.net> wrote:

#702241#97
Date:
2014-11-07 17:14:23 UTC
From:
To:
Hi!
Good news everyone! - Thenks to some help from OpenSUSE, we will soon
have a tray icon for Xfce again, which essentially fixes this bug.
There are still some rough edges, e.g. the new package pulls in quite
a lot of GNOME due to it's dependency on GNOME-PackageKit, but maybe
we can reduce the dependencies of GPK in future (e.g. the g-s-d
dependency there might no longer be necessary).
All of these changes need to be ACKed by the release-team now though,
so I hope we can get everything ready for Jessie.

Regarding the "no update notifications in GNOME" issue, we will need a
new bug, probably against GNOME in general... The new try icon is not
an option.
As soon as this package clears NEW, you can fetch the "pk-update-icon"
package from unstable.

Cheers,
    Matthias

#702241#106
Date:
2014-11-07 18:12:51 UTC
From:
To:
Hi!
Sorry, the last message was supposed to go to another bug report -
that somehow got mixed up here...

#702241#125
Date:
2014-11-07 18:33:16 UTC
From:
To:
Hi!
This bug might be fixed if you install the gnome-software package from
unstable (currently it has a bug which will be fixed with the next
upload, making it a bit hard to use)
The GS application will do the update checks for you.
For other non-GNOME desktops, I just recently uploaded a
pk-update-icon package, which will notify about new updates. You then
have to configure the Apt cronjob to do the updating for you (GNOME
will do that on it's own, depending on the system's state (e.g.
network availability, or if the system is running on battery power).

For a little bit of more detailed background information on the
GNOME-Software case, take a look at
http://blog.tenstral.net/2014/11/the-state-of-appstreamgnome-software-in-debian-jessie.html

Regards,
    Matthias

#702241#136
Date:
2015-05-16 10:15:33 UTC
From:
To:
On Fri, 7 Nov 2014 19:33:16 +0100 Matthias Klumpp <mak@debian.org> wrote:
 >
 > have to configure the Apt cronjob to do the updating for you (GNOME
 > will do that on it's own, depending on the system's state (e.g.
 > network availability, or if the system is running on battery power).
 >

GNOME isn't refreshing the packagekit cache (syslog shows PackageKit
'get-updates' but never a 'refresh').  You still have to configure
Apt::Periodic::Update-Package-Lists manually (and hope your internet
connection is available at the right time :), or you never see any
updates in gnome.

I noticed the bug on Jessie stable - I think it was the same in Wheezy
stable too.  I think people didn't see the bug when they upgraded
earlier systems, because the old update-notifier configured
Apt::Periodic and that got left over.

Alan

#702241#149
Date:
2016-06-29 18:37:35 UTC
From:
To:
Hi

I just wanted to report that the bug seems to be still present, using Jessie
8.5 and Gnome 3.14.1 . No update notifications and looking for updates via
the built-in update-viewer results in a message saying, that the system was
up to date, when it isn't. However, the update-viewer finds updates when I've
run "apt-get update" prior.
I had the same bug on two laptops, too. While not that big a problem for my-
self it still means that the combination Debian/Gnome might not work for every-
day users.
Thanks for all your work on Debian, I appreciate it!

Anonymous

#702241#154
Date:
2017-03-08 13:52:54 UTC
From:
To:
Dear Customer,



Your item has arrived at March 04, but our courier was not able to deliver the parcel.



Review the document that is attached to this e-mail!



All the best,

Brett Sherman,

UPS Delivery Agent.

#702241#159
Date:
2019-11-09 08:51:40 UTC
From:
To:
Hello Dear,

I am very sorry to disturb you with my present humiliating condition.
My name is Rose Adams, l am a 29 years old young lady from France
married to late Mr John Charles from Cote d'Ivoire.

l really need your assistance. I lost my husband two years ago and the
family members of my husband wants to kill me and my two children
just for the inheritance of 8,800.000.00 Euros he left behind, estate
properties and funds in banks here.

Due to their bad intention to eliminate me and my kids, we are in
hiding. I want to seek your help to have us move into your country,
also to secure this fund in your country, The funds can be transferred
to your country and we will fly to join you.

I will be waiting for your reply
Regards:
Mrs. Rose Adams

#702241#164
Date:
2021-10-18 17:46:58 UTC
From:
To:
Dear Sir/Madam,

How are you doing today , I hope you are keeping safe in this pandemic
perilous times. Can we discuss the information i sent to you via email
some days ago?