You are not logged in.
I execute "pacman -Syu" to check whether there are new versions of packages. If there are new versions but I don't want to upgrade right now, I press "n" to refuse upgrades. Is it equal to "pacman -Sy"? Is it harmful? I am afraid that executing "pacman -Syu" and refusing upgrades cause partial upgrades.
Last edited by Cyrus Yip (2021-11-10 15:21:26)
Offline
I execute "pacman -Syu" to check whether there are new versions of packages. If there are new versions but I don't want to upgrade right now, I press "n" to refuse upgrades. Is it equal to "pacman -Sy"?
Yes.
Is it harmful?
Not by itself. But it sets you up for partial upgrades.
I am afraid that executing "pacman -Syu" and refusing upgrades cause partial upgrades.
Not directly, but e.g. a following
pacman -S some stuff
will.
If you just want to check for updates, use
checkupdates
from pacman-contrib.
Last edited by schard (2021-11-10 14:38:44)
macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }
Offline
Thank you, schard. You dispelled my doubt. I will use
checkupdates
to check updates.
Offline