On Friday 16 November 2012, Michael Schroeder wrote:
Why not installing in a single rpm transaction?
Well, we could (in fact Fedora does it that way). There are some cons, though. For example, libzypp offers to retry installation of a package if the install fails, AFAIK that doesn't work with a single transaction. Or the complete transaction will abort if rpm dies for some reason. Or that it's harder to install packages that rely on new rpm features, like a new compression type.
Maybe the way to go would be to implement an optional single-transaction mode (disabled per default). I'd like to test it in practice. Moreover "zypper in --dry-run" could also do "rpm --test".
How can I list all "replaced" files?
There's no direct way, but you can do:
rpm -qa --qf "[%4{RPMTAG_FILESTATES:fstate} %{NAME} %{FILENAMES}\n]" | grep '^replaced'
Thanks. Even checked some of my systems and found around 50-100 conflicting files on each one. I guess it would be much more if I would always use zypper instead of rpm when installing non-official rpms. cu, Rudi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org