Update fails with conflicting files "(owned by vlc-nightly)" problem

I am having a problem getting past the following error on my partner’s laptop: error: failed to commit transaction (conflicting files) libvlc: /usr/include/vlc/deprecated.h exists in filesystem (owned by vlc-nightly)
This is followed by dozens of similar lines all owned by vlc-nightly.
Thanks

What I’d suggest in this case is to remove vlc-nightly and then reinstall after upgrading the system; I think this is the safest way.

Hope this helps. Cheers :smiley:

My idea would be:

remove the now installed vcl or vlc-nightly package from the system - that should remove any and all of these files
vlc-nightly has got to be a package from AUR - it is not strictly needed anyway
After removal, install vlc from standard repos again - or from AUR if you must for some reason.

If you use the repo package, be aware that a lot of plugins that where included previously
are now separate plugins - you get them all with installing:
vlc-plugins-all

vlc-nightly is no longer available on AUR

3 Likes

Thanks for the swift replies! I had tried removing vlc and vlc-nightly but pamac did not allow it. nikgnomic’s solution seems to be doing the trick. :slightly_smiling_face: The update is now proceeding as expected. There are no packages on the system that were installed from AUR. I see stuff gets dumped there when no longer in official repos. Is there a way of removing the whole lot of AUR packages with one command?

1 Like

To get a list of packages not available from Manjaro repositories

pamac list --foreign

Thanks, there are 20 AUR packages. Do I have to remove each one individually?

pamac remove --dry-run package1 package2 package3 ...

should be the command
Look at the output - if it’s ok, run the same command without the --dry-run switch

I would do a few at a time, not all at once - it’s easy on the command line to copy/paste the package names from the previously generated list.

Indeed, I myself would actually use pacman -R list of names or even pacman -Rns list of names.

And check for orphans afterwards.

1 Like

OK, thanks for that.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.