[Bug 1075537] Re: software-properties needs to automatically trigger a cache refresh after adding a repo
Adam Conrad
adconrad at 0c3.net
Thu Oct 24 18:04:09 UTC 2013
Hello cshong, or anyone else affected,
Accepted software-properties into saucy-proposed. The package will build
now and be available at http://launchpad.net/ubuntu/+source/software-
properties/0.92.28 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Tags removed: verification-done
** Tags added: verification-needed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1075537
Title:
software-properties needs to automatically trigger a cache refresh
after adding a repo
Status in “software-properties” package in Ubuntu:
Fix Committed
Status in “software-properties” source package in Saucy:
Fix Committed
Bug description:
------
Impact
------
The apt cache is not updated after modifying or adding sources in
software-properties.
---------
Test Case
---------
1) Launch software-properties-gtk
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-apt-xapian-index -f" command.
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
PackageArchitecture: all
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic-pae 3.2.24
Tags: precise running-unity
Uname: Linux 3.2.0-29-generic-pae i686
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1075537/+subscriptions
More information about the foundations-bugs
mailing list