Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicting files #5464

Open
conree opened this issue May 24, 2024 · 4 comments
Open

Conflicting files #5464

conree opened this issue May 24, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@conree
Copy link

conree commented May 24, 2024

What Operating System(s) are you seeing this problem on?

Linux Wayland

Which Wayland compositor or X11 Window manager(s) are you using?

Version

KWin version: 6.0.4
Qt Version: 6.7.0
Qt compile version: 6.7.0
XCB compile version: 1.17.0

Operation Mode: Xwayland

WezTerm version

wezterm 20240203-110809-5046fc22

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

error: failed to commit transaction (conflicting files)
ncurses: /usr/share/terminfo/w/wezterm exists in filesystem (owned by wezterm-terminfo)
Errors occurred, no packages were upgraded.

To Reproduce

sudo pacman -Syu

Configuration

local wezterm = require('wezterm')
local config = {}
term = "wezterm"
config.color_scheme = 'Blueberry Banana'
config.window_background_opacity = 0.7
config.font = wezterm.font 'Comic Code'
config.font_size = 12.0
config.enable_scroll_bar = true
config.check_for_updates = true
config.check_for_updates_interval_seconds = 86400
return config

Expected Behavior

Full system update with no errors.

Logs

17:39:21.988 ERROR config::config > Your configuration specifies color_scheme="Blueberry Banana" but that scheme was not found
17:39:21.993 INFO wezterm_gui > Spawned your command via the existing GUI instance. Use wezterm start --always-new-process if you do not want this behavior. Result=SpawnResponse { tab_id: 1, pane_id: 1, window_id: 1, size: TerminalSize { rows: 24, cols: 80, pixel_width: 640, pixel_height: 384, dpi: 0 } }

Anything else?

If I delete wezterm and restart, I can update my system with pacman -Syu. Then if I try to reinstall wezterm I get:
➤ paru -S wezterm
[sudo] password for si:
resolving dependencies...
looking for conflicting packages...

Package (5) New Version Net Change

extra/ttf-jetbrains-mono 2.304-1 7.44 MiB
extra/ttf-roboto 2.138-4 5.16 MiB
cachyos-extra-v3/wezterm-shell-integration 20240203.110809.5046fc22-1.1 0.02 MiB
cachyos-extra-v3/wezterm-terminfo 20240203.110809.5046fc22-1.1 0.00 MiB
cachyos-extra-v3/wezterm 20240203.110809.5046fc22-1.1 110.32 MiB

Total Installed Size: 122.94 MiB

:: Proceed with installation? [Y/n] y
(5/5) checking keys in keyring [----------------------------] 100%
(5/5) checking package integrity [----------------------------] 100%
(5/5) loading package files [----------------------------] 100%
(5/5) checking for file conflicts [----------------------------] 100%
error: failed to commit transaction (conflicting files)
wezterm-terminfo: /usr/share/terminfo/w/wezterm exists in filesystem (owned by ncurses)
Errors occurred, no packages were upgraded.

No response

@conree conree added the bug Something isn't working label May 24, 2024
@Dacheng-Wang
Copy link

Same issue. I believe this is related:
https://gitlab.archlinux.org/archlinux/packaging/packages/wezterm/-/issues/2

@fioncat
Copy link
Contributor

fioncat commented May 24, 2024

Same, is seems that ncurses provided terminfo file in the new release?

Now I have to add ncurses to pacman's IgnorePkg to avoid this.

@1nikolas
Copy link

The issue was fixed for the wezterm package in arch but there is still an issue in the aur git package which seems to be maintained by @wez

@Dacheng-Wang
Copy link

For anyone looking for a temporary solution: If you have wezterm installed already, go ahead and delete /usr/share/terminfo/w/wezterm (with sudo), and then update ncurses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants