Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#67708 - dnsmasq broken as of 2.82-2: failed to commit transaction (conflicting files)
Attached to Project:
Arch Linux
Opened by Damian Nowak (Nowaker) - Monday, 24 August 2020, 21:00 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 24 August 2020, 21:43 GMT
Opened by Damian Nowak (Nowaker) - Monday, 24 August 2020, 21:00 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 24 August 2020, 21:43 GMT
|
Details`pacman -Syu` results in:
``` error: failed to commit transaction (conflicting files) dnsmasq: /usr/bin/dhcp_lease_time exists in filesystem (owned by dnsmasq-contrib) dnsmasq: /usr/bin/dhcp_release exists in filesystem (owned by dnsmasq-contrib) dnsmasq: /usr/share/man/man1/dhcp_lease_time.1.gz exists in filesystem (owned by dnsmasq-contrib) dnsmasq: /usr/share/man/man1/dhcp_release.1.gz exists in filesystem (owned by dnsmasq-contrib) Errors occurred, no packages were upgraded. ``` `pacman -Syu --ignore dnsmasq` succeeded. After full upgrade, `pacman -Syu` still fails due to a buggy dnsmasq package. ``` % sudo pacman -Syu :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date pritunl is up to date :: Starting full system upgrade... warning: postgresql: ignoring package upgrade (9.6.5-1 => 12.3-2) warning: postgresql-libs: ignoring package upgrade (9.6.5-1 => 12.3-2) warning: postgresql-old-upgrade: ignoring package upgrade (9.6.10-1 => 11.8-2) resolving dependencies... looking for conflicting packages... Package (1) Old Version New Version Net Change extra/dnsmasq 2.82-1 2.82-2 0.05 MiB Total Installed Size: 0.78 MiB Net Upgrade Size: 0.05 MiB :: Proceed with installation? [Y/n] (1/1) checking keys in keyring [############################################################################] 100% (1/1) checking package integrity [############################################################################] 100% (1/1) loading package files [############################################################################] 100% (1/1) checking for file conflicts [############################################################################] 100% error: failed to commit transaction (conflicting files) dnsmasq: /usr/bin/dhcp_lease_time exists in filesystem (owned by dnsmasq-contrib) dnsmasq: /usr/bin/dhcp_release exists in filesystem (owned by dnsmasq-contrib) dnsmasq: /usr/share/man/man1/dhcp_lease_time.1.gz exists in filesystem (owned by dnsmasq-contrib) dnsmasq: /usr/share/man/man1/dhcp_release.1.gz exists in filesystem (owned by dnsmasq-contrib) Errors occurred, no packages were upgraded. ``` From what I understand `dnsmasq-contrib` used to be a thing and now the contents of both `dnsmasq` and `dnsmasq-contrib` are consolidated into `dnsmasq`. I guess `dnsmasq` needs `Replaces` and `Conflicts`, or something else to auto-delete `dnsmasq-contrib` as it's no longer needed? If a manual intervention is needed, it needs an entry at archlinux.org blog/news section. |
This task depends upon
```
% pacman -Qi dnsmasq-contrib
Name : dnsmasq-contrib
Version : 2.63-1
Description : dnsmasq contrib
Architecture : x86_64
URL : http://www.thekelleys.org.uk/dnsmasq/doc.html
Licenses : GPL
Groups : None
Provides : None
Depends On : glibc
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 32.00 KiB
Packager : Unknown Packager
Build Date : Sat 26 Jan 2013 03:55:43 PM CST
Install Date : Sat 26 Jan 2013 03:55:47 PM CST
Install Reason : Explicitly installed
Install Script : No
Validated By : Unknown
```