Check if apt cache is outdated

Bug #306349 reported by Michael Wood
This bug report is a duplicate of:  Bug #439530: Update apt cache if it is not present. Edit Remove
2
Affects Status Importance Assigned to Milestone
jockey (Ubuntu)
Triaged
Medium
Martin Pitt
Lucid
Triaged
Medium
Martin Pitt

Bug Description

Fresh install of Ubuntu 8.04.1 (Hardy LTS)

The user went to enable nvidia driver, it tried to download it but got a 404 error on trying to download the package.

For some reason it was trying to download a version that didn't exist on the servers, I guessed that for some reason the package manager hadn't updated it's repository cache and had to ask the user to close down jockey and do `sudo apt-get update` then reopen jockey and enable the driver.

If I hadn't been able to work this out, the user would have abandoned ubuntu due to not being able to get the graphics resolution higher than 800x600 on his 21" monitor (which is fair enough) !

The bug may not be with jockey but the package manager called which should have realised that the cache was out of date/never updated.

Thanks

Revision history for this message
Martin Pitt (pitti) wrote :

Not an urgent bug, since the cache is normally auto-updated every day, and updating the cache for each driver install is a pretty expensive operation. But a check for its age might be well possible.

Changed in jockey:
importance: Undecided → Low
status: New → Triaged
Martin Pitt (pitti)
Changed in jockey (Ubuntu Lucid):
assignee: nobody → Martin Pitt (pitti)
importance: Low → Medium
milestone: none → ubuntu-10.04-beta-1
Martin Pitt (pitti)
Changed in jockey (Ubuntu Lucid):
milestone: ubuntu-10.04-beta-1 → none
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.