package mariadb-server-core-10.6 1:10.6.11-0ubuntu0.22.04.1 failed to install/upgrade: prøver å skrive over «/usr/bin/my_print_defaults» som også finnes i pakken mariadb-client-core-10.6 1:10.6.9+maria~ubu2004
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mariadb-10.6 (Ubuntu) |
Fix Released
|
Undecided
|
Otto Kekäläinen |
Bug Description
My Intel-NUC went unresponsive and had to disconnect power to restart. That could have caused the db to fail.
The suggestion for bug report came when I powered the system up again.
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: mariadb-
ProcVersionSign
Uname: Linux 5.15.0-53-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
Date: Thu Nov 24 06:16:38 2022
DuplicateSignature:
package:
Unpacking mariadb-
dpkg: error processing archive /var/cache/
prøver å skrive over «/usr/bin/
ErrorMessage: prøver å skrive over «/usr/bin/
InstallationDate: Installed on 2021-05-10 (563 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Logs.var.
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
dpkg 1.21.1ubuntu2.1
apt 2.4.8
SourcePackage: mariadb-10.6
Title: package mariadb-
UpgradeStatus: Upgraded to jammy on 2022-08-16 (100 days ago)
modified.
tags: | removed: need-duplicate-check |
Terminal log says:
``` common_ 1%3a10. 6.11-0ubuntu0. 22.04.1_ all.deb ... 11-0ubuntu0. 22.04.1) over (1:10.6. 9+maria~ ubu2004) ... server- core-10. 6_1%3a10. 6.11-0ubuntu0. 22.04.1_ amd64.deb ... server- core-10. 6 (1:10.6. 11-0ubuntu0. 22.04.1) over (1:10.6. 9+maria~ ubu2004) ... apt/archives/ mariadb- server- core-10. 6_1%3a10. 6.11-0ubuntu0. 22.04.1_ amd64.deb (--unpack): my_print_ defaults» som også finnes i pakken mariadb- client- core-10. 6 1:10.6. 9+maria~ ubu2004
Preparing to unpack .../mariadb-
Unpacking mariadb-common (1:10.6.
Preparing to unpack .../mariadb-
Unpacking mariadb-
dpkg: error processing archive /var/cache/
prøver å skrive over «/usr/bin/
```
The root cause here is that you have packages from MariaDB.org repositories and you mix them with packages from the Ubuntu.com repository (upgrade from 10.6.9+ maria~ubu2004 to 10.6.11- 0ubuntu0. 22.04.1) .
That being said it should still survive this scenario of moved files. The odd thing is that my_print_defaults has been in https:/ /github. com/MariaDB/ server/ blob/10. 6/debian/ mariadb- client- core-10. 6.install since 10.6 series started (https:/ /github. com/MariaDB/ server/ commit/ fc65417e7bcae88 f15e1bfcd0ccebf 1b06e02fd5) and also in https:/ /salsa. debian. org/mariadb- team/mariadb- server/ -/blob/ debian/ latest/ debian/ mariadb- client- core-10. 6.install since 7 months https:/ /salsa. debian. org/mariadb- team/mariadb- server/ -/commit/ b2eaeb6c4e84ada bf0cd02f876d6b1 e27272aca2 and releases in 1:10.6.8-1