argamedon Posted September 5, 2005 Report Share Posted September 5, 2005 Witam, Dodalem w pliku yum.conf repozytoria: [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 retries=20 obsoletes=1 gpgcheck=1 [atrpmsstable] name=Red Hat Linux 9 ATrpms stable baseurl=http://apt.physik.fu-berlin.de/redhat/9/en/i386/at-stable [livna-stable] name=Livna.org Fedora Compatible Packages (stable) baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/stable [livna-unstable] name=Livna.org Fedora Compatible Packages (unstable) baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/unstable [livna-testing] name=Livna.org Fedora Compatible Packages (testing) baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/testing [freshrpms] name=FreshRPMs baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/ http://ftp.us2.freshrpms.net/linux/freshrpms/ayo/fedora/linux/$releasever/$basearch/freshrpms/ Potem wpisalem komende : yum check-update i oto co mi wyplula konsola: Setting up repositories Cannot open/read repomd.xml file for repository: atrpmsstable failure: repodata/repomd.xml from atrpmsstable: [Errno 256] No more mirrors to t ry. Czy ktos wie o co chodzi i jak zrobic zeby bylo ok? Pozdrawiam Link to comment Share on other sites More sharing options...
lszk Posted September 5, 2005 Report Share Posted September 5, 2005 http://www.fedora.pl/forum/index.php?showt...t=0entry37450 Link to comment Share on other sites More sharing options...
argamedon Posted September 5, 2005 Author Report Share Posted September 5, 2005 Sorry ale niedawno zainstalowalem Fedora Core 4 i narazie jestem noowbie. Odwiedzilem link ktory podales ale nadal nic nie rozumiem. Domyslam sie ze cos jest nie w porzadku z repozytorium [atrpmsstable]. Musze podac inne zamiast tego? Jezeli tak to skad je wziac? Link to comment Share on other sites More sharing options...
arturek Posted September 5, 2005 Report Share Posted September 5, 2005 yum.conf zostaw taki http://www.fedorafaq.org/samples/yum.conf repozytoria dodaj do /etc/yum.repos.d/ na przykład stąd http://www.fedora.pl/forum/index.php?showtopic=5702 jest tego pełno na forum ATrpms,redhat-KDE i paczki unstable,testing raczej nie używaj Link to comment Share on other sites More sharing options...
argamedon Posted September 5, 2005 Author Report Share Posted September 5, 2005 U mnie nie ma pliku yum.repos! Jest tylko yum.conf Link to comment Share on other sites More sharing options...
arturek Posted September 5, 2005 Report Share Posted September 5, 2005 to jest katalog /etc/yum.repos.d/ i dodaj repozytoria (pliki) np: livna.repo z odpowiednim wpisem LEKTURA http://wiki.stemar.com.pl/wiki/?n=Administracja.Yum Link to comment Share on other sites More sharing options...
argamedon Posted September 5, 2005 Author Report Share Posted September 5, 2005 Mam dopisac nowe repozytoria do pliku fedora.repo? A te ktore dodalem do pliku yum.conf mam usunac? Link to comment Share on other sites More sharing options...
lszk Posted September 5, 2005 Report Share Posted September 5, 2005 NIE! Każde z osobna masz dopisać do ręcznie stworzonego pliku. Tak, jak Ci arturek podał. A te, co dodałeś to usuń, bo to nie ich miejsce. Link to comment Share on other sites More sharing options...
argamedon Posted September 5, 2005 Author Report Share Posted September 5, 2005 Zakrecilem sie jak sloik z dzemem. Czy ktorys z was moglby mi napisac co mam konkretnie zrobic po kolei? Dla was to latwizna a dla mnie narazie czrna magia Link to comment Share on other sites More sharing options...
gajownik Posted September 5, 2005 Report Share Posted September 5, 2005 Wywal to co tam wymodziłeś i zrób tak jak tutaj → http://faq.fedora.pl/#installsoftware Link to comment Share on other sites More sharing options...
argamedon Posted September 5, 2005 Author Report Share Posted September 5, 2005 Wielkie dzieki drogi gajowniku nareszcie sie udalo. Lepiej korzystac z yum czy rpm? Czy mozna w Fedorze zainstalowac jakis program wpisujac nazwe pakietu i fedora sama pobierze wszystkie pliki, spelni zaleznosci i zainstaluje program? Powiedzmy ze chcialbym zainstalowac apache jak zrobic to najprosciej i najszybciej? Pozdrawiam Link to comment Share on other sites More sharing options...
arturek Posted September 5, 2005 Report Share Posted September 5, 2005 Lepiej yum a teraz zainstaluj nakładke graficzną na yuma np: yumex w terminalu jako root polecenie su - pózniej yum install yumex uruchomisz polecenie z terminala yumex lub z menu Narzędzia systemowe > Yum Extender Link to comment Share on other sites More sharing options...
gajownik Posted September 5, 2005 Report Share Posted September 5, 2005 Lepiej korzystac z yum czy rpm? To pytanie jest w stylu: w czym lepiej pisać? W C (yum) czy w asemblerze (rpm)? Zależy do czego będziesz dany program wykorzystywał. Najlepiej cały czas z yuma, a niektóre operacje przy użyciu rpm. Czy mozna w Fedorze zainstalowac jakis program wpisujac nazwe pakietu i fedora sama pobierze wszystkie pliki, spelni zaleznosci i zainstaluje program? Jesli masz paczke na dysku to wpisz: yum localinstall nazwapaczki.rpm Wygodniej jest raczej wszystko ściągać yumem z repozytoriów. Powiedzmy ze chcialbym zainstalowac apache jak zrobic to najprosciej i najszybciej? yum install httpd /edit/ Tak jak Ci napisał wcześniej arturek: zapoznaj się z tym → http://wiki.stemar.com.pl/wiki/?n=Administracja.Yum Link to comment Share on other sites More sharing options...
argamedon Posted September 5, 2005 Author Report Share Posted September 5, 2005 Jak tylko uda mi sie polaczyc z serwerem to poczytam. Wielkie dzieki za pomoc. Pozdro Link to comment Share on other sites More sharing options...
gajownik Posted September 5, 2005 Report Share Posted September 5, 2005 Hmm... U mnie cały czas ten serwer był dostępny Spróbuj teraz. 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