Bugzilla – Bug 1227254
Community Repo libdvdcss Can't be Added
Last modified: 2024-07-09 17:58:40 UTC
Created attachment 875815 [details] Screenshot: YaST repositories when adding a community repo After the Leap 15.6 installation, I wanted to add the libdvdcss community repo, but this always failed with an error: Adding repository Libdvdcss Repository failed. I tried several times; once I was obviously redirected to the NVidia drivers repo at nvidia.com. The "details" view at the bottom of the YaST repositories module says about the libdvdcss repo: >> URL: http://opensuse-guide.org/repo/openSUSE_Leap_15.6/ >> Linked from: https://www.opensuse-community.org/openSUSE_Leap_153_Community_Additional.xml >> Summary: Repository with libdvdcss >> Description: Encrypted DVD support This might be a problem in the load balancer that redirects to one of the mirrors.
Created attachment 875816 [details] y2log from a failed attempt This y2log contains only the program run for this failed "yast2 repositories" run. It's cleaned up for better readability with the 'y2log-clean' script from https://github.com/shundhammer/y2log-util.
>> 22:02:06 <1> [zypp::media] MediaHandler.cc(attach):654 Attached: http://opensuse-guide.org/repo/openSUSE_Leap_15.6// attached; localRoot "/var/tmp/AP_0x1lfnIg" >> 22:02:06 <1> [zypp::media++] MediaManager.cc(checkDesired):155 checkDesired(1): desired (report by zypp::media::NoVerifier) >> 22:02:06 <1> [zypp] repomanagerwf.cc(execute):50 going to probe the repo type at http://opensuse-guide.org/repo/openSUSE_Leap_15.6// () >> 22:02:06 <1> [zypp::media++] MediaCurl.cc(doGetDoesFileExist):985 ./repodata/repomd.xml >> 22:02:06 <1> [zypp::media++] MediaCurl.cc(doGetDoesFileExist):995 URL: http://opensuse-guide.org/repo/openSUSE_Leap_15.6/repodata/repomd.xml >> 22:02:06 <1> [zypp::media] MediaCurl.cc(doGetDoesFileExist):1070 perform code: 22 [ HTTP response code said error ] >> 22:02:06 <5> [zypp-core] Exception.cc(log):202 MediaCurl.cc(evaluateCurlCode):914 THROW: File './repodata/repomd.xml' not found on medium 'http://opensuse-guide.org/repo/openSUSE_Leap_15.6//' >> 22:02:06 <5> [zypp-core] Exception.cc(log):202 mediafacade.cc(provide):272 EXCPTR: File './repodata/repomd.xml' not found on medium 'http://opensuse-guide.org/repo/openSUSE_Leap_15.6//' >> 22:02:06 <1> [zypp::media++] MediaCurl.cc(doGetDoesFileExist):985 ./content >> 22:02:06 <1> [zypp::media++] MediaCurl.cc(doGetDoesFileExist):995 URL: http://opensuse-guide.org/repo/openSUSE_Leap_15.6/content >> 22:02:06 <1> [zypp::media] MediaCurl.cc(doGetDoesFileExist):1070 perform code: 22 [ HTTP response code said error ] >> 22:02:06 <5> [zypp-core] Exception.cc(log):202 MediaCurl.cc(evaluateCurlCode):914 THROW: File './content' not found on medium 'http://opensuse-guide.org/repo/openSUSE_Leap_15.6//' >> 22:02:06 <5> [zypp-core] Exception.cc(log):202 mediafacade.cc(provide):272 EXCPTR: File './content' not found on medium 'http://opensuse-guide.org/repo/openSUSE_Leap_15.6//' >> 22:02:06 <1> [zypp] repomanagerwf.cc(operator()):128 Probed type NONE at http://opensuse-guide.org/repo/openSUSE_Leap_15.6// () >> 22:02:06 <1> [zypp::media++] MediaManager.cc(close):357 Close to access handler using id 1 requested >> 22:02:06 <1> [zypp::media++] MediaHandler.cc(release):714 Request to release attached media http<http://opensuse-guide.org/repo/openSUSE_Leap_15.6//>, use count=1 >> 22:02:06 <1> [zypp::media++] MediaHandler.cc(release):721 Releasing media http<http://opensuse-guide.org/repo/openSUSE_Leap_15.6//> >> 22:02:06 <1> [zypp::media] MediaHandler.cc(disconnect):693 Disconnected: http://opensuse-guide.org/repo/openSUSE_Leap_15.6// attached; localRoot "/var/tmp/AP_0x1lfnIg" >> 22:02:06 <1> [zypp::media++] MediaHandler.cc(removeAttachPoint):150 MediaHandler - checking if to remove attach point >> 22:02:06 <1> [zypp-core] PathInfo.cc(recursive_rmdir):439 recursive_rmdir /var/tmp/AP_0x1lfnIg >> 22:02:06 <1> [zypp::media] MediaHandler.cc(removeAttachPoint):162 Deleted default attach point /var/tmp/AP_0x1lfnIg >> 22:02:06 <1> [zypp::media] MediaHandler.cc(release):775 Released: http://opensuse-guide.org/repo/openSUSE_Leap_15.6// not attached; localRoot "" >> 22:02:06 <1> [zypp::media] MediaManager.cc(close):116 Close: http(http://opensuse-guide.org/repo/openSUSE_Leap_15.6// not attached; localRoot "") (OK) >> 22:02:06 <1> [zypp::media++] MediaHandler.cc(release):707 Request to release media - not attached; eject '' >> 22:02:06 <1> [zypp::media] MediaManager.cc(close):116 Close: http(http://opensuse-guide.org/repo/openSUSE_Leap_15.6// not attached; localRoot "") (OK) >> 22:02:06 <1> [zypp::media++] MediaHandler.cc(release):707 Request to release media - not attached; eject '' >> 22:02:06 <1> [zypp::media++] MediaHandler.cc(removeAttachPoint):150 MediaHandler - checking if to remove attach point >> 22:02:06 <1> [Pkg] Source_Create.cc(RepositoryProbe):818 Detected type: 'NONE'... >> 22:02:06 <1> [Ruby] clients/inst_productsources.rb(CreateSource):1371 Probed repository type: NONE >> 22:02:06 <3> [Ruby] clients/inst_productsources.rb(CreateSource):1407 Adding repository Libdvdcss Repository failed.
Disregard the part about the NVidia drivers; that was probably just me not selecting that line in the table properly, just checking the checkbox.
As for a workaround, I added this repo here just via the URL: https://download.videolan.org/SuSE/15.6/ it contains the complete VLC video player, but also libdvdcss. I decided to give it low priority to only get the libdvdcss package from there and not also replace my VLC from the Leap 15.6 OSS repo.
libzypp maintainers, please have a look what likely went wrong here. IMHO this is either a corrupted repo, or a redirect that went wrong.
Created attachment 875817 [details] /var/log/zypp/history (gzipped)
Note that the community version of libdvdcss2 for openSUSE 15.5 provided by opensuse-guide.org apparently included the same binary provided to 15.4 users: # zypse css2 | python3-tinycss2 | package | 1.0.2-bp155.2.9 | noarch | OSS | python311-tinycss2 | package | 1.2.1-150400.9.3.9 | noarch | UpdateSLE i+ | libdvdcss2 | package | 1.4.3+3-lp154.9.1 | x86_64 | Libdvdcss v | libdvdcss2 | package | 1.4.3-lp155.3.1 | x86_64 | homeEcsosMC # zypper lr | grep css 3 | Libdvdcss | Yes | (r ) Yes | http://opensuse-guide.org/repo/openSUSE_Leap_15.5/ # rpm -q --changelog libdvdcss2 | head * Thu Dec 01 2022 obs-service-tar-scm@invalid - Update to version 1.4.3+3: * tools/csstest: improve debugging info * Typos found by codespell * Move README to README.md * Update NEWS for 1.4.3 * Fix opening non-ASCII paths in Windows * CI: Build developer documentation * CI: Updated to use modern builders * update instructions with modern host targets # I've been using the openSUSE 15.5 repo with my 15.6 installations. In the openSUSE forums users have been being directed to videolan.org to get libdvdcss2.
Possibly related: https://bugzilla.suse.com/show_bug.cgi?id=1218399#c25 libzypp changing the repo type from "NONE" to "N/A". And here I see "NONE" again in the y2log.
Hundhammer from comment #5) > libzypp maintainers, please have a look what likely went wrong here. IMHO > this is either a corrupted repo, or a redirect that went wrong. # curl http://opensuse-guide.org/repo/openSUSE_Leap_15.6/repodata/repomd.xml <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL was not found on this server.</p> </body></html> AFAICS there is no repo at this location.
These are outside of openSUSE project control. I usually only talk to folks behind https://www.opensuse-community.org/openSUSE_Leap_156_Community_Additional.xml
Email sent to friends behind the site.
Fixed. zypper addrepo -f http://opensuse-guide.org/repo/openSUSE_Leap_15.6 dvd-repo zypper install libdvdcss