You are not logged in.
Hi all!
I looked for a solution but was unable to find one.
I would like to prepare an update script for some of my old installs but I can't get it fully automated.
I need to update to util-linux-lib but current installation has old libutil-linux package installed and I have to manually confirm removing the old package.
I update via "pacman -U ...zst" command; I tried with --noconfirm and --needed but still the same.
Is there any option with which I could confirm this replacement?
Offline
yes | pacman -U ...
Offline
Thank you, hoped for a switch option in pacman, but this should also do the job.
Offline
To make the switch "proper" you'd define the provides/replaces constructs in the PKGBUILDs correctly (so that pacmans default offer will turn to Y) but i'd expect this to be more of a hassle assuming you are somewhat controlled in how you are doing the replacement/install
Offline
Please note that "yes" will not do the job, if you're not on an English locale. "yes j" for German, for example.
Offline