software-properties needs to automatically trigger a cache refresh after adding a repo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Fix Released
|
Medium
|
Brian Murray | ||
Precise |
Fix Released
|
Medium
|
Brian Murray | ||
Saucy |
Fix Released
|
Medium
|
Brian Murray |
Bug Description
------
Impact
------
The apt cache is not updated after modifying or adding sources in software-
---------
Test Case
---------
1) Launch software-
2) Enable or disable a source in the Ubuntu Software tab (e.g. multiverse)
3) Click Close
4) With the package from proposed you should receive a dialog indicating that "The information about available software is out-of-date"
I reinstalled Ubuntu 12.04.1 LTS. After select the right server in "software sources", Ubuntu does not automatically update the apt cache. Without manually updating the apt cache, I cannot find some packages that I want to install.
Steps to reproduce this bug:
1. Reinstall Ubuntu or any of its derivatives.
2. Run the software center.
3. At the top, go to Edit -> Software Sources, select the server you want to use.
4. You will see nothing happened.
5. Try find the package "build-essential", or just any package you want to install.
If you cannot find the package, that means the software center either not updating the cache automatically or not updating the xapian apt search index or both.
Attached here with a screenshot.
Temporary workaround:
1. Select a server in "Software Sources" (as stated in step number 3 above), if you haven't do so. Then, close the "Software Sources" window.
2. Manually run the "sudo apt-get update" command.
3. Run the "sudo update-
Then, you can find the package you want to install.
---
ApportVersion: 2.0.1-0ubuntu12
Architecture: i386DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
Package: software-center 5.2.5
PackageArchitec
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: precise running-unity
Uname: Linux 3.2.0-29-
UnreportableReason: This is not an official Ubuntu package. Please remove any third party package and try again.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
Related branches
- Michael Vogt (community): Approve
-
Diff: 19 lines (+2/-0)1 file modifiedsoftwareproperties/gtk/SoftwarePropertiesGtk.py (+2/-0)
- Brian Murray: Pending requested
-
Diff: 19 lines (+2/-0)1 file modifiedsoftwareproperties/gtk/SoftwarePropertiesGtk.py (+2/-0)
- Brian Murray: Disapprove
-
Diff: 19 lines (+2/-0)1 file modifiedsoftwareproperties/gtk/SoftwarePropertiesGtk.py (+2/-0)
- Brian Murray: Disapprove
-
Diff: 19 lines (+2/-0)1 file modifiedsoftwareproperties/gtk/SoftwarePropertiesGtk.py (+2/-0)
affects: | software-center (Ubuntu) → software-properties (Ubuntu) |
Changed in software-properties (Ubuntu): | |
importance: | Undecided → Wishlist |
summary: |
- Ubuntu Software Center does not update the cache and the xapian search - index automatically, caused some packages cannot be found. + software-properties needs to automatically trigger a cache refresh after + adding a repo |
Changed in software-properties (Ubuntu): | |
importance: | Wishlist → Medium |
Changed in software-properties (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in software-properties (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in software-properties (Ubuntu Saucy): | |
milestone: | none → saucy-updates |
description: | updated |
description: | updated |
Changed in software-properties (Ubuntu Saucy): | |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in software-properties (Ubuntu Saucy): | |
status: | Fix Committed → Fix Released |
Changed in software-properties (Ubuntu Precise): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Brian Murray (brian-murray) |
tags: |
added: verification-done removed: verification-needed |
apport information