Cannot rebuild Libdvdread-git

Yesterday a new version of Libdvdread-git was released but whenever I try to update it gives me the error:

removing libdvdcss-git breaks dependency ‘libdvdcss.so=2-64’ required by libdvdread-git

libdvdcss.so=2.64 is provided by libdvdcss-git. I thought that by maybe removing this package I could update libdvdread-git and then reinstall it. However if I try to remove libdvdcss-git I get the same error saying that it’s required by libdvdread-git.

So I seem to have a loop going here. How can I resolve this?

libdvdread-git is an AUR package. The version in the repo is called libdvdread and currently stands at version 7.0.1-1. libdvdcss-git is also an AUR package, and may development-wise not necessarily be on par with libdvdread-git.

You should know by now that the AUR is officially unsupported, exactly because of situations like these. My advice would be to use the non-git packages in the repository, because they have been tested for compatibility.

Ergo… :backhand_index_pointing_down:

sudo pacman -R libdvdcss-git libdvdread-git && sudo -Syu libdvdcss libdvdread
1 Like

That’s exactly what I wanted to do. Unfortunately this is looking way more complicated:

:: removing libdvdread-git breaks dependency ‘libdvdread’ required by dvdauthor
:: removing libdvdread-git breaks dependency ‘libdvdread’ required by ffmpeg
:: removing libdvdread-git breaks dependency ‘libdvdread’ required by gnome-disk-utility
:: removing libdvdread-git breaks dependency ‘libdvdread’ required by gst-plugins-bad
:: removing libdvdread-git breaks dependency ‘libdvdread’ required by gst-plugins-ugly
:: removing libdvdread-git breaks dependency ‘libdvdread’ required by k3b
:: removing libdvdread-git breaks dependency ‘libdvdread’ required by libdvdnav
:: removing libdvdread-git breaks dependency ‘libdvdread’ required by mencoder
:: removing libdvdread-git breaks dependency ‘libdvdread’ required by mplayer

It looks like I can’t simply replace the git version with the non-git version. Unless there’s an override?

Try marking those packages as explicitly installed first and then removing them. :backhand_index_pointing_down:

sudo pacman -D --asexplicit libdvdcss-git libdvdread-git

Nope, same error. I think they were already marked as explicitly installed anyway.

Hmm… Try rebuilding libdvdread-git first then, and then rebuild libdvdcss-git. :backhand_index_pointing_down:

pamac build libdvdread-git && pamac build livdvdcss-git

You’d still be on the -git versions, but at least you should have the latest version of each then, and considering that you’d be building them separately, they shouldn’t throw up any warnings.

Good idea but it didn’t work:

Error: Failed to prepare transaction:
could not satisfy dependencies:

  • removing libdvdcss-git breaks dependency ‘libdvdcss.so=2-64’ required by libdvdread-git

Well, you could always try removing them without dependency checks and then install the repo versions… :backhand_index_pointing_down:

sudo pacman -Rdd libdvdcss-git libdvdread-git && sudo pacman -Syu libdvdread libdvdcss

And if that doesn’t work, then I’d try the downgrade option… :backhand_index_pointing_down:

sudo pacman -Syuu libdvdread libdvdcss

You will then get a warning about conflicting packages, but it should ask you whether you want to replace them.

And if that doesn’t work either, then I’m afraid I’m out of advice. :man_shrugging:

That seems to have worked. Hopefully there will be no issues now. I rarely use any DVD related functions on my computer anyway these days.

1 Like

Most new computers don’t even come with an optical drive anymore. :wink:

My system is pretty old. I built it in 2008 and it’s still chugging along. I use the DVD drive for burning movies to actual DVDs (sort of the opposite of what most people do), moving files to some of my older PCs that don’t support USB drives, and burning games for some of my older consoles that have mod chips. Like I said, not a lot of use these days but it’s nice to have it.

1 Like

I built mine myself, and didn’t even bother to add one! :wink:

My next one probably won’t. If I need one I’ll get a cheap external USB drive.

I remember building my first ‘real’ computer after I got my first job right out of college. That baby had a DVD drive AND a CD burner. I was ballin’ for sure.

1 Like

Another way to resolve this is maitaining your own local repo and build packages in chroot

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