How to remove downloaded updates

how to remove downloaded updates

1 Like

Do you mean the rpms that were downloaded for dnf/yum?

That’ll be dnf clean packages. Take a look at man dnf for the clean command.

delete package:

dnf remove package

delete cache and make cache:

dnf clean all
time dnf makecache

package menegment history and undo sample:

dnf history
dnf history undo 151 -y

anything related to updates from Gnome Software (PackageKit backend) will be in

/var/cache/PackageKit

(this directory sometimes can grow up to several GB).

maybe you can find additional flatpak stuff in

~/.cache/gnome-software
2 Likes