"Checking for Updates" doesn't seem to actually run apt update [$50]

Bug #1513139 reported by Danielle Foré
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
AppCenter
Fix Released
High
Richard Fairthorne

Bug Description

1. Open AppCenter and click on the Installed tab
2. AppCenter reports no updates available
3. Open Terminal and "apt update"
4. Re-open AppCenter and click on the installed tab
5. See that new updates are available.

Tags: bounty

Related branches

Revision history for this message
Danielle Foré (danrabbit) wrote :
Changed in appcenter:
status: New → Confirmed
milestone: none → loki-beta1
summary: - "Checking for Updates" doesn't seem to actually run apt update
+ "Checking for Updates" doesn't seem to actually run apt update [$50]
tags: added: bounty
Cody Garver (codygarver)
Changed in appcenter:
importance: Undecided → High
Revision history for this message
Danielle Foré (danrabbit) wrote :

This is partially fixed with the new daemon, but it only updates on fresh logins.

It should fulfill the case specified in this report.

Revision history for this message
Richard Fairthorne (richard-fairthorne) wrote :

I can complete this. Looking for feedback.

I would like to propose possible solutions:

1. appcenter-daemon periodically runs 'apt update'
  - there would be a lag on updates

2. appcenter runs 'apt update' on launch
  - this would make appcenter unresponsive while waiting for the updates.
  - appcenter would require user authentication to check for updates

3. appcenter optionally runs 'apt update' on launch
  - a dialog could be created "should I check for new updates"

4. appcenter provides a check for updates button

Revision history for this message
Danielle Foré (danrabbit) wrote :

This refers to specifically the case of clicking on the "installed tab". That is more or less the "check for updates" button :)

Revision history for this message
Richard Fairthorne (richard-fairthorne) wrote :

Alright. I'll address that specific case by running apt updae

Revision history for this message
Richard Fairthorne (richard-fairthorne) wrote :

Actually addressed by calling packagekit's refresh.

Revision history for this message
Richard Fairthorne (richard-fairthorne) wrote :
Changed in appcenter:
status: Confirmed → Fix Committed
milestone: loki-beta1 → loki-alpha1
assignee: nobody → Richard Fairthorne (richard-fairthorne)
status: Fix Committed → Fix Released
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.