Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

With this set of commands I am able to download the updates from a standard user

dnf repoquery --upgrade --queryformat '%{name}.%{arch}'

copy all the package names from terminal and then save in a .txt file , in my case I named the file as "Update.txt"

and then download all the required packages with this command

dnf download --resolve $(cat Update.txt)

My question is how will I now apply this updates from my root user account

I tried this command but did not work .

sudo rpm -ivh *.rpm

please help me to apply the downloaded upgrades .