LINUX.ORG.RU
ФорумAdmin

Проблемы с зависимостями для MariaDB

 , , , ,


0

1

Добрый вечер. Работаю с машинкой на Debian 9 Unstable.

kolyanok@server:~$ cat /etc/apt/sources.list
# 

# deb cdrom:[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 NETINST 20171209-12:10]/ stretch main

# deb cdrom:[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 NETINST 20171209-12:10]/ stretch main

deb http://mirror.yandex.ru/debian/ testing main contrib non-free
deb-src http://mirror.yandex.ru/debian/ testing main contrib non-free

deb http://security.debian.org/debian-security testing/updates main contrib non-free
deb-src http://security.debian.org/debian-security testing/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://mirror.yandex.ru/debian/ unstable main contrib non-free
deb-src http://mirror.yandex.ru/debian/ unstable main contrib non-free
deb [arch=amd64,i386] http://mirror.mephi.ru/mariadb/repo/10.3/debian sid main
# deb-src [arch=amd64,i386] http://mirror.mephi.ru/mariadb/repo/10.3/debian sid main
kolyanok@server:~$ uname -a
Linux server 4.18.0-2-amd64 #1 SMP Debian 4.18.10-2 (2018-10-07) x86_64 GNU/Linux
kolyanok@server:~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux buster/sid"
NAME="Debian GNU/Linux"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Сегодня по глупости сделал

kolyanok@server:~$ sudo apt update
[sudo] password for kolyanok: 
Get:1 http://mirror.yandex.ru/debian testing InRelease [150 kB]
Get:2 http://mirror.yandex.ru/debian unstable InRelease [233 kB]
Hit:3 http://security.debian.org/debian-security testing/updates InRelease
Hit:4 http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu bionic InRelease
Get:5 http://mirror.yandex.ru/debian testing/main Sources.diff/Index [27.9 kB]
Get:6 http://mirror.yandex.ru/debian testing/main amd64 Packages.diff/Index [27.9 kB]
Get:7 http://mirror.yandex.ru/debian testing/main Translation-en.diff/Index [27.9 kB]
Get:8 http://mirror.yandex.ru/debian testing/main Sources 2018-11-01-0207.55.pdiff [20.9 kB]
Get:9 http://mirror.yandex.ru/debian testing/main amd64 Packages 2018-11-01-0207.55.pdiff [22.2 kB]
Get:8 http://mirror.yandex.ru/debian testing/main Sources 2018-11-01-0207.55.pdiff [20.9 kB]
Get:9 http://mirror.yandex.ru/debian testing/main amd64 Packages 2018-11-01-0207.55.pdiff [22.2 kB]
Get:10 http://mirror.yandex.ru/debian testing/main Translation-en 2018-11-01-0207.55.pdiff [33 B]
Get:10 http://mirror.yandex.ru/debian testing/main Translation-en 2018-11-01-0207.55.pdiff [33 B]
Get:11 http://mirror.yandex.ru/debian unstable/contrib Sources.diff/Index [27.8 kB]                                                       
Get:12 http://mirror.yandex.ru/debian unstable/main Sources.diff/Index [27.9 kB]                                                                      
Get:13 http://mirror.yandex.ru/debian unstable/non-free Sources.diff/Index [27.8 kB]                                                                  
Get:14 http://mirror.yandex.ru/debian unstable/main amd64 Packages.diff/Index [27.9 kB]                             
Get:15 http://mirror.yandex.ru/debian unstable/main Translation-en.diff/Index [27.9 kB]                             
Get:16 http://mirror.yandex.ru/debian unstable/contrib Sources 2018-11-01-0207.55.pdiff [31 B]                      
Get:17 http://mirror.yandex.ru/debian unstable/main Sources 2018-11-01-0207.55.pdiff [14.3 kB]                      
Get:18 http://mirror.yandex.ru/debian unstable/non-free Sources 2018-11-01-0207.55.pdiff [685 B]                    
Get:19 http://mirror.yandex.ru/debian unstable/main amd64 Packages 2018-11-01-0207.55.pdiff [65.1 kB]               
Get:20 http://mirror.yandex.ru/debian unstable/main Translation-en 2018-11-01-0207.55.pdiff [1,632 B]               
Get:16 http://mirror.yandex.ru/debian unstable/contrib Sources 2018-11-01-0207.55.pdiff [31 B]                      
Get:17 http://mirror.yandex.ru/debian unstable/main Sources 2018-11-01-0207.55.pdiff [14.3 kB]                                            
Get:18 http://mirror.yandex.ru/debian unstable/non-free Sources 2018-11-01-0207.55.pdiff [685 B]                                                                                                           
Get:19 http://mirror.yandex.ru/debian unstable/main amd64 Packages 2018-11-01-0207.55.pdiff [65.1 kB]                                                                                                      
Get:20 http://mirror.yandex.ru/debian unstable/main Translation-en 2018-11-01-0207.55.pdiff [1,632 B]                                                                                                      
Fetched 730 kB in 16s (46.0 kB/s)                                                                                                                                                                          
Reading package lists... Done
Building dependency tree       
Reading state information... Done
10 packages can be upgraded. Run 'apt list --upgradable' to see them.
kolyanok@server:~$ sudo apt dist-upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  analog at dctrl-tools diffstat dput emacsen-common equivs galera-3 ienglish-common ispell libauthen-sasl-perl libclass-inspector-perl libclass-method-modifiers-perl libconvert-binhex-perl
  libdata-dump-perl libdevel-globaldestruction-perl libdigest-bubblebabble-perl libdigest-hmac-perl libdistro-info-perl libdynaloader-functions-perl libencode-locale-perl libexporter-tiny-perl
  libfile-basedir-perl libfile-chdir-perl libfile-homedir-perl libfile-listing-perl libfile-which-perl libfl2 libfont-afm-perl libgit-wrapper-perl libhtml-tagset-perl libhttp-cookies-perl
  libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-html-perl libio-sessiondata-perl libio-string-perl libio-stringy-perl libipc-system-simple-perl libjemalloc1
  liblist-compare-perl liblwp-mediatypes-perl libnet-dns-perl libnet-domain-tld-perl libnet-http-perl libnet-ip-perl libnumber-compare-perl libnumber-range-perl libossp-uuid16 libpath-iterator-rule-perl
  libpath-tiny-perl libperl5.26 libpod-constants-perl libregexp-pattern-license-perl librole-tiny-perl libsort-versions-perl libstrictures-perl libstring-copyright-perl libstring-escape-perl
  libstring-shellquote-perl libsub-exporter-progressive-perl libsub-install-perl libsub-quote-perl libtask-weaken-perl libtext-glob-perl libtext-levenshtein-perl libtimedate-perl libtry-tiny-perl
  libunwind8 liburi-perl libwww-robotrules-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl mariadb-server-core-10.1 openssh-server openssh-sftp-server patchutils perl-modules-5.26
  perl-openssl-defaults python3-gpg python3-magic python3-unidiff rsync socat strace t1utils xkb-data
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  console-setup console-setup-linux debconf-i18n devscripts dictionaries-common iamerican ibritish keyboard-configuration libalgorithm-diff-xs-perl libapt-pkg-perl libb-hooks-endofscope-perl
  libb-hooks-op-check-perl libcgi-fast-perl libcgi-pm-perl libclass-accessor-perl libclass-xsaccessor-perl libclone-perl libdata-optlist-perl libdbd-mysql-perl libdbi-perl libdevel-callchecker-perl
  libemail-valid-perl libfcgi-perl libfile-fcntllock-perl libgetopt-long-descriptive-perl libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-template-perl libhtml-tree-perl
  libimport-into-perl libio-pty-perl libio-socket-inet6-perl libio-socket-ssl-perl libipc-run-perl liblist-moreutils-perl liblocale-gettext-perl liblwp-protocol-https-perl libmailtools-perl
  libmime-tools-perl libmodule-implementation-perl libmodule-runtime-perl libmoo-perl libnamespace-clean-perl libnet-dns-sec-perl libnet-libidn-perl libnet-smtp-ssl-perl libnet-ssleay-perl
  libossp-uuid-perl libpackage-stash-perl libpackage-stash-xs-perl libparams-classify-perl libparams-util-perl libparams-validate-perl libparse-debianchangelog-perl libperlio-gzip-perl
  libscalar-list-utils-perl libsoap-lite-perl libsocket6-perl libsort-key-perl libsub-exporter-perl libsub-identify-perl libsub-name-perl libterm-readkey-perl libtext-charwidth-perl libtext-iconv-perl
  libtext-wrapi18n-perl libunicode-utf8-perl libvariable-magic-perl libwww-perl libxml-libxml-perl libxml-parser-perl libxml-sax-expat-perl libxml-simple-perl libxmlrpc-lite-perl libyaml-libyaml-perl
  licensecheck lintian mariadb-server mariadb-server-10.1 task-english task-ssh-server task-web-server tasksel tasksel-data
The following NEW packages will be installed:
  libperl5.28 perl-modules-5.28
The following packages will be upgraded:
  curl debhelper dh-systemd exfat-fuse exfat-utils libcurl3-gnutls libcurl4 perl perl-base rsyslog
10 upgraded, 2 newly installed, 85 to remove and 0 not upgraded.
Need to get 10.6 MB/11.2 MB of archives.
After this operation, 55.2 MB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://mirror.yandex.ru/debian unstable/main amd64 perl-modules-5.28 all 5.28.0-3 [2,871 kB]
Get:2 http://mirror.yandex.ru/debian unstable/main amd64 libperl5.28 amd64 5.28.0-3 [3,888 kB]
Get:3 http://mirror.yandex.ru/debian unstable/main amd64 perl amd64 5.28.0-3 [204 kB]
Get:4 http://mirror.yandex.ru/debian unstable/main amd64 perl-base amd64 5.28.0-3 [1,510 kB]
Get:5 http://mirror.yandex.ru/debian unstable/main amd64 curl amd64 7.62.0-1 [257 kB]
Get:6 http://mirror.yandex.ru/debian unstable/main amd64 libcurl4 amd64 7.62.0-1 [324 kB]
Get:7 http://mirror.yandex.ru/debian unstable/main amd64 debhelper all 11.5.1 [992 kB]
Get:8 http://mirror.yandex.ru/debian unstable/main amd64 dh-systemd all 11.5.1 [121 kB]
Get:9 http://mirror.yandex.ru/debian unstable/main amd64 exfat-fuse amd64 1.3.0-1 [29.4 kB]
Get:10 http://mirror.yandex.ru/debian unstable/main amd64 exfat-utils amd64 1.3.0-1 [45.2 kB]
Get:11 http://mirror.yandex.ru/debian unstable/main amd64 libcurl3-gnutls amd64 7.62.0-1 [321 kB]
Fetched 10.6 MB in 1s (13.3 MB/s)          
Reading changelogs... Done
(Reading database ... 69987 files and directories currently installed.)
Removing lintian (2.5.111) ...
Removing libyaml-libyaml-perl (0.74+repack-1) ...
Removing libxml-simple-perl (2.25-1) ...
Removing libxml-libxml-perl (2.0132+dfsg-2) ...
update-perl-sax-parsers: Unregistering Perl SAX parser XML::LibXML::SAX::Parser with priority 50...
update-perl-sax-parsers: Unregistering Perl SAX parser XML::LibXML::SAX with priority 50...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...
Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version
Removing libio-socket-inet6-perl (2.72-2) ...
Removing libsocket6-perl (0.29-1) ...
Removing libxmlrpc-lite-perl (0.717-1) ...
Removing libsoap-lite-perl (1.27-1) ...
Removing libnet-libidn-perl (0.12.ds-3) ...
Removing libnet-dns-sec-perl (1.10-2) ...
Removing mariadb-server (1:10.1.35-1) ...
Removing mariadb-server-10.1 (1:10.1.35-1) ...
Removing libdbd-mysql-perl:amd64 (4.048-1) ...
Removing libdbi-perl:amd64 (1.642-1) ...
Removing libclone-perl (0.41-1) ...
Removing libclass-xsaccessor-perl (1.19-3) ...
Removing licensecheck (3.0.31-2) ...
Removing libnamespace-clean-perl (0.27-1) ...
Removing libb-hooks-endofscope-perl (0.24-1) ...
Removing libvariable-magic-perl (0.62-1) ...
Removing libsub-identify-perl (0.14-1) ...
Removing libsort-key-perl (1.33-2) ...
Removing libscalar-list-utils-perl (1:1.50-1) ...
Removing devscripts (2.18.7) ...
Removing libmoo-perl (2.003004-2) ...
Removing libapt-pkg-perl (0.1.34) ...
Removing libalgorithm-diff-xs-perl (0.04-5) ...
Removing libossp-uuid-perl (1.6.2-1.5+b6) ...
Removing libxml-sax-expat-perl (0.51-1) ...
update-perl-sax-parsers: Unregistering Perl SAX parser XML::SAX::Expat with priority 50...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...
Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version
Removing libxml-parser-perl (2.44-2+b3) ...
Removing libunicode-utf8-perl (0.60-1+b4) ...
Removing ibritish (3.4.00-6) ...
Removing debconf-i18n (1.5.69) ...
Removing libtext-wrapi18n-perl (0.06-7.1) ...
Removing libtext-charwidth-perl (0.04-7.1) ...
Removing libterm-readkey-perl (2.37-1+b2) ...
Removing libparse-debianchangelog-perl (1.2.0-13) ...
Removing libclass-accessor-perl (0.51-1) ...
Removing libsub-name-perl (0.21-1+b2) ...
Removing libperlio-gzip-perl (0.19-1+b4) ...
Removing libgetopt-long-descriptive-perl (0.103-2) ...
Removing libparams-validate-perl (1.29-1) ...
Removing libsub-exporter-perl (0.987-1) ...
Removing libdata-optlist-perl (0.110-1) ...
Removing libparams-util-perl (1.07-3+b3) ...
Removing libpackage-stash-xs-perl (0.28-3+b3) ...
Removing liblist-moreutils-perl (0.416-1+b3) ...
Removing libipc-run-perl (20180523.0-1) ...
Removing libio-pty-perl (1:1.08-1.1+b4) ...
Removing libfile-fcntllock-perl (0.22-3+b4) ...
Removing libcgi-fast-perl (1:2.13-1) ...
Removing libfcgi-perl (0.78-2+b2) ...
Removing liblwp-protocol-https-perl (6.07-2) ...
Removing libwww-perl (6.36-1) ...
dpkg: libio-socket-ssl-perl: dependency problems, but removing anyway as you requested:
 libnet-smtp-ssl-perl depends on libio-socket-ssl-perl.

Removing libio-socket-ssl-perl (2.060-3) ...
Removing libnet-ssleay-perl (1.85-2) ...
dpkg: libmodule-runtime-perl: dependency problems, but removing anyway as you requested:
 libmodule-implementation-perl depends on libmodule-runtime-perl (>= 0.012).
 libimport-into-perl depends on libmodule-runtime-perl.

Removing libmodule-runtime-perl (0.016-1) ...
Removing libparams-classify-perl (0.015-1) ...
Removing libdevel-callchecker-perl (0.007-2+b1) ...
Removing libb-hooks-op-check-perl (0.22-1) ...
dpkg: dictionaries-common: dependency problems, but removing anyway as you requested:
 iamerican depends on dictionaries-common (>= 1.23~).

Removing dictionaries-common (1.28.0) ...
Removing 'diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common'
Removing libtext-iconv-perl (1.7-5+b6) ...
dpkg: tasksel-data: dependency problems, but removing anyway as you requested:
 tasksel depends on tasksel-data.

Removing tasksel-data (3.47) ...
dpkg: tasksel: dependency problems, but removing anyway as you requested:
 task-web-server depends on tasksel (= 3.47).
 task-ssh-server depends on tasksel (= 3.47).
 task-english depends on tasksel (= 3.47).

Removing tasksel (3.47) ...
dpkg: liblocale-gettext-perl: dependency problems, but removing anyway as you requested:
 keyboard-configuration depends on liblocale-gettext-perl.

Removing liblocale-gettext-perl (1.07-3+b3) ...
dpkg: libhtml-parser-perl: dependency problems, but removing anyway as you requested:
 libhtml-tree-perl depends on libhtml-parser-perl.
 libhtml-form-perl depends on libhtml-parser-perl.
 libcgi-pm-perl depends on libhtml-parser-perl.

Removing libhtml-parser-perl (3.72-3+b2) ...
(Reading database ... 67120 files and directories currently installed.)
Preparing to unpack .../perl_5.28.0-3_amd64.deb ...
Unpacking perl (5.28.0-3) over (5.26.2-7+b1) ...
Selecting previously unselected package perl-modules-5.28.
Preparing to unpack .../perl-modules-5.28_5.28.0-3_all.deb ...
Unpacking perl-modules-5.28 (5.28.0-3) ...
Selecting previously unselected package libperl5.28:amd64.
Preparing to unpack .../libperl5.28_5.28.0-3_amd64.deb ...
Unpacking libperl5.28:amd64 (5.28.0-3) ...
Preparing to unpack .../perl-base_5.28.0-3_amd64.deb ...
Unpacking perl-base (5.28.0-3) over (5.26.2-7+b1) ...
Setting up perl-base (5.28.0-3) ...
(Reading database ... 69006 files and directories currently installed.)
Removing libhtml-template-perl (2.97-1) ...
Removing console-setup (1.187) ...
Removing console-setup-linux (1.187) ...
Removing iamerican (3.4.00-6) ...
Warning: remove-default-ispell not present or executable.
Warning: remove-default-ispell not present or executable.
Removing keyboard-configuration (1.187) ...
Removing libcgi-pm-perl (4.40-1) ...
Removing libemail-valid-perl (1.202-1) ...
Removing libhtml-form-perl (6.03-1) ...
Removing libhtml-format-perl (2.12-1) ...
Removing libhtml-tree-perl (5.07-1) ...
Removing libimport-into-perl (1.002005-1) ...
Removing libmime-tools-perl (5.509-1) ...
Removing libmailtools-perl (2.18-1) ...
Removing libpackage-stash-perl (0.37-1) ...
Removing libmodule-implementation-perl (0.09-1) ...
Removing libnet-smtp-ssl-perl (1.04-1) ...
Removing task-english (3.47) ...
Removing task-ssh-server (3.47) ...
Removing task-web-server (3.47) ...
(Reading database ... 68305 files and directories currently installed.)
Preparing to unpack .../0-rsyslog_8.39.0-1_amd64.deb ...
Unpacking rsyslog (8.39.0-1) over (8.38.0-1+b1) ...
Preparing to unpack .../1-curl_7.62.0-1_amd64.deb ...
Unpacking curl (7.62.0-1) over (7.61.0-1) ...
Preparing to unpack .../2-libcurl4_7.62.0-1_amd64.deb ...
Unpacking libcurl4:amd64 (7.62.0-1) over (7.61.0-1) ...
Preparing to unpack .../3-debhelper_11.5.1_all.deb ...
Unpacking debhelper (11.5.1) over (11.5) ...
Preparing to unpack .../4-dh-systemd_11.5.1_all.deb ...
Unpacking dh-systemd (11.5.1) over (11.5) ...
Preparing to unpack .../5-exfat-fuse_1.3.0-1_amd64.deb ...
Unpacking exfat-fuse (1.3.0-1) over (1.2.8-1) ...
Preparing to unpack .../6-exfat-utils_1.3.0-1_amd64.deb ...
Unpacking exfat-utils (1.3.0-1) over (1.2.8-1) ...
Preparing to unpack .../7-libcurl3-gnutls_7.62.0-1_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.62.0-1) over (7.61.0-1) ...
Setting up exfat-utils (1.3.0-1) ...
Setting up exfat-fuse (1.3.0-1) ...
Setting up libcurl3-gnutls:amd64 (7.62.0-1) ...
Processing triggers for cracklib-runtime (2.9.2-5.2+b1) ...
Setting up libcurl4:amd64 (7.62.0-1) ...
Setting up perl-modules-5.28 (5.28.0-3) ...
Processing triggers for libc-bin (2.27-8) ...
Processing triggers for systemd (239-11) ...
Processing triggers for man-db (2.8.4-2+b1) ...
Setting up rsyslog (8.39.0-1) ...
Setting up curl (7.62.0-1) ...
Setting up libperl5.28:amd64 (5.28.0-3) ...
Setting up perl (5.28.0-3) ...
Setting up debhelper (11.5.1) ...
Setting up dh-systemd (11.5.1) ...
Processing triggers for libc-bin (2.27-8) ...

, вследствие чего перестал работать сервер MariaDB. Вернуть его к жизни пробовал в попытках восстановить то, что APT удалил, но к успеху это не привело.

sudo apt install mariadb-server выдает следующее:

kolyanok@server:~$ sudo apt-get install mariadb-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mariadb-server : Depends: mariadb-server-10.3 (>= 1:10.3.9+maria~sid) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
kolyanok@server:~$ sudo apt-get install mariadb-server-10.3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mariadb-server-10.3 : Depends: libdbi-perl but it is not going to be installed
                       Recommends: libhtml-template-perl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
kolyanok@server:~$ sudo apt-get install mariadb-server libdbi-perl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libdbi-perl : Depends: perlapi-5.26.2
E: Unable to correct problems, you have held broken packages.

apt -f install и всякие другие стандартные попытки разрешить ситуацию ни к какому успеху не приводят...

При этом mysql-server нормально ставится и работает, но мне, все же, хотелось бы MariaDB поставить, как оно и было...

Возможно что-то я делаю совсем не так — не знаю, к сожалению, с Debian не так много работал, как хотелось бы.

Заранее благодарен за помощь...



Последнее исправление: kolyanok (всего исправлений: 3)

Если работаешь на unstable, то должен быть подписан на рассылку Debian-developers, в которой вчера было сообщение про обновление perl и про то, что в ближайшее время много чего сломается. Жди теперь, когда починится.

TeopeTuK ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.