[mdk-re] ðÒÏ×ÅÒËÁ ÐÁËÅÔÏ

Sergey Vlasov =?iso-8859-1?q?vsu_=CE=C1_mivlgu=2Emurom=2Eru?=
ðÔ æÅ× 15 17:19:15 MSK 2002


On Fri, Feb 15, 2002 at 14:11:36 +0300, Peter V. Saveliev wrote:
> On Fri, 15 Feb 2002 11:13:56 +0200
> "Igor Tertishny" <yuda66 ÎÁ yandex.ru> wrote:
> 
> > 
> > >
> > > rpm --rebuilddb ÎÅ ÓÐÁÓ£Ô ?
> > >
> > îÅÔ, Õ ÍÅÎÑ ÌÏËÁÌØÎÙÊ ÄÅÐÏÚÉÔÁÒÉÊ óÉÚÉÆÁ, ÅÖÅÄÎÅ×ÎÏ ÏÂÎÏ×ÌÑÅÍÙ rsync ÞÅÒÅÚ 
> > cron. é ×ÏÔ ÉÍÅÎÎÏ × ÎÅÍ ÂÉÔÙÅ ÐÁËÅÔÙ. ñ ÓÌÙÛÁÌ, ÞÔÏ ÉÈ ËÁË-ÔÏ ÍÏÖÎÏ 
> > ÐÒÏ×ÅÒÉÔØ, ×ÏÐÒÏÓ ÔÏÌØËÏ ËÁË? ôÏÇÄÁ Ñ ÐÒÏÓÔÏ ÓÏÔÒÕ ÂÉÔÙÅ É ÐÅÒÅËÁÞÁÀ ÉÈ.
> 
> find /×ÁÛ/ÄÅÐÏÚÉÔÁÒÉÊ -name '*.rpm' -print0 | xargs -0 rpm -qpl >/dev/null
> 
> îÁ ÜËÒÁÎ ×ÙÌÅÚÕÔ ÓÏÏÂÝÅÎÉÑ Ï ÂÉÔÙÈ rpm. ðÏ ËÒÁÊÎÅÊ ÍÅÒÅ, Ñ ÔÁË ÐÒÏ×ÅÒÑÀ.

÷ÉÄÉÍÏ, ÎÁÄÅÖÎÅÅ (ÎÏ ÄÏÌØÛÅ) ÂÕÄÅÔ ÐÒÏ×ÅÒËÁ Ó ÐÏÍÏÝØÀ rpm --checksig - ÐÏ
rpm -qpl ÏÔÌÏ×ÑÔÓÑ ÔÏÌØËÏ ÏÛÉÂËÉ × ÚÁÇÏÌÏ×ËÅ ÆÁÊÌÁ, Á ÐÏ×ÒÅÖÄÅÎÉÑ
ÓÏÂÓÔ×ÅÎÎÏ ÓÏÄÅÒÖÁÝÅÇÏÓÑ × *.rpm ÁÒÈÉ×Á Ó ÆÁÊÌÁÍÉ ÐÁËÅÔÁ ÏÓÔÁÎÕÔÓÑ
ÎÅÚÁÍÅÞÅÎÎÙÍÉ.  îÏ ÔÕÔ ×Ù×ÏÄ ÎÁÄÏ ÎÁÐÒÁ×ÌÑÔØ ÕÖÅ ÎÅ × /dev/null, Á
ÁÎÁÌÉÚÉÒÏ×ÁÔØ ÎÁ ÐÒÅÄÍÅÔ "NOT OK" (ÜÔÏ ÓÏÏÂÝÅÎÉÅ ÍÏÖÅÔ ÂÙÔØ ×ÙÄÁÎÏ ÎÁ
ÒÕÓÓËÏÍ).




ðÏÄÒÏÂÎÁÑ ÉÎÆÏÒÍÁÃÉÑ Ï ÓÐÉÓËÅ ÒÁÓÓÙÌËÉ community