rpm-software-management / yum

[DEPRECATED] YUM package manager
GNU General Public License v2.0
127 stars 87 forks source link

Fix from_repo yumdb validator for local pkgs #57

Closed dmnks closed 6 years ago

dmnks commented 7 years ago

When making commit 6972a280, I didn't take into account locally installed packages that have /filename as their repoid (which gets written to yumdb as from_repo). As a result, yum would print "installed" (instead of the correct '@/foo-1.2-3') as the repo for the package foo (e.g. when doing "yum list foo"), and would even crash when doing "yumdb info foo".

Closes #49.

Kudos to James Antill for spotting this.