Comment 17 for bug 574155

Revision history for this message
Aaron Peachey (aaronp) wrote : Re: Software-Center does not remove deactivated ppa's

Yes, I think the issue with this one is that the application cache of software center is not updated until update-software-center runs. Installing or removing the medibuntu repos runs this command in order to fill Software Center with the new packages from those repos immediately. Also, some external apps changing the repos will also cause the Software Center cache to update (as far as I'm aware)

I'm not sure how Software Center would know when PPAs have been removed or deactivated to automatically update it's cache. And obviously, having the user run a terminal command that they probably don't know exists is not a viable solution either.

Should we put a new menu item in the Software Center GUI to allow the user to run update-software-center without typing a terminal command? (Note, this may also not be a perfect solution as most users wouldn't necessarily know that the cache used by Software Center needs updating independently of what they do in other package/repo management applications - which means they might still not run it even if it's in the GUI)

Other alternatives would be for us to connect to 'something' (not sure if it's possible) that would send Software Center a signal when a PPA has been removed or deactivated so update-software-center could then run without user action. I'm sure Software Center already detects when an external app has changed the packages but it doesn't seem to work in this particular situation?

Otherwise, perhaps a startup message like 'The Software Center application cache was last updated xxxx days ago. Some repositories or packages shown may no longer be available. Update Now?'