Bug ID 1022963
Summary AppArmor maintenance update uninstallable due to file conflict with net-tools-deprecated
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.2
Hardware Other
OS openSUSE 42.2
Status NEW
Severity Normal
Priority P5 - None
Component Maintenance
Assignee suse-beta@cboltz.de
Reporter astieger@suse.com
QA Contact qa-bugs@suse.de
CC bbrunner@suse.com, maintenance@opensuse.org
Found By Community User
Blocker ---

The proposed maintenance update for AppArmor (incident 6333) is not installable
on Leap 42.2 if the network:utilities repository is enabled on the system. Also
the change in the recommendation of net-tools to net-tools-deprecated does not
seem correct.

> zypper in -t patch 6333
> [...]
> Checking for file conflicts: ..........[error]
> Detected 5 file conflicts:
> 
> File /bin/netstat
>   from install of
>      net-tools-deprecated-1.60-821.4.x86_64 (network-utilities)
>   conflicts with file from package
>      net-tools-1.60-767.55.x86_64 (@System)
> 
> File /sbin/arp
>   from install of
>      net-tools-deprecated-1.60-821.4.x86_64 (network-utilities)
>   conflicts with file from package
>      net-tools-1.60-767.55.x86_64 (@System)
> 
> File /sbin/ifconfig
>   from install of
>      net-tools-deprecated-1.60-821.4.x86_64 (network-utilities)
>   conflicts with file from package
>      net-tools-1.60-767.55.x86_64 (@System)
> 
> File /sbin/iptunnel
>   from install of
>      net-tools-deprecated-1.60-821.4.x86_64 (network-utilities)
>   conflicts with file from package
>      net-tools-1.60-767.55.x86_64 (@System)
> 
> File /sbin/route
>   from install of
>      net-tools-deprecated-1.60-821.4.x86_64 (network-utilities)
>   conflicts with file from package
>      net-tools-1.60-767.55.x86_64 (@System)

Relevant spec change in the apparmor-utils package in context:

 # aa-unconfined needs netstat
-%if 0%{?suse_version} > 1320
+%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
 Recommends:     net-tools-deprecated
 %else
 Recommends:     net-tools
 %endif

The net-tools-deprecated package is not in Leap, openSUSE-release removes it:
> weakremover(net-tools-deprecated)
net-tools-deprecated file-conflicts with net-tools. netstat is in net-tools.
This change in Recommends does not seem correct. Also a change from netstat to
ss (iproute2) would be advised for the next releases.


You are receiving this mail because: