V
V
Vyacheslav2019-02-02 20:36:46
Command line
Vyacheslav, 2019-02-02 20:36:46

How to automatically put down the answer when updating a package to an old version via zypper?

Good afternoon.
There was a need to roll back application packages to the old version with a script.
typing "zypper in --oldpackage packagename" produces the following:
Solution 1: The following packages will be updated
Solution 2: Do not install
Solution 3: Corrupt dependencies
Select one of the above solutions by number or cancel [1/2/3/c] ( c):
Tell me how to enter the answer with a script?
The -y switch is not suitable for this situation.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AVKor, 2019-02-02
@AVKor

man yes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question