[Bug 1075537] Re: software-properties needs to automatically trigger a cache refresh after adding a repo

Launchpad Bug Tracker 1075537 at bugs.launchpad.net
Tue Nov 5 05:31:13 UTC 2013


This bug was fixed in the package software-properties - 0.92.28

---------------
software-properties (0.92.28) saucy; urgency=low

  [ Bruno Nova ]
  * Ensure package sources are refreshed after modification
    Fixes Bug LP: #1075537 (and, indirectly, Bug LP: #782953 it seems).

  [ Brian Murray ]
  * Restore the removal of a line feed from a source (LP: #1239893)

  [ Jean-Baptiste Lallement ]

  * debian/manpages/add-apt-repository.1: Documented options -m and -s of
    add-apt-repository (LP: #1229092)

  [ Sebastien Bacher ]
  * softwareproperties/gtk/SoftwarePropertiesGtk.py: don't use the
    gtk-logout-helper command, it has been deprecated and dropped from the
    indicator-session binary, use gnome-session instead (lp: #1241210)
 -- Sebastien Bacher <seb128 at ubuntu.com>   Mon, 21 Oct 2013 11:16:21 -0400

** Changed in: software-properties (Ubuntu Saucy)
       Status: Fix Committed => Fix Released

-- 
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 Released
Status in “software-properties” source package in Saucy:
  Fix Released

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