Skip to content

Recognize packages updated through rpm #214

Open
@FrostyX

Description

See https://issues.redhat.com/browse/RHEL-58663

Tracer doesn't recognize packages updated through rpm, e.g.

rpm -Uvh --noscripts chrony-4.5-1.el9.x86_64.rpm

It's not as simple as editing System.package_manager function and adding:

"fedora":  [
	("tracer.packageManagers.dnf", "Dnf"),
	("tracer.packageManagers.yum", "Yum"),
	("tracer.packageManagers.rpm", "Rpm"),
],

because the Rpm class doesn't know where the RPM database is:

class Rpm(IPackageManager):
	@property
	def history_path(self): return NotImplemented

I am not sure if this is enough to fix this, or the SQL queries in the class won't work anyway.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions