[Bug 1075537] Re: software-properties needs to automatically trigger a cache refresh after adding a repo
Matthew Paul Thomas
mpt at canonical.com
Tue Oct 15 09:47:50 UTC 2013
** Changed in: software-properties (Ubuntu)
Status: Confirmed => In Progress
--
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:
In Progress
Bug description:
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: i386
DistroRelease: 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