[opensuse] LEAP How to force a global reinstall of installed packages via zypper?
I have a problem with okular that has to have its solution somewhere in a package to be installed. I tried to install 188 print related packages ex-new, but no result. To be sure no problem in installed packages exist, I would like to force the reinstall of all currently installed packages and (in case) their substitution if they are from a repo not subscribed anymore. How is actually the zypper command to force a reinstall of all installed packages? zypper dup --non-interactive-include-reboot-patches --force ? in zypper -h I did not find indications (not even about --force that I know exists, I am somewhat surprised it is not mentioned). I plan to run this in a separate console (tty1) in order to avoid surprises (as long as you do not advice against). Thanks. --- Alle Postfächer an einem Ort. Jetzt wechseln und E-Mail-Adresse mitnehmen! https://email.freenet.de/mail/Uebersicht?epid=e9900000451 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 23/06/2016 09:01, stakanov@freenet.de wrote:
I have a problem with okular that has to have its solution somewhere in a package to be installed. I tried to install 188 print related packages ex-new, but no result. To be sure no problem in installed packages exist, I would like to force the reinstall of all currently installed packages and (in case) their substitution if they are from a repo not subscribed anymore.
How is actually the zypper command to force a reinstall of all installed packages?
zypper dup --non-interactive-include-reboot-patches --force ?
in zypper -h I did not find indications (not even about --force that I know exists, I am somewhat surprised it is not mentioned).
I plan to run this in a separate console (tty1) in order to avoid surprises (as long as you do not advice against).
Thanks.
You need to do zypper dup -r "name of your leap oss repository" and then zypper up -t patch to return a clean Leap install but first you may try zypper rm -u okular which may uninstall okular's dependent packages and then reinstall okular. What is your actual problem with okular? Hope this helps Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, 2016-06-23 at 09:01 +0200, stakanov@freenet.de wrote:
How is actually the zypper command to force a reinstall of all installed packages?
zypper dup --non-interactive-include-reboot-patches --force ?
No, never a dup. You do not get control from what repository you get things. Exception is when you have not any extra repos defined. Or you could try "SOLVER_FLAG_DUP_ALLOW_VENDORCHANGE=0 zypper dup" which would update everything from the same repos, I think. But an alternative is YaST. Packages that are installed from a repo that is no longer there would show in red, so you can easily find them. You could select a repository, display the packages, and right click, all in this list, update unconditionally. This would force a reinstall from the same repository as they were initially installed from - not necesarily the same repo as currently displayed in the panel (if it would imply a vendor change). - -- Cheers, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAldr1EoACgkQtTMYHG2NR9UbAQCfbxDsSkTZ0o6ZHHCpMnDourdn NxYAnjenZbHurU3W13qXuD7vuKgc2XM3 =B9Q9 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Carlos E. R.
-
Dave Plater
-
stakanov@freenet.de