Update fails with file conflict


#1

I just approved the latest update from November (again). However, the upgrade process failed with the error message

##### Update notifications #####
Updater selhal: 

[string "transaction"]:317: [string "transaction"]:146: Collisions:

• /usr/bin/tail: coreutils-tail (existing-file), busybox (new-file)

I could probably work around this by uninstalling coreutils-tail prior to the upgrade and reinstalling it afterwards. However, I think this is something the updater should handle.


#2

A post was split to a new topic: Avahi - conflict files


#3

I had similar issue with vsftpd(with ssl) vs vsftpd(without ssl) some time ago. So i made entry for uninstalling conflicting package in “user.lua” file /etc/updater/conf.d/user.lua --> Uninstall ("vsftpd",{priority = 60}).

https://doc.turris.cz/doc/en/public/updater#remove_automatically_installed_software
(it is doku for updater.sh, now TOS is using pkgupdate instead, but logic is same)