OpenSuSE Tumbleweed `zypper dist-upgrade`: `mt-st` versus `mt_st`
Posted by jpluimers on 2016/08/08
TL;DR: I’m not the only one being partially word-blind.
I had the below while performing a zypper distribution upgrade on "openSUSE Tumbleweed (20160726) (x86_64)".
revue:/etc # zypper dist-upgrade
...
Detected 2 file conflicts:
File /usr/bin/mt
from install of
mt-st-1.3-1.1.x86_64 (Main Repository (OSS))
conflicts with file from package
mt_st-1.3-1.2.x86_64 (@System)
File /usr/sbin/stinit
from install of
mt-st-1.3-1.1.x86_64 (Main Repository (OSS))
conflicts with file from package
mt_st-1.3-1.2.x86_64 (@System)
File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.
Continue? [yes/no] (no): no
Problem occured during or after installation or removal of packages:
Installation aborted by user
Please see the above error message for a hint.
Did you see the cause of the error in the above message?
Neither did I.
So I went to the #opensuse-factory IRC channel on freenode with this information:
revue:/etc # zypper repos --details # | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service --+-------------------------------------+----------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------------------+-------- 1 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/non-oss/ | 2 | download.opensuse.org-oss | Main Repository (OSS) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/oss/ | 3 | download.opensuse.org-tumbleweed | Main Update Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/tumbleweed/ | 4 | http-download.opensuse.org-f3ba78e8 | server:monitoring | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/server:/monitoring/openSUSE_Tumbleweed/ | 5 | openSUSE-20150508-0 | openSUSE-20150508-0 | No | ---- | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-VMware_Virtual_IDE_CDROM_Drive_10000000000000000001 | 6 | repo-debug | openSUSE-Tumbleweed-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/tumbleweed/repo/oss/ | 7 | repo-source | openSUSE-Tumbleweed-Source | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/source/tumbleweed/repo/oss/ | revue:/etc # cat /etc/os-release NAME=openSUSE VERSION="Tumbleweed" VERSION_ID="20160726" PRETTY_NAME="openSUSE Tumbleweed (20160726) (x86_64)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:20160726" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" ID_LIKE="suse"
There cooloo pointed out both the cause and solution were deceptively simple:
coolo: wiert: zypper remove mt_st ; zypper dup; zypper in mt-st
coolo: the package was incorrectly renamed
My partial word-blindness didn’t spot the difference between mt_st and mt-st, but it was indeed renamed.
So here I went:
zypper remove mt_st ; zypper dist-upgrade; zypper install mt-st
Note that strictly zypper install mt-st isn’t needed on my system as it is part of Base:System. which means that zypper dist-upgrade automatically re-installed it.
–jeroen






Leave a comment