G
G
Glebka_Greben2020-07-07 15:22:53
ubuntu
Glebka_Greben, 2020-07-07 15:22:53

Rollback and return of Ubuntu?

iRedMail didn't want to install. It turns out that the hostname and dns-name of the mail server must be different, otherwise Postfix goes into error. I removed IRedMail and it affected MySQL. Now aptit can't install mysql-server. For stable operation, you need to roll back ubuntu. How to reset Ubuntu to its original state?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
pfg21, 2020-07-07
@pfg21

reinstall broken packages.
You can stupidly reinstall all the packages of the system.
for the future - set up backups

N
Neill Rinov, 2020-07-09
@rinovnill

apt-get install -f
To start.

-f, --fix-broken
Fix; attempt to correct a system with broken dependencies in place. This option, when used with install/remove, can omit any packages to permit APT to deduce a likely solution. If packages are specified, these have to completely correct the problem. The option is sometimes necessary when running APT for the first time; APT itself does not allow broken package dependencies to exist on a system. It is possible that a system's dependency structure can be so corrupt as to require manual intervention (which usually means using dpkg --remove to eliminate some of the offending packages). Use of this option together with -m may produce an error in some situations. Configuration Item: APT::Get::Fix-Broken.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question