You are not logged in.
When installing termite as part of a scripted install and setup I am working on for VM's I run into a conflict problem. (This happens on every fresh install I have tested) I need to be able to script it so that it auto say yes to remove the conflicting package. I have done this safely manually on multiple occasions with no problems. Is there a way I can force yes to all questions asked by pacman for this install?
Log output from sudo pacman -S termite --noconfirm
resolving dependencies...
looking for conflicting packages...
:: vte3-ng and vte3 are in conflict. Remove vte3? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: vte3-ng and vte3 are in conflict
Removing the package before hand will break a dependency but removing it during the termite install process is fine.
Last edited by Burning Smile (2016-12-08 16:05:39)
Offline
The --noconfirm option automatically accepts the recommended option, which in this case is no (notice the capital N).
yes | sudo pacman -S termiteLast edited by Slithery (2016-12-07 23:59:31)
Offline
Why are you installing vte3 in the first place if you're going to replace it later on?
There is no flag to tell pacman to automatically remove a conflicting package. Piping yes to pacman is like using a sledgehammer to crack a nut; It would work, but is by no means recommended, I certainly wouldn't use it in a script.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
pacinstall termite --remove vte3Offline