Jackrats 4 Posted November 20, 2014 Share Posted November 20, 2014 Looks like there are some problems with the CentOS package and repo. When installing the repo rpm: [root@www ~]# rpm -i https://github.com/MediaBrowser/MediaBrowser.Releases/raw/master/Repository/MediaBrowserServer-repositories.noarch.rpm warning: /var/tmp/rpm-tmp.3YTXdu: Header V3 RSA/SHA1 Signature, key ID e99827de: NOKEY /var/tmp/rpm-tmp.wCB6on: line 2: /etc/os-release: No such file or directory warning: %post(MediaBrowserServer-repositories-1-15.1.noarch) scriptlet failed, exit status 1 My CentOS 6.5 doesn't have an /etc/os-release file. And then the URL in the repo file for the dependencies doesn't seem to exist. http://download.opensuse.org/repositories/home%3A/jose-pr%3A/MediaBrowserServer-Dependancies/customRepository/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: MediaBrowserServer-Dependancies. Please verify its path and try again Looks like the last element in the path should be "CentOS_6" (in my case) but is coming up as "customRepository". Perhaps the repo RPM is expecting to populate this based on the os-release file that wasn't found. One thing to note however is it's considered bad form to hardcode the CentOS release in a repo file. Note the "what not do do" at the bottom of this page: http://wiki.centos.org/AdditionalResources/Repositories I've changed the path and it's all installing from there. The download is fairly slow from opensuse for some reason though. Link to comment Share on other sites More sharing options...
Luke 37994 Posted November 20, 2014 Share Posted November 20, 2014 Thanks. When Jose sees this I'm sure he'll take care of it and possibly collaborate with you on it. Link to comment Share on other sites More sharing options...
jose 73 Posted November 20, 2014 Share Posted November 20, 2014 I will take a look into that it should default to Fedora_20 which still has all the packages there, but from what I understand 6.5 and below don't use systemd so you may not be able to start it as a service i have to create a System V script and i haven't yet, need to create a CentOS 6 vm to test that. You should still be able to start the server with the start script. Link to comment Share on other sites More sharing options...
Jackrats 4 Posted November 20, 2014 Author Share Posted November 20, 2014 No worries, I might be able to cook up an init.d script once I get things running. I started an Ubuntu VM to host MBS but I'd much rather run it on CentOS to keep my environment consistent. The MBS package client keeps timing out however -- the download slows down to 1 Byte per second and aborts as "Too slow". Once I get things running, I'll take a stab at an init script. For the repo layout, usually in CentOS it's layed out like so: ....whatever..../CentOS/6/ ...whatever.../CentOS/5/ ...whatever.../CentOS/7/ And then in the repo file: http://blahblah.com/...whatever.../CentOS/$releasever/$basearch And some references for identifying releasever, basearch, etc if needed in the install process: http://stackoverflow.com/questions/20988371/linux-bash-get-releasever-and-basearch-values Link to comment Share on other sites More sharing options...
jose 73 Posted November 20, 2014 Share Posted November 20, 2014 At the momment that rpm installer is the same one for all distributions, it chooses between CentOS or Fedora on the post install script as that value needs to be hardcoded there is no variable for the distribution name on yum, I will add the %releasesever to the repo file. Link to comment Share on other sites More sharing options...
Jackrats 4 Posted November 20, 2014 Author Share Posted November 20, 2014 Thanks Jose. BTW, thanks for all your efforts bringing MBS to Linux. The place I was noticing the CentOS vs Fedora (and others) was on the dependencies repo. Also, fairly sure this is the systemd expectation that you had already mentioned but figured I'd just post it here in case others run into it: /var/tmp/rpm-tmp.iXE02q: line 2: systemctl: command not foundwarning: %post(MediaBrowserServer-3.0.5424.1-Stable.43.1.noarch) scriptlet failed, exit status 127 Link to comment Share on other sites More sharing options...
jose 73 Posted November 20, 2014 Share Posted November 20, 2014 YEs only the dependencies repo is build per distribution the other ones are for the server which is just placing folders and some scripts that are distro independent. there is a systemctl daemon-reload as a post script even though you may get that error it should still install everything else. I will make a check to see if the command is there beofre executing it, was planning to add that when i actually had other services scripts beside systemd prepared Link to comment Share on other sites More sharing options...
harley22 0 Posted November 20, 2014 Share Posted November 20, 2014 I'm having an issue installing mediabrowser on centos 6.5 (64bit). Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package MediaBrowserServer.noarch 0:3.0.5424.1-Stable.44.1 will be installed --> Processing Dependency: mono-devel > 3.2.7 for package: MediaBrowserServer-3.0.5424.1-Stable.44.1.noarch --> Processing Dependency: libgdiplus > 3.0.0 for package: MediaBrowserServer-3.0.5424.1-Stable.44.1.noarch --> Processing Dependency: sqlite >= 3.8.2 for package: MediaBrowserServer-3.0.5424.1-Stable.44.1.noarch --> Processing Dependency: libwebp >= 0.4.1 for package: MediaBrowserServer-3.0.5424.1-Stable.44.1.noarch --> Running transaction check ---> Package libgdiplus.x86_64 0:2.10-11.sdl6 will be updated --> Processing Dependency: libgdiplus = 2.10-11.sdl6 for package: libgdiplus-devel-2.10-11.sdl6.x86_64 ---> Package libgdiplus.x86_64 0:3.8-5.1 will be an update --> Processing Dependency: libtiff.so.5(LIBTIFF_4.0)(64bit) for package: libgdiplus-3.8-5.1.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: libgdiplus-3.8-5.1.x86_64 --> Processing Dependency: libpng16.so.16(PNG16_0)(64bit) for package: libgdiplus-3.8-5.1.x86_64 --> Processing Dependency: libtiff.so.5()(64bit) for package: libgdiplus-3.8-5.1.x86_64 --> Processing Dependency: libpng16.so.16()(64bit) for package: libgdiplus-3.8-5.1.x86_64 ---> Package libwebp5.x86_64 0:0.4.1-8.1 will be installed --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: libwebp5-0.4.1-8.1.x86_64 ---> Package mono-opt-devel.x86_64 0:3.10.0-2.2 will be installed --> Processing Dependency: mono-opt = 3.10.0 for package: mono-opt-devel-3.10.0-2.2.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: mono-opt-devel-3.10.0-2.2.x86_64 --> Processing Dependency: libmono-profiler-log.so.0()(64bit) for package: mono-opt-devel-3.10.0-2.2.x86_64 --> Processing Dependency: libmonoboehm-2.0.so.1()(64bit) for package: mono-opt-devel-3.10.0-2.2.x86_64 --> Processing Dependency: libmono-profiler-iomap.so.0()(64bit) for package: mono-opt-devel-3.10.0-2.2.x86_64 --> Processing Dependency: libmono-profiler-cov.so.0()(64bit) for package: mono-opt-devel-3.10.0-2.2.x86_64 --> Processing Dependency: libmonosgen-2.0.so.1()(64bit) for package: mono-opt-devel-3.10.0-2.2.x86_64 --> Processing Dependency: libmono-profiler-aot.so.0()(64bit) for package: mono-opt-devel-3.10.0-2.2.x86_64 ---> Package sqlite.i686 0:3.6.20-1.el6 will be updated --> Processing Dependency: sqlite = 3.6.20-1.el6 for package: sqlite-devel-3.6.20-1.el6.x86_64 ---> Package sqlite.x86_64 0:3.6.20-1.el6 will be updated ---> Package sqlite.i686 0:3.8.2-2.1 will be an update ---> Package sqlite.x86_64 0:3.8.2-2.1 will be an update --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: sqlite-3.8.2-2.1.x86_64 --> Running transaction check ---> Package libgdiplus.x86_64 0:2.10-11.sdl6 will be updated --> Processing Dependency: libgdiplus = 2.10-11.sdl6 for package: libgdiplus-devel-2.10-11.sdl6.x86_64 ---> Package libgdiplus.x86_64 0:3.8-5.1 will be an update --> Processing Dependency: libtiff.so.5(LIBTIFF_4.0)(64bit) for package: libgdiplus-3.8-5.1.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: libgdiplus-3.8-5.1.x86_64 --> Processing Dependency: libtiff.so.5()(64bit) for package: libgdiplus-3.8-5.1.x86_64 ---> Package libpng16-16.x86_64 0:1.6.13-67.1 will be installed --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: libpng16-16-1.6.13-67.1.x86_64 ---> Package libwebp5.x86_64 0:0.4.1-8.1 will be installed --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: libwebp5-0.4.1-8.1.x86_64 ---> Package mono-opt.x86_64 0:3.10.0-2.2 will be installed --> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: mono-opt-3.10.0-2.2.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mono-opt-3.10.0-2.2.x86_64 ---> Package mono-opt-devel.x86_64 0:3.10.0-2.2 will be installed --> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: mono-opt-devel-3.10.0-2.2.x86_64 ---> Package sqlite.x86_64 0:3.8.2-2.1 will be an update --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: sqlite-3.8.2-2.1.x86_64 ---> Package sqlite-devel.x86_64 0:3.6.20-1.el6 will be updated ---> Package sqlite-devel.x86_64 0:3.8.2-2.1 will be an update --> Finished Dependency Resolution Error: Package: mono-opt-devel-3.10.0-2.2.x86_64 (MediaBrowserServer-Dependancies) Requires: libc.so.6(GLIBC_2.15)(64bit) Error: Package: libwebp5-0.4.1-8.1.x86_64 (MediaBrowserServer-Dependancies) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: libpng16-16-1.6.13-67.1.x86_64 (MediaBrowserServer-Dependancies) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: libgdiplus-3.8-5.1.x86_64 (MediaBrowserServer-Dependancies) Requires: libtiff.so.5()(64bit) Error: Package: sqlite-3.8.2-2.1.x86_64 (MediaBrowserServer-Dependancies) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: libgdiplus-3.8-5.1.x86_64 (MediaBrowserServer-Dependancies) Requires: libtiff.so.5(LIBTIFF_4.0)(64bit) Error: Package: mono-opt-3.10.0-2.2.x86_64 (MediaBrowserServer-Dependancies) Requires: libc.so.6(GLIBC_2.15)(64bit) Error: Package: libgdiplus-devel-2.10-11.sdl6.x86_64 (@PUIAS_6_computational) Requires: libgdiplus = 2.10-11.sdl6 Removing: libgdiplus-2.10-11.sdl6.x86_64 (@PUIAS_6_computational) libgdiplus = 2.10-11.sdl6 Updated By: libgdiplus-3.8-5.1.x86_64 (MediaBrowserServer-Dependancies) libgdiplus = 3.8-5.1 Available: libgdiplus-2.10-1.el6.i686 (epel) libgdiplus = 2.10-1.el6 Available: libgdiplus-2.10.9-3.1.i686 (home_tpokorra_mono) libgdiplus = 2.10.9-3.1 Error: Package: libgdiplus-3.8-5.1.x86_64 (MediaBrowserServer-Dependancies) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: mono-opt-3.10.0-2.2.x86_64 (MediaBrowserServer-Dependancies) Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest I believe that centos comes with glibc_2.12 but 14 is required, should/could i upgrade my glibc? Link to comment Share on other sites More sharing options...
jose 73 Posted November 21, 2014 Share Posted November 21, 2014 I will have to try to unstall it in centos 6 but I am going on vacation next week so I will check after that. Can you check your .repo file in /etc/yum.repos.d/Media... see what is the link for the dependandies repo if it says fedora 20 switch it to CentOS_6 Link to comment Share on other sites More sharing options...
jose 73 Posted November 21, 2014 Share Posted November 21, 2014 I'm having an issue installing mediabrowser on centos 6.5 (64bit). Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package MediaBrowserServer.noarch 0:3.0.5424.1-Stable.44.1 will be installed --> Processing Dependency: mono-devel > 3.2.7 for package: MediaBrowserServer-3.0.5424.1-Stable.44.1.noarch --> Processing Dependency: libgdiplus > 3.0.0 for package: MediaBrowserServer-3.0.5424.1-Stable.44.1.noarch --> Processing Dependency: sqlite >= 3.8.2 for package: MediaBrowserServer-3.0.5424.1-Stable.44.1.noarch --> Processing Dependency: libwebp >= 0.4.1 for package: MediaBrowserServer-3.0.5424.1-Stable.44.1.noarch --> Running transaction check ---> Package libgdiplus.x86_64 0:2.10-11.sdl6 will be updated --> Processing Dependency: libgdiplus = 2.10-11.sdl6 for package: libgdiplus-devel-2.10-11.sdl6.x86_64 ---> Package libgdiplus.x86_64 0:3.8-5.1 will be an update --> Processing Dependency: libtiff.so.5(LIBTIFF_4.0)(64bit) for package: libgdiplus-3.8-5.1.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: libgdiplus-3.8-5.1.x86_64 --> Processing Dependency: libpng16.so.16(PNG16_0)(64bit) for package: libgdiplus-3.8-5.1.x86_64 --> Processing Dependency: libtiff.so.5()(64bit) for package: libgdiplus-3.8-5.1.x86_64 --> Processing Dependency: libpng16.so.16()(64bit) for package: libgdiplus-3.8-5.1.x86_64 ---> Package libwebp5.x86_64 0:0.4.1-8.1 will be installed --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: libwebp5-0.4.1-8.1.x86_64 ---> Package mono-opt-devel.x86_64 0:3.10.0-2.2 will be installed --> Processing Dependency: mono-opt = 3.10.0 for package: mono-opt-devel-3.10.0-2.2.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: mono-opt-devel-3.10.0-2.2.x86_64 --> Processing Dependency: libmono-profiler-log.so.0()(64bit) for package: mono-opt-devel-3.10.0-2.2.x86_64 --> Processing Dependency: libmonoboehm-2.0.so.1()(64bit) for package: mono-opt-devel-3.10.0-2.2.x86_64 --> Processing Dependency: libmono-profiler-iomap.so.0()(64bit) for package: mono-opt-devel-3.10.0-2.2.x86_64 --> Processing Dependency: libmono-profiler-cov.so.0()(64bit) for package: mono-opt-devel-3.10.0-2.2.x86_64 --> Processing Dependency: libmonosgen-2.0.so.1()(64bit) for package: mono-opt-devel-3.10.0-2.2.x86_64 --> Processing Dependency: libmono-profiler-aot.so.0()(64bit) for package: mono-opt-devel-3.10.0-2.2.x86_64 ---> Package sqlite.i686 0:3.6.20-1.el6 will be updated --> Processing Dependency: sqlite = 3.6.20-1.el6 for package: sqlite-devel-3.6.20-1.el6.x86_64 ---> Package sqlite.x86_64 0:3.6.20-1.el6 will be updated ---> Package sqlite.i686 0:3.8.2-2.1 will be an update ---> Package sqlite.x86_64 0:3.8.2-2.1 will be an update --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: sqlite-3.8.2-2.1.x86_64 --> Running transaction check ---> Package libgdiplus.x86_64 0:2.10-11.sdl6 will be updated --> Processing Dependency: libgdiplus = 2.10-11.sdl6 for package: libgdiplus-devel-2.10-11.sdl6.x86_64 ---> Package libgdiplus.x86_64 0:3.8-5.1 will be an update --> Processing Dependency: libtiff.so.5(LIBTIFF_4.0)(64bit) for package: libgdiplus-3.8-5.1.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: libgdiplus-3.8-5.1.x86_64 --> Processing Dependency: libtiff.so.5()(64bit) for package: libgdiplus-3.8-5.1.x86_64 ---> Package libpng16-16.x86_64 0:1.6.13-67.1 will be installed --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: libpng16-16-1.6.13-67.1.x86_64 ---> Package libwebp5.x86_64 0:0.4.1-8.1 will be installed --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: libwebp5-0.4.1-8.1.x86_64 ---> Package mono-opt.x86_64 0:3.10.0-2.2 will be installed --> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: mono-opt-3.10.0-2.2.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mono-opt-3.10.0-2.2.x86_64 ---> Package mono-opt-devel.x86_64 0:3.10.0-2.2 will be installed --> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: mono-opt-devel-3.10.0-2.2.x86_64 ---> Package sqlite.x86_64 0:3.8.2-2.1 will be an update --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: sqlite-3.8.2-2.1.x86_64 ---> Package sqlite-devel.x86_64 0:3.6.20-1.el6 will be updated ---> Package sqlite-devel.x86_64 0:3.8.2-2.1 will be an update --> Finished Dependency Resolution Error: Package: mono-opt-devel-3.10.0-2.2.x86_64 (MediaBrowserServer-Dependancies) Requires: libc.so.6(GLIBC_2.15)(64bit) Error: Package: libwebp5-0.4.1-8.1.x86_64 (MediaBrowserServer-Dependancies) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: libpng16-16-1.6.13-67.1.x86_64 (MediaBrowserServer-Dependancies) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: libgdiplus-3.8-5.1.x86_64 (MediaBrowserServer-Dependancies) Requires: libtiff.so.5()(64bit) Error: Package: sqlite-3.8.2-2.1.x86_64 (MediaBrowserServer-Dependancies) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: libgdiplus-3.8-5.1.x86_64 (MediaBrowserServer-Dependancies) Requires: libtiff.so.5(LIBTIFF_4.0)(64bit) Error: Package: mono-opt-3.10.0-2.2.x86_64 (MediaBrowserServer-Dependancies) Requires: libc.so.6(GLIBC_2.15)(64bit) Error: Package: libgdiplus-devel-2.10-11.sdl6.x86_64 (@PUIAS_6_computational) Requires: libgdiplus = 2.10-11.sdl6 Removing: libgdiplus-2.10-11.sdl6.x86_64 (@PUIAS_6_computational) libgdiplus = 2.10-11.sdl6 Updated By: libgdiplus-3.8-5.1.x86_64 (MediaBrowserServer-Dependancies) libgdiplus = 3.8-5.1 Available: libgdiplus-2.10-1.el6.i686 (epel) libgdiplus = 2.10-1.el6 Available: libgdiplus-2.10.9-3.1.i686 (home_tpokorra_mono) libgdiplus = 2.10.9-3.1 Error: Package: libgdiplus-3.8-5.1.x86_64 (MediaBrowserServer-Dependancies) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: mono-opt-3.10.0-2.2.x86_64 (MediaBrowserServer-Dependancies) Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest I believe that centos comes with glibc_2.12 but 14 is required, should/could i upgrade my glibc? I have test this on CentOS 6.5 and a fix is on the way, a new build of the repository package is building sudo yum clean all sudo yum update MediaBrowserServer-repositories should fix the .repo file Link to comment Share on other sites More sharing options...
jose 73 Posted November 21, 2014 Share Posted November 21, 2014 Also to run the server this command should work: #TO run as user MediaBrowserServer sudo su -s "/bin/bash" -c "/opt/MediaBrowser/MediaBrowserServer/start.sh" MediaBrowserServer #TO run as any other user add user to the media group and be sure the sure can create files in /var/opt/MediaBrowser/MediaBrowserServer/ in my case i had to log out and log in again. and run the command /opt/MediaBrowser/MediaBrowserServer/start.sh #To specify another folder for the server data create/modify ~/.MediaBrowser/MediaBrowserServer/MediaBrowserServer.cfg and example to create this file and add a path to it is. mkdir -p ~/.MediaBrowser/MediaBrowserServer echo "program_data_path="$HOME/.MediaBrowser/MediaBrowserServer" > ~/.MediaBrowser/MediaBrowserServer/MediaBrowserServer.cfg Link to comment Share on other sites More sharing options...
sseeker 0 Posted November 24, 2014 Share Posted November 24, 2014 I will have to try to unstall it in centos 6 but I am going on vacation next week so I will check after that. Can you check your .repo file in /etc/yum.repos.d/Media... see what is the link for the dependandies repo if it says fedora 20 switch it to CentOS_6 Hi Jose, Just letting you know that http://download.opensuse.org/repositories/home%3A/jose-pr%3A/MediaBrowserServer/CentOS_6/ does not exist. I take it something that you're working on? Thanks, Andrew Link to comment Share on other sites More sharing options...
jose 73 Posted November 24, 2014 Share Posted November 24, 2014 The new repo package should install the correct repo file. Be sure to to a yum update MediaBrowserServer-repositories to get the latest one. There is no centos 6 for the server only fo the dependencies repo which is a diferrent one, so you can enable or disable it . The server is the fedora 20 for all rpm distros as the build is the same follow the steps in the fedora post or the download and it should work as I did make a cent os 6.6 vm and it worked Link to comment Share on other sites More sharing options...
jose 73 Posted November 24, 2014 Share Posted November 24, 2014 The file should look something like this[MediaBrowserServer] name=Media Browser Server is a home media server built on top of other popular open source technologies such as Service Stack, jQuery, jQuery mobile, and Mono. type=rpm-md baseurl=http://download.opensuse.org/repositories/home:/jose-pr:/MediaBrowserServer/Fedora_20/ gpgcheck=1 gpgkey=http://download.opensuse.org/repositories/home:/jose-pr:/MediaBrowserServer/Fedora_20/repodata/repomd.xml.key enabled=1 [MediaBrowserServer-Beta] name=home:jose-pr:MediaBrowserServer-Beta type=rpm-md baseurl=http://download.opensuse.org/repositories/home:/jose-pr:/MediaBrowserServer-Beta/Fedora_20/ gpgcheck=1 gpgkey=http://download.opensuse.org/repositories/home:/jose-pr:/MediaBrowserServer-Beta/Fedora_20/repodata/repomd.xml.key enabled=0 [MediaBrowserServer-Dev] name=MediaBrowserServer-Dev type=rpm-md baseurl=http://download.opensuse.org/repositories/home:/jose-pr:/MediaBrowserServer-Dev/Fedora_20/ gpgcheck=1 gpgkey=http://download.opensuse.org/repositories/home:/jose-pr:/MediaBrowserServer-Dev/Fedora_20/repodata/repomd.xml.key enabled=0 [MediaBrowserServer-Dependancies] name=MediaBrowserServer-Dependancies type=rpm-md baseurl=http://download.opensuse.org/repositories/home:/jose-pr:/MediaBrowserServer-Dependancies/CentOS_$releasever/ gpgcheck=1 gpgkey=http://download.opensuse.org/repositories/home:/jose-pr:/MediaBrowserServer-Dependancies/CentOS_$releasever/repodata/repomd.xml.key enabled=0 Link to comment Share on other sites More sharing options...
sseeker 0 Posted November 24, 2014 Share Posted November 24, 2014 Hi Jose, Thanks for the fast reply. Turns out my repository file was setup incorrectly. For the dependancies the gpgkey URL was set to ...._$releasever..... it wasn't prefixed with CentOS* therefore I was getting errors like "http://download.opensuse.org/repositories/home%3A/jose-pr%3A/MediaBrowserServer-Dependancies/_6/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"" when trying to yum update. All I did was manually write CentOS_6 into the gpgkey URL to complete it, rather than relying on automatic population. Cheers, Andrew Link to comment Share on other sites More sharing options...
jose 73 Posted November 25, 2014 Share Posted November 25, 2014 I have to check that maybe I left something imcomplete in the link. Link to comment Share on other sites More sharing options...
jose 73 Posted November 25, 2014 Share Posted November 25, 2014 Was the gpg key the only one? Had you updated to the latest repo package. [MediaBrowserServer-Dependancies] name=MediaBrowserServer-Dependancies (customRepository_$releasever) type=rpm-md baseurl=http://download.opensuse.org/repositories/home:/jose-pr:/MediaBrowserServer-Dependancies/customRepository_$releasever/ gpgcheck=1 gpgkey=http://download.opensuse.org/repositories/home:/jose-pr:/MediaBrowserServer-Dependancies/customRepository_$releasever/repodata/repomd.xml.key enabled=0 It should have looked similar to this but instead of customrepository said centos Link to comment Share on other sites More sharing options...
sseeker 0 Posted November 25, 2014 Share Posted November 25, 2014 (edited) Hi Jose, It was just the gpgkey. I had literally just downloaded the media browser repo and had to alter that. I haven't updated since I made my first post however installing MediaBrowserServer works via yum however installing MediaBrowerServer-Dev doesn't, any ideas? Cheers,Andrew EDIT: Apologies for my ignorance. For those wishing to install a Dev or Beta build simply disable the base repo by typing sudo yum-config-manager --disable MediaBrowserServer then issue sudo yum-config-manager --enable MediaBrowserServer-Dev OR -Beta follow that with a standard yum install MediaBrowserServer Edited November 25, 2014 by sseeker Link to comment Share on other sites More sharing options...
jose 73 Posted November 25, 2014 Share Posted November 25, 2014 Dev is a work in progress at the momment also as the version is only master yum sees it as lower than the actual version and wont update to it you would have to force itto use the master version. You can try rmabling beta as that one was just updated today i will see what i can do to beter implement dev. Also it weems i had disable the repo package so it wasnt installing the newer version which fixed some of tjose problems. I re enabled it so it should be working fine now. Link to comment Share on other sites More sharing options...
thefuzz4 2 Posted December 26, 2014 Share Posted December 26, 2014 (edited) So on a fresh install of CentOS7 I am having the issue where the repository keeps trying to use OpenSuse in the repo URL instead of the correct CentOS one. I'm attempting to manually update the file but it keeps getting overwritten. Any advice on how I can get this loaded? Thanks. EDIT: So turns out that the URL is correct I just need to figure out why my server keeps throwing a 404 at me. Will update as I continue my investigation Edited December 26, 2014 by thefuzz4 Link to comment Share on other sites More sharing options...
thefuzz4 2 Posted December 26, 2014 Share Posted December 26, 2014 So it seems like the OpenSuse mirrors are repointing me to ftp.utexas.edu and well when you go there with this URL http://download.opensuse.org/repositories/home:/jose-pr:/MediaBrowserServer/Fedora_20/repodata/c1f18d8aa71afe8c77653bed7909ea5f2b60c671bdc51b1399f2383b5997f43b-primary.xml.gz They throw back a 404 so I'm not really sure how to get around this because that path does not exist on their server This is the URL I'm being sent to http://ftp.utexas.edu/opensuse/repositories/home:/jose-pr:/MediaBrowserServer/Fedora_20/repodata/c1f18d8aa71afe8c77653bed7909ea5f2b60c671bdc51b1399f2383b5997f43b-primary.xml.gz I've tried to cheat it and plug it into my /etc/hosts and also my local DNS to just point to another mirror for ftp.utexas.edu but no luck Link to comment Share on other sites More sharing options...
jose 73 Posted January 2, 2015 Share Posted January 2, 2015 So it seems like the OpenSuse mirrors are repointing me to ftp.utexas.edu and well when you go there with this URL http://download.opensuse.org/repositories/home:/jose-pr:/MediaBrowserServer/Fedora_20/repodata/c1f18d8aa71afe8c77653bed7909ea5f2b60c671bdc51b1399f2383b5997f43b-primary.xml.gz They throw back a 404 so I'm not really sure how to get around this because that path does not exist on their server This is the URL I'm being sent to http://ftp.utexas.edu/opensuse/repositories/home:/jose-pr:/MediaBrowserServer/Fedora_20/repodata/c1f18d8aa71afe8c77653bed7909ea5f2b60c671bdc51b1399f2383b5997f43b-primary.xml.gz I've tried to cheat it and plug it into my /etc/hosts and also my local DNS to just point to another mirror for ftp.utexas.edu but no luck Have you checked again, i just tried the link and it worked. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now