[MDEV-11252] 10.1.19 apt upgrade fails on ubuntu 16.04 Created: 2016-11-08  Updated: 2016-12-13  Resolved: 2016-12-13

Status: Closed
Project: MariaDB Server
Component/s: Platform Debian
Affects Version/s: 10.1.19
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Jorge Ferrando Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: need_feedback
Environment:

Ubuntu 16.04



 Description   

apt upgrade fails

The following packages will be upgraded:
  libmariadbclient18 libmysqlclient18 mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server mariadb-server-10.1 mariadb-server-core-10.1 mysql-common
9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/13.2 MB of archives.
After this operation, 45.1 kB of additional disk space will be used.
Do you want to continue? [Y/n]
N: Ignoring file '50unattended-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
Preconfiguring packages ...
(Reading database ... 133350 files and directories currently installed.)
Preparing to unpack .../mariadb-server_10.1.19+maria-1~xenial_all.deb ...
Unpacking mariadb-server-core-10.1 (10.1.19+maria-1~xenial) over (10.1.18+maria-1~xenial) ...
Processing triggers for libc-bin (2.23-0ubuntu4) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up mysql-common (10.1.19+maria-1~xenial) ...
Setting up mariadb-common (10.1.19+maria-1~xenial) ...
(Reading database ... 133350 files and directories currently installed.)
Preparing to unpack .../mariadb-server-10.1_10.1.19+maria-1~xenial_amd64.deb ...
Unpacking mariadb-server-10.1 (10.1.19+maria-1~xenial) over (10.1.18+maria-1~xenial) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu12) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up libmysqlclient18 (10.1.19+maria-1~xenial) ...
Setting up libmariadbclient18 (10.1.19+maria-1~xenial) ...
Setting up mariadb-client-core-10.1 (10.1.19+maria-1~xenial) ...
Setting up mariadb-client-10.1 (10.1.19+maria-1~xenial) ...
Setting up mariadb-server-core-10.1 (10.1.19+maria-1~xenial) ...
Setting up mariadb-server-10.1 (10.1.19+maria-1~xenial) ...
dpkg: error processing package mariadb-server-10.1 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mariadb-server:
 mariadb-server depends on mariadb-server-10.1 (= 10.1.19+maria-1~xenial); however:
  Package mariadb-server-10.1 is not configured yet.
 
dpkg: error processing package mariadb-server (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu4) ...
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 mariadb-server-10.1
 mariadb-server
N: Ignoring file '50unattended-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
E: Sub-process /usr/bin/dpkg returned an error code (1)



 Comments   
Comment by Elena Stepanova [ 2016-11-12 ]

Is there anything in the journal or in the error logs?
What happens if you (try to) install mariadb-server-10.1 separately? Does apt-get produce any sensible messages then?

Comment by Jorge Ferrando [ 2016-12-13 ]

Sorry I didn't see your request for more info. Just for the record, after few attempts of upgrading and some reboots it worked.

Thanks!

Generated at Thu Feb 08 07:48:30 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.