Portál AbcLinuxu, 16. července 2025 19:40
# yum update gnome Loading "installonlyn" plugin Setting up Update Process Setting up repositories Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=core-6&arch=i386 error was [Errno 4] IOError: [urlopen error (-2, 'Nezn\xc3\xa1m\xc3\xa9 jm\xc3\xa9no nebo slu\xc5\xbeba')] http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/repodata/repomd.xml:Co s tim je? fedora-core.repo
[Errno 4] IOError: [urlopen error (-2, 'Nezn\xc3\xa1m\xc3\xa9 jm\xc3\xa9no nebo slu\xc5\xbeba')] Trying other mirror. Error: Cannot open/read repomd.xml file for repository: core
[core] name=Fedora Core $releasever - $basearch baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
#yum install cokoliv Loading "installonlyn" plugin Setting up Install Process Setting up repositories Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=core-6&arch=i386 error was [Errno 4] IOError: [urlopen error (-2, 'Nezn\xc3\xa1m\xc3\xa9 jm\xc3\xa9no nebo slu\xc5\xbeba')] Error: Cannot find a valid baseurl for repo: core
[root@soban /etc/yum.repos.d]# cat fedora-core.repo [core] name=Fedora Core $releasever - $basearch baseurl=ftp://ftp.linux.cz/pub/linux/fedora/linux/core/$releasever/$basearch/os/ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY [core-debuginfo] name=Fedora Core $releasever - $basearch - Debug #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-debug-$releasever&arch=$basearch enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY [core-source] name=Fedora Core $releasever - Source #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-source-$releasever&arch=$basearch enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEYA
[root@soban /etc/yum.repos.d]# cat fedora-updates.repo [updates] name=Fedora Core $releasever - $basearch - Updates baseurl=ftp://ftp.linux.cz/pub/linux/fedora/linux/core/updates/$releasever/$basearch/ mirrorlist=http://fedora.redhat.com/Download/mirrors/updates-released-fc$releasever enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora [updates-debuginfo] name=Fedora Core $releasever - $basearch - Updates - Debug #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/debug/ mirrorlist=http://fedora.redhat.com/Download/mirrors/updates-released-debug-fc$releasever enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora [updates-source] name=Fedora Core $releasever - Updates Source #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/SRPMS/ mirrorlist=http://fedora.redhat.com/Download/mirrors/updates-released-source-fc$releasever enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedoraPak to chce smazat cache yumu aby se nepoužil ten mirror který tam budeš mět nastaven po neúspěšném dotazu na baseurl.
# yum clean all Loading "installonlyn" plugin Cleaning up Everything # yum upgrade cokoliv Loading "installonlyn" plugin Setting up Upgrade Process Setting up repositories ftp://ftp.linux.cz/pub/linux/fedora/linux/core/6/i386/os/repodata/repomd.xml: [Errno 4] IOError: [urlopen error (-2, 'Nezn\xc3\xa1m\xc3\xa9 jm\xc3\xa9no nebo slu\xc5\xbeba')] Trying other mirror. Error: Cannot open/read repomd.xml file for repository: coreUz to zacina byt celkem zabavny :). Jsem pripojeny na netu i pri vypnutem firewallu mi to to nechodi. Mozna problem bude jinde? protoze kdyz zkousim
# wget -r -p -U Mozilla http://www.abclinuxu.cz/index.html --17:39:21-- http://www.abclinuxu.cz/index.html Resolving www.abclinuxu.cz... failed: Neznámé jméno nebo služba.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.