FS#48648 - [iptables] [ebtables] Can't upgrade due to file conflict

Attached to Project: Arch Linux
Opened by Peter (protake) - Sunday, 20 March 2016, 19:04 GMT
Last edited by Sébastien Luttringer (seblu) - Sunday, 20 March 2016, 22:30 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Ronald van Haren (pressh)
Sébastien Luttringer (seblu)
Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Package (6) Old Version New Version Net Change

community-testing/calibre 2.52.0-2 2.53.0-1 -0,73 MiB
testing/iproute2 4.4.0-1 4.4.0-2 0,04 MiB
testing/iptables 1.4.21-3 1.6.0-1 -3,88 MiB
extra/libmnl 1.0.3-2 0,03 MiB
extra/libnftnl 1.0.5-1 0,19 MiB
core/pacman-mirrorlist 20160314-1 20160320-1 0,00 MiB

Total Installed Size: 94,47 MiB
Net Upgrade Size: -4,35 MiB

:: Proceed with installation? [Y/n] y
(6/6) checking keys in keyring [----------------------------------------------] 100%
(6/6) checking package integrity [----------------------------------------------] 100%
(6/6) loading package files [----------------------------------------------] 100%
(6/6) checking for file conflicts [----------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
iptables: /etc/ethertypes exists in filesystem
Errors occurred, no packages were upgraded.
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Sunday, 20 March 2016, 22:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  ebtables-2.0.10_4-6
Comment by Sébastien Luttringer (seblu) - Sunday, 20 March 2016, 20:21 GMT
seems linked to https://git.netfilter.org/iptables/commit/?id=3397fb3be98ff90ff3d6788fe08d81b65d7b027c

Maybe we should rebuild iptables with --disable-nftables. This is what is done by LFS.

I didn't looked at what iptables nft compat goals.
Comment by Sébastien Luttringer (seblu) - Sunday, 20 March 2016, 22:14 GMT
Ok, disabling nftables is a bad idea. iptables 1.6 is providing {ip,eb,arp}tables cli compat using nftables.

From the commit text, this file is used to resolve textual representation of protocols in ethernet frames when using ebtables-compat.
Even though, it seems the correct idea is to make iptables optdepends on ebtables to have this (optional) file when you want to use ebtables features.
The future seems to be nftables and when you will want to switch to nftables using {ip,eb,arp}tables-compat, you'll not want to install ebtables packages to get this file.

Loading...