majkey Posted February 1, 2008 Report Share Posted February 1, 2008 Witam. Chciałbym skonfigurować yum w REHL 5.1 w ten sposób aby nie updejtował mi jakiegoś konkretnego pakietu. Może ktoś pomóc jak to zrobić w RHEL 5.1? Dzięki za ewentualny help. Link to comment Share on other sites More sharing options...
@WalDo Posted February 1, 2008 Report Share Posted February 1, 2008 "man yum.conf" /etc/yum.conf → exclude=<pakiet> Link to comment Share on other sites More sharing options...
ecik__ Posted February 1, 2008 Report Share Posted February 1, 2008 /etc/yum.conf → exclude=<pakiet> To jest ustawienie permanentne. Jeśli nie chcesz, aby w konkretnym wywołaniu yuma nie aktualizować jakiegoś pakietu piszesz: yum -x <pakiet> Link to comment Share on other sites More sharing options...
@WalDo Posted February 1, 2008 Report Share Posted February 1, 2008 Z ciekawości zapytam czy to znaczy, że yum w RHEL i w Fedorze ma inne opcje? Bo w "man yum" do Fedory nie znalazłem opcji "-x" jest tylko "--exclude=<package>" z linii poleceń. Są jeszcze jakieś inne różnice między yum w RHEL i w Fedorze? (nawiązuję do uwagi ecik__a o "permanentności" wpisu w yum.conf) Link to comment Share on other sites More sharing options...
@Sorror Posted February 2, 2008 Report Share Posted February 2, 2008 WalDo - nie ma różnicy, w Fedorowym yumie istnieje zarówno -x [package] jak i --exclude=[package] Link to comment Share on other sites More sharing options...
@WalDo Posted February 2, 2008 Report Share Posted February 2, 2008 WalDo - nie ma różnicyCzyli jakaś nieudokumentowana funkcja czy ja źle szukam? W "man yum" nie znajduję opcji "-x" (F8, yum-3.2.8-2.fc8) chociaż polecenie faktycznie jest akceptowane - przy próbie otrzymałem komunikat "Excluding Packages in global exclude list", więc widać, że działa. Przepraszam za ten off topic, ale mnie zaciekawiło. [EDIT]Hmm... No tak... "yum --help" :lammer: Link to comment Share on other sites More sharing options...
majkey Posted February 4, 2008 Author Report Share Posted February 4, 2008 "man yum.conf" /etc/yum.conf → exclude=<pakiet> dzięki za podpowiedz. swoja drogą.. jak ja moglem nie zauważyc istnienia pliku /etc/yum.conf... 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