Package: libqt5keychain1 Version: 0.7.0-2.1 Severity: serious Tags: patch Hi, the package lacks some breaks and replaces: dpkg: error processing archive /var/cache/apt/archives/libqt5keychain1_0.7.0-2_amd64.deb (--unpack): trying to overwrite '/usr/share/qt5/translations/qtkeychain_de.qm', which is also in package libqt5keychain0:amd64 0.5.0-1
Patch attached Cheers Alf -- System Information: Debian Release: stretch/sid APT prefers buildd-unstable APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.8.4-towo.1-siduction-amd64 (SMP w/8 CPU cores; PREEMPT) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libqt5keychain1 depends on: ii libc6 2.24-5 ii libgcc1 1:6.2.0-10 ii libqt5core5a 5.6.1+dfsg-3+b1 ii libqt5dbus5 5.6.1+dfsg-3+b1 ii libstdc++6 6.2.0-10 Versions of packages libqt5keychain1 recommends: ii gnome-keyring 3.20.0-3 libqt5keychain1 suggests no packages. -- no debconf information
diff --git a/debian/control b/debian/control index add7a8c..b83862d 100644 --- a/debian/control +++ b/debian/control @@ -20,6 +20,8 @@ Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends} Pre-Depends: ${misc:Pre-Depends} Recommends: gnome-keyring | kde-runtime +Breaks: libqtkeychain0 +Replaces: libqtkeychain0 Description: Qt API to store passwords It can use KWallet or GNOME Keyring, if one of them is available. If none of them is available, qtkeychain will report an error or writes @@ -43,6 +45,8 @@ Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends} Pre-Depends: ${misc:Pre-Depends} Recommends: gnome-keyring | kwalletmanager +Breaks: libqt5keychain0 +Replaces: libqt5keychain0 Description: Qt API to store passwords (QT5 version) It can use KWallet or GNOME Keyring, if one of them is available. If none of them is available, qtkeychain will report an error or writes