You are not logged in.
When I change a version of some package, uninstalling an old version and installing a new version goes in one transaction. But if I want to replace a package (say P0) with a different package (say P1) (P1 provides the same names as P0), I need to uninstall P0, install P1, therefore I need to uninstall and install all packages which depend on names provided by P0 and P1. Can I uninstall P0 and install P1 in one transaction? I can't find it in "man pacman".
Last edited by beroal (2009-12-25 17:20:06)
we are not condemned to write ugly code
Offline
in this case, you can use the -d flag (skip deps) so you don't have to uninstall/reinstall all the deps.
Offline
Thanks. And a related question: which command I can use to check that finally all dependencies are satisfied?
Update. I'm sorry, pacman actually supports replacing of packages with "-S", but not with "-U". I'm using "-U".
Last edited by beroal (2009-12-25 12:14:48)
we are not condemned to write ugly code
Offline
Thanks. And a related question: which command I can use to check that finally all dependencies are satisfied?
run testdb
Update. I'm sorry, pacman actually supports replacing of packages with "-S", but not with "-U". I'm using "-U".
that will be available on the next version of pacman.
Give what you have. To someone, it may be better than you dare to think.
Offline
Thank you, I did not know about testdb!
we are not condemned to write ugly code
Offline