Learn about Centmin Mod LEMP Stack today
Become a Member

Error getting repository data for city-fan.org, repository not found

Discussion in 'Install & Upgrades or Pre-Install Questions' started by EckyBrazzz, Jul 13, 2019 at 10:22 AM.

Tags:
  1. EckyBrazzz

    EckyBrazzz Active Member

    462
    94
    28
    Mar 28, 2018
    Brazil
    Ratings:
    +175
    Local Time:
    9:19 AM
    1.17.x
    10.3.x
    Just did a recompile and for once I selected yes to YUM and got this result.
    I don't know where I got this one, is it normal or not.

    If not, how to get rid of it?

    Code (Text):
    custom RPM installs
    HTTP/1.1 404 Not Found
    Date: Sat, 13 Jul 2019 00:12:17 GMT
    Server: Apache/2.4.39 (Fedora) OpenSSL/1.1.1b mod_fcgid/2.3.9 SVN/1.12.0
    Content-Type: text/html; charset=iso-8859-1
    
    curl: (22) The requested URL returned error: 404 Not Found
    error: skipping http://mirror.city-fan.org/ftp/contrib/yum-repo/rhel7/x86_64/city-fan.org-release-1-13.rhel7.noarch.rpm - transfer failed
    Retrieving http://mirror.city-fan.org/ftp/contrib/yum-repo/rhel7/x86_64/city-fan.org-release-1-13.rhel7.noarch.rpm
    sed: can't read /etc/yum.repos.d/city-fan.org.repo: No such file or directory
    Loaded plugins: fastestmirror, versionlock
    
    
    Error getting repository data for city-fan.org, repository not found
    
    curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.36 zlib/1.2.7 libidn/1.28 libssh2/1.4.3
    Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
    Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets
    

     
  2. eva2000

    eva2000 Administrator Staff Member

    40,624
    9,016
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,883
    Local Time:
    10:19 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    did you enable CUSTOM_CURLRPM='y' in persistent config file /etc/centminmod/custom_config.inc ? should be only time that is triggered or when running addons/customcurl.sh

    for now if /etc/yum.repos.d/city-fan.org.repo file is created, delete it as seems the yum repo is broken on their end
     
  3. EckyBrazzz

    EckyBrazzz Active Member

    462
    94
    28
    Mar 28, 2018
    Brazil
    Ratings:
    +175
    Local Time:
    9:19 AM
    1.17.x
    10.3.x
    Yes I had CUSTOM_CURLRPM='y' in persistent config file /etc/centminmod/custom_config.inc, disabled it by placing a hash

    Running a Yum update now gives a little error that it can't find timedhosts.txt
    Code (Text):
    custom RPM installs
    ....
    ....
    cp: cannot stat ‘/var/cache/yum/timedhosts.txt’: No such file or directory
    -rw-r--r-- 1 root root 58K Jul 13 01:19 /root/centminlogs/centminmod_yumtimes_130719-011807.log
    


    But the city-fan.org.repo... Can't find it. These are in the /etc/yum.repos.d/ Guess case is resolved by hashing out the CUSTOM_CURLRPM='y'
    Code (Text):
    ls -lah
    total 180K
    drwxr-xr-x.  2 root root 4.0K Jul 13 00:17 .
    drwxr-xr-x. 97 root root 8.0K Jul 13 00:18 ..
    -rw-r--r--.  1 root root 1.7K Jun 23 15:58 CentOS-Base.OLD
    -rw-r--r--.  1 root root 1.7K Jun 23 15:58 CentOS-Base.repo
    -rw-r--r--.  1 root root 1.3K Jun 23 15:58 CentOS-CR.OLD
    -rw-r--r--.  1 root root 1.3K Jun 23 15:58 CentOS-CR.repo
    -rw-r--r--.  1 root root  649 Nov 23  2018 CentOS-Debuginfo.repo
    -rw-r--r--.  1 root root  314 Nov 23  2018 CentOS-fasttrack.repo
    -rw-r--r--.  1 root root  630 Nov 23  2018 CentOS-Media.repo
    -rw-r--r--.  1 root root  998 Dec 11  2018 CentOS-SCLo-scl.repo
    -rw-r--r--.  1 root root  971 Oct 29  2018 CentOS-SCLo-scl-rh.repo
    -rw-r--r--.  1 root root 1.3K Nov 23  2018 CentOS-Sources.repo
    -rw-r--r--.  1 root root 5.6K Nov 23  2018 CentOS-Vault.repo
    -rw-r--r--.  1 root root  291 Jun 23 15:39 digitalocean-agent.repo
    -rw-r--r--.  1 root root 1.1K Jun 23 15:58 epel.OLD
    -rw-r--r--.  1 root root 1.1K Jun 23 15:58 epel.repo
    -rw-r--r--.  1 root root 1.1K Oct  2  2017 epel-testing.repo
    -rw-r--r--.  1 root root  169 Jun 23 16:04 mariadb.repo
    -rw-r--r--   1 root root  693 Jul 13 00:11 mirrors-rpmforge
    -rw-r--r--   1 root root  673 Jul 13 00:11 mirrors-rpmforge-extras
    -rw-r--r--   1 root root  673 Jul 12 23:39 mirrors-rpmforge-extras.rpmsave
    -rw-r--r--   1 root root  693 Jul 12 23:39 mirrors-rpmforge.rpmsave
    -rw-r--r--   1 root root  683 Jul 13 00:11 mirrors-rpmforge-testing
    -rw-r--r--   1 root root  683 Jul 12 23:39 mirrors-rpmforge-testing.rpmsave
    -rw-r--r--.  1 root root  780 Jun 23 15:58 percona-original-release.repo
    -rw-r--r--.  1 root root  446 Mar  8 07:34 remi-glpi91.repo
    -rw-r--r--.  1 root root  446 Mar  8 07:34 remi-glpi92.repo
    -rw-r--r--.  1 root root  446 Mar  8 07:34 remi-glpi93.repo
    -rw-r--r--.  1 root root  446 Mar  8 07:34 remi-glpi94.repo
    -rw-r--r--.  1 root root  855 Mar  8 07:34 remi-modular.repo
    -rw-r--r--.  1 root root 2.3K Dec  9  2015 remi.OLD
    -rw-r--r--.  1 root root  456 Mar  8 07:34 remi-php54.repo
    -rw-r--r--.  1 root root 1.3K Mar  8 07:34 remi-php70.repo
    -rw-r--r--.  1 root root 1.3K Mar  8 07:34 remi-php71.repo
    -rw-r--r--.  1 root root 1.3K Mar  8 07:34 remi-php72.repo
    -rw-r--r--.  1 root root 1.3K Mar  8 07:34 remi-php73.repo
    -rw-r--r--.  1 root root 2.4K Jun 23 15:58 remi.repo
    -rw-r--r--.  1 root root 2.6K Mar  8 07:34 remi.repo.rpmnew
    -rw-r--r--   1 root root  449 Jul 13 00:17 remi-safe.repo
    -rw-r--r--.  1 root root  750 Mar  8 07:34 remi-safe.repo.rpmnew
    -rw-r--r--   1 root root 1.2K Jun 12  2014 rpmforge.OLD
    -rw-r--r--   1 root root 1.2K Jul 13 00:11 rpmforge.repo
    
     
    Last edited: Jul 13, 2019 at 11:22 AM
    style="display:inline-block;min-width:400px;max-width:970px;width:95%;height:90px" data-ad-client="ca-pub-6669518204467592" data-ad-slot="4024536743" data-ad-format="auto">
  4. eva2000

    eva2000 Administrator Staff Member

    40,624
    9,016
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,883
    Local Time:
    10:19 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    try just
    Code (Text):
    yum clean all
     
    • Informative Informative x 1
  5. EckyBrazzz

    EckyBrazzz Active Member

    462
    94
    28
    Mar 28, 2018
    Brazil
    Ratings:
    +175
    Local Time:
    9:19 AM
    1.17.x
    10.3.x
    The little error remains, guess that aint a problem
    Code (Text):
    cp: cannot stat ‘/var/cache/yum/timedhosts.txt’: No such file or directory

    Your suggestion did some cleaning
    Code (Text):
    yum clean all
    Loaded plugins: fastestmirror, priorities, versionlock
    Cleaning repos: base centos-sclo-rh centos-sclo-sclo digitalocean-agent epel extras mariadb percona-release-x86_64 rpmforge updates
    Cleaning up list of fastest mirrors
    Other repos take up 15 M of disk space (use --verbose for details)
    

    The /etc/yum.repos.d/ keeps the same. No problem. Case closed I guess.
    Code (Text):
    ls -lah
    total 180K
    drwxr-xr-x.  2 root root 4.0K Jul 13 02:48 .
    drwxr-xr-x. 97 root root 8.0K Jul 13 02:48 ..
    -rw-r--r--.  1 root root 1.7K Jun 23 15:58 CentOS-Base.OLD
    -rw-r--r--.  1 root root 1.7K Jun 23 15:58 CentOS-Base.repo
    -rw-r--r--.  1 root root 1.3K Jun 23 15:58 CentOS-CR.OLD
    -rw-r--r--.  1 root root 1.3K Jun 23 15:58 CentOS-CR.repo
    -rw-r--r--.  1 root root  649 Nov 23  2018 CentOS-Debuginfo.repo
    -rw-r--r--.  1 root root  314 Nov 23  2018 CentOS-fasttrack.repo
    -rw-r--r--.  1 root root  630 Nov 23  2018 CentOS-Media.repo
    -rw-r--r--.  1 root root  998 Dec 11  2018 CentOS-SCLo-scl.repo
    -rw-r--r--.  1 root root  971 Oct 29  2018 CentOS-SCLo-scl-rh.repo
    -rw-r--r--.  1 root root 1.3K Nov 23  2018 CentOS-Sources.repo
    -rw-r--r--.  1 root root 5.6K Nov 23  2018 CentOS-Vault.repo
    -rw-r--r--.  1 root root  291 Jun 23 15:39 digitalocean-agent.repo
    -rw-r--r--.  1 root root 1.1K Jun 23 15:58 epel.OLD
    -rw-r--r--.  1 root root 1.1K Jun 23 15:58 epel.repo
    -rw-r--r--.  1 root root 1.1K Oct  2  2017 epel-testing.repo
    -rw-r--r--.  1 root root  169 Jun 23 16:04 mariadb.repo
    -rw-r--r--   1 root root  693 Jul 13 02:48 mirrors-rpmforge
    -rw-r--r--   1 root root  673 Jul 13 02:48 mirrors-rpmforge-extras
    -rw-r--r--   1 root root  673 Jul 13 01:19 mirrors-rpmforge-extras.rpmsave
    -rw-r--r--   1 root root  693 Jul 13 01:19 mirrors-rpmforge.rpmsave
    -rw-r--r--   1 root root  683 Jul 13 02:48 mirrors-rpmforge-testing
    -rw-r--r--   1 root root  683 Jul 13 01:19 mirrors-rpmforge-testing.rpmsave
    -rw-r--r--.  1 root root  780 Jun 23 15:58 percona-original-release.repo
    -rw-r--r--.  1 root root  446 Mar  8 07:34 remi-glpi91.repo
    -rw-r--r--.  1 root root  446 Mar  8 07:34 remi-glpi92.repo
    -rw-r--r--.  1 root root  446 Mar  8 07:34 remi-glpi93.repo
    -rw-r--r--.  1 root root  446 Mar  8 07:34 remi-glpi94.repo
    -rw-r--r--.  1 root root  855 Mar  8 07:34 remi-modular.repo
    -rw-r--r--.  1 root root 2.3K Dec  9  2015 remi.OLD
    -rw-r--r--.  1 root root  456 Mar  8 07:34 remi-php54.repo
    -rw-r--r--.  1 root root 1.3K Mar  8 07:34 remi-php70.repo
    -rw-r--r--.  1 root root 1.3K Mar  8 07:34 remi-php71.repo
    -rw-r--r--.  1 root root 1.3K Mar  8 07:34 remi-php72.repo
    -rw-r--r--.  1 root root 1.3K Mar  8 07:34 remi-php73.repo
    -rw-r--r--.  1 root root 2.4K Jun 23 15:58 remi.repo
    -rw-r--r--.  1 root root 2.6K Mar  8 07:34 remi.repo.rpmnew
    -rw-r--r--   1 root root  449 Jul 13 02:47 remi-safe.repo
    -rw-r--r--.  1 root root  750 Mar  8 07:34 remi-safe.repo.rpmnew
    -rw-r--r--   1 root root 1.2K Jun 12  2014 rpmforge.OLD
    -rw-r--r--   1 root root 1.2K Jul 13 02:48 rpmforge.repo
    
     
  6. eva2000

    eva2000 Administrator Staff Member

    40,624
    9,016
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,883
    Local Time:
    10:19 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    when are you getting this error ?