Bugzilla – Bug 386536
GNOME package-selector filtering by repositories in Upgrade-view is misleading in case of vendor-change
Last modified: 2008-05-08 02:35:21 UTC
If one upgrades packages to a version from a different vendor/repo the package-selector whill show the upgradeable packages both as package of the original vendor/repo and of the new vendor/repo. This is a bit confusing, and it prevents using the filtering by repository as a safeguard against an unintended vendor-change. For example, I like to have the Packman-repo available in package-selector in order install additional packages from there, but I don't want to 'crossgrade' packages from the official openSUSE-repos to packages from Packman. I had thought I could simply filter in the 'Upgrades' view and only show the contents of the openSUSE repos, then upgrade and be sure not to accidentally crossgrade to a Packman-package. But that won't work because the 'crossgrades' are always visible as both the original and the new vendor's packages.
Right, so we were showing as upgrades packages for which the filtered repository could actually be an older version, because there was a new version somewhere else. Also the context menu or the controls, when multiple packages were selected, had no regard for the filtered repository. I fixed these, and I also added a confirmation dialog, in case dependencies needed are only found in a different repository. If you'd like to test it out, you could get the code and then follow the README file: svn checkout http://svn.opensuse.org/svn/yast/trunk/gtk/ yast-gtk