You are not logged in.

#1 2021-11-10 14:30:42

Cyrus Yip
Member
Registered: 2021-09-26
Posts: 4
Website

[SOLVED] Is it harmful to execute "pacman -Syu" and refuse upgrades?

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

#2 2021-11-10 14:37:28

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 1,268
Website

Re: [SOLVED] Is it harmful to execute "pacman -Syu" and refuse upgrades?

Cyrus Yip wrote:

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.

Cyrus Yip wrote:

Is it harmful?

Not by itself. But it sets you up for partial upgrades.

Cyrus Yip wrote:

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)

Offline

#3 2021-11-10 15:20:47

Cyrus Yip
Member
Registered: 2021-09-26
Posts: 4
Website

Re: [SOLVED] Is it harmful to execute "pacman -Syu" and refuse upgrades?

Thank you, schard. You dispelled my doubt. I will use

checkupdates

to check updates.

Offline

Board footer

Powered by FluxBB