Skip to content

"tdnf check-udpdate" always required "tdnf clean all" to pickup updates #658

@dlinsley

Description

@dlinsley

tdnf check-update does not appear to behave like yum check-update in how it refreshes the repo cache to determine if new packages are available. Cleaning the meta data is required every time in my experience with tdnf.

Example run:

dlinsley@photon-YRjrxkFmh [ ~ ]$ sudo tdnf check-update

...Expecting a list available package updates here but have nothing...

dlinsley@photon-YRjrxkFmh [ ~ ]$ sudo tdnf update
Nothing to do.
dlinsley@photon-YRjrxkFmh [ ~ ]$ sudo tdnf clean all
Cleaning repos: photon-extras photon lightwave photon-updates
Cleaning up everything
dlinsley@photon-YRjrxkFmh [ ~ ]$ sudo tdnf check-update
initramfs.x86_64                               1.0-7.11445761.ph1 photon-updates
bash.x86_64                                 4.3.30-10.ph1         photon-updates
linux-esx.x86_64                            4.4.71-1.ph1          photon-updates
linux.x86_64                                4.4.71-1.ph1          photon-updates
cloud-init.noarch                            0.7.9-1.ph1          photon-updates
python-jinja2.noarch                         2.9.5-2.ph1          photon-updates

Updates detected after tdnf clean all

Package Version: tdnf-1.1.0-1.ph1.x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions