You are not logged in.

#1 2021-05-09 04:27:44

Tofu_Bone
Member
Registered: 2016-12-26
Posts: 43

[SOLVED] package not owned by pacman, cannot update or delete

Last time I run pacman, vlc failed to update.
When I run vlc normally, it works
I Checked "pacman -Qs vlc" and it return nothing, so pacman actually do not recognize vlc
When I run pacman -S vlc it gives the following message:

resolving dependencies...
looking for conflicting packages...

Packages (1) vlc-3.0.13-1

Total Installed Size:  58.75 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)
vlc: /usr/bin/cvlc exists in filesystem
vlc: /usr/bin/nvlc exists in filesystem
vlc: /usr/bin/qvlc exists in filesystem
vlc: /usr/bin/rvlc exists in filesystem
vlc: /usr/bin/svlc exists in filesystem
vlc: /usr/share/vlc/skins2/default.vlt exists in filesystem
vlc: /usr/share/vlc/skins2/fonts/FreeSans.ttf exists in filesystem
vlc: /usr/share/vlc/skins2/fonts/FreeSansBold.ttf exists in filesystem
Errors occurred, no packages were upgraded.

I skipped hundred of files that already exists in filesystem to fit more nicely into this page.
I found the section in the wiki about conflicting files, but the scenario seems to be different, there's no /var/lib/pacman/local/vlc in system, and there are hundred of files conflicting.
Is it safe to use "pacman -S --overwrite glob vlc" here? How can i update vlc?

Last edited by Tofu_Bone (2021-05-09 21:14:17)

Offline

#2 2021-05-09 07:26:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,498

Re: [SOLVED] package not owned by pacman, cannot update or delete

pacman -S --dbonly vlc
pacman -S vlc

Offline

#3 2021-05-09 21:13:59

Tofu_Bone
Member
Registered: 2016-12-26
Posts: 43

Re: [SOLVED] package not owned by pacman, cannot update or delete

Thank you, this works !!

Offline

Board footer

Powered by FluxBB