Bug 1227254 - Community Repo libdvdcss Can't be Added
Summary: Community Repo libdvdcss Can't be Added
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Other (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: Leap 15.6
Assignee: Lubos Kocman
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-01 19:45 UTC by Stefan Hundhammer
Modified: 2024-07-09 17:58 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Screenshot: YaST repositories when adding a community repo (101.54 KB, image/png)
2024-07-01 19:45 UTC, Stefan Hundhammer
Details
y2log from a failed attempt (177.37 KB, text/x-log)
2024-07-01 20:06 UTC, Stefan Hundhammer
Details
/var/log/zypp/history (gzipped) (279.09 KB, application/gzip)
2024-07-01 20:21 UTC, Stefan Hundhammer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Hundhammer 2024-07-01 19:45:50 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.
Comment 1 Stefan Hundhammer 2024-07-01 20:06:13 UTC
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.
Comment 2 Stefan Hundhammer 2024-07-01 20:07:35 UTC
>> 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.
Comment 3 Stefan Hundhammer 2024-07-01 20:08:50 UTC
Disregard the part about the NVidia drivers; that was probably just me not selecting that line in the table properly, just checking the checkbox.
Comment 4 Stefan Hundhammer 2024-07-01 20:11:46 UTC
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.
Comment 5 Stefan Hundhammer 2024-07-01 20:18:38 UTC
libzypp maintainers, please have a look what likely went wrong here. IMHO this is either a corrupted repo, or a redirect that went wrong.
Comment 6 Stefan Hundhammer 2024-07-01 20:21:50 UTC
Created attachment 875817 [details]
/var/log/zypp/history (gzipped)
Comment 7 Felix Miata 2024-07-01 21:38:34 UTC
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.
Comment 8 Stefan Hundhammer 2024-07-02 07:20:29 UTC
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.
Comment 9 Michael Andres 2024-07-03 09:29:05 UTC
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.
Comment 10 Lubos Kocman 2024-07-08 14:15:06 UTC
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
Comment 11 Lubos Kocman 2024-07-08 14:21:46 UTC
Email sent to friends behind the site.
Comment 12 Martin Schlander 2024-07-09 17:58:40 UTC
Fixed.

zypper addrepo -f http://opensuse-guide.org/repo/openSUSE_Leap_15.6 dvd-repo

zypper install libdvdcss