Answer the question
In order to leave comments, you need to log in
How to fix Debian system error?
Hello. Dpkg found this bug:
Пакеты, имеющие неудовлетворённые зависимости:
mount : Зависит: util-linux (>= 2.29.2-3~) но 2.25.2-6 уже установлен
systemd : Зависит: libsystemd0 (= 215-17+deb8u13) но 247.3-6 уже установлен
Рекомендует: libpam-systemd но он не установлен
Рекомендует: dbus но он не установлен
E: Неудовлетворённые зависимости. Попытайтесь использовать -f.
Answer the question
In order to leave comments, you need to log in
I'll have to answer myself, because again I pulled a string from the world. In general, for those who don't already know, you should never try to jump over 1-2 versions when upgrading Debian. In my case, they generally wanted to raise it by 3 versions. Therefore, all packages were destroyed during update/upgrade. How else the server worked - HZ! How did you pull it out? This is a question for a million and I can’t answer for sure, but first of all I changed the distributions in the sources back to jessie, then I did upgrade, --reinstall with the -f key, then I somehow installed aptitude and with its help drove the reinstallation of all aptitude install '~i' packages. Then again, aptitude purge '~c', and the aptitude purge '~o' command did the most. After that, the standard update began to turn out. Yes, and I also had to open access to all repositories on Yandex and debian.org, because for some reason some of the packages were not downloaded. A day of torment, but I didn’t have to move gigabytes of information back and forth, especially since they were piled on one disk in one heap.
Information from comments:
An attempt was made to update the server. It's just that some woodpecker put Debian 11 in the sources, and the system itself is 8th. Naturally, after the first update/upgrade run, everything went wrong. How to fix - I still can't figure it out
nano /etc/apt/preferences.d/stretch
Package: *
Pin: release n=stretch
Pin-Priority: 1001
apt update
apt upgrade
apt dist-upgrade
apt --fix-broken --allow-downgrades install
apt autoremove
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question