cp: cannot overwrite directory '/var/lib/mysql-upgrade/DATADIR.link/mysql' with non-directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I used mariadb instead of mysql-server. The auto dost-upgrade failed with an error, but after a reboot I just removed "mysql-server" package, installed mariadb-server and now it works.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 (not installed)
ProcVersionSign
Uname: Linux 4.2.0-35-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
Date: Sun May 1 22:08:41 2016
DpkgTerminalLog:
Vorbereitung zum Entpacken von .../mysql-
invoke-rc.d: Unit mysql.service is masked
cp: cannot overwrite directory '/var/lib/
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/
Unterprozess neues pre-installatio
DuplicateSignature: package:
ErrorMessage: Unterprozess neues pre-installatio
InstallationDate: Installed on 2015-11-16 (167 days ago)
InstallationMedia: Ubuntu-Server 15.10 "Wily Werewolf" - Release amd64 (20151021)
RelatedPackageV
dpkg 1.18.4ubuntu1
apt 1.2.10ubuntu1
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 (not installed) failed to install/upgrade: Unterprozess neues pre-installatio
UpgradeStatus: Upgraded to xenial on 2016-05-01 (0 days ago)
tags: | removed: need-duplicate-check |
summary: |
- package mysql-server-5.7 (not installed) failed to install/upgrade: - Unterprozess neues pre-installation-Skript gab den Fehlerwert 1 zurück + cp: cannot overwrite directory '/var/lib/mysql- + upgrade/DATADIR.link/mysql' with non-directory |
Status changed to 'Confirmed' because the bug affects multiple users.