Arch Linux

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!
Tasklist

FS#79574 - [netplan] Cannot be upgraded to 0.107-1 from 0.106.1-1

Attached to Project: Arch Linux
Opened by Zhang Hua (ZhangHua) - Tuesday, 05 September 2023, 13:46 GMT
Last edited by David Runge (dvzrv) - Tuesday, 05 September 2023, 16:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To David Runge (dvzrv)
Christian Rebischke (Shibumi)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:


Additional info:
pacman says:
error: failed to commit transaction (conflicting files)
netplan: /lib exists in filesystem (owned by filesystem)
netplan: /lib/netplan/generate exists in filesystem
Errors occurred, no packages were upgraded.


Steps to reproduce:
simply run `pacman -Syu` to upgrade.
This task depends upon

Closed by  David Runge (dvzrv)
Tuesday, 05 September 2023, 16:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with 0.107-2
Comment by Gregory (rollenwiese) - Tuesday, 05 September 2023, 15:52 GMT
This is also true when installing from scratch 'netplan: /lib exists in filesystem (owned by filesystem)'
Comment by David Runge (dvzrv) - Tuesday, 05 September 2023, 16:26 GMT
@ZhangHua: Thanks for the ticket.

Seems namcap did not warn me about this... and upstream only adds it for legacy reasons: https://github.com/canonical/netplan/blob/a7e4be03918c986020650743cb6cf0934696ef0c/src/meson.build#L40-L44

I'll just remove the dir...
Comment by loqs (loqs) - Tuesday, 05 September 2023, 16:29 GMT
netplan's meson uses $libexec and puts a symlink in $prefix/$libexec [1].

[1] https://github.com/canonical/netplan/blob/0.107/src/meson.build#L35

Loading...