Detect whether apt-get update has been run recently

Bug #1091129 reported by Björn Tillenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Client
Fix Released
Medium
Alberto Donato

Bug Description

Currently we don't run apt-get update more often than a certain time period
in landscape-client. However, we only track when the client initiated the apt-get
run, it could be something else on the system that also runs apt-get update.

We should try to detect whether someone else has run apt-get update recently,
and don't run it ourselves, if that's the case.

It should be possible to look at the files in /var/lib/apt/lists to see when they were
last changed. It's unclear whether we can detect an update that didn't contained
any new packages.

Tags: squad-gamma

Related branches

tags: removed: kanban
Alberto Donato (ack)
Changed in landscape-client:
assignee: nobody → Alberto Donato (ack)
status: New → In Progress
Alberto Donato (ack)
Changed in landscape-client:
milestone: none → 13.01
Alberto Donato (ack)
Changed in landscape-client:
status: In Progress → Fix Committed
Changed in landscape-client:
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.