From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 20 Jul 2008 15:34:42 +0400 From: Alexey Tourbin To: ALT Linux Team development discussions Message-ID: <20080720113442.GD25993@solemn.turbinal> Mail-Followup-To: ALT Linux Team development discussions References: <20080717151134.GQ6725@solemn.turbinal> <4aaa2e1c0807170849j38ba28a4u5b9967b85d5f0e9d@mail.gmail.com> <20080717161152.GR6725@solemn.turbinal> <4aaa2e1c0807171148v6055f36u594be0837b2b1a9@mail.gmail.com> <20080717190953.GP15392@osdn.org.ua> <4aaa2e1c0807171223q509761e8p82b7cb87c66b25f0@mail.gmail.com> <20080717201249.GT15392@osdn.org.ua> <4aaa2e1c0807171315hfa1e62bu7e2a9e85302644fd@mail.gmail.com> <20080720111640.GC25993@solemn.turbinal> <6062a6e60807200418i2f1bda26ub8cddd33777802d8@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+KJYzRxRHjYqLGl5" Content-Disposition: inline In-Reply-To: <6062a6e60807200418i2f1bda26ub8cddd33777802d8@mail.gmail.com> Subject: [devel] rpmlib(...) & apt X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2008 11:34:24 -0000 Archived-At: List-Archive: List-Post: --+KJYzRxRHjYqLGl5 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 20, 2008 at 03:18:48PM +0400, Alexander Bokovoy wrote: > > =F1 =D5=D4=D7=C5=D2=D6=C4=C1=C0, =DE=D4=CF lzma =CE=C9=DE=C5=C7=CF =CE= =C5 =D3=CC=CF=CD=C1=CC. > > > > =E2=D9=CC=C1 =D4=CF=CC=D8=CB=CF =D4=CF=CE=CB=CF=D3=D4=D8 =D3 =C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=CD =C4=C5=CC=C5 *=D5=C4=C1=CC=D1=C0=D4=D3=D1* =D7=CF=CF=C2=DD=C5 =C9=DA =CB=C5=DB=C1 =C1=D0=D4=C1 =D0=D2=C9 =C5=C7=CF =C7= =C5=CE=C5=D2=C1=C3=C9=C9 =C9 =C4=C1=CC=D8=DB=C5 =CE=C9=CB=C1=CB =CE=C5 =D5= =DE=C1=D3=D4=D7=D5=C0=D4 =D7 =D2=C1=DA=D2=C5=DB=C5=CE=C9=C9 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C5=CA. = =F0=D2=C9 =DC=D4=CF=CD =D5=C4=C1=CC=C5=CE=C9=C5 =C9=DA =CB=C5=DB=C1 =DA=C1= =D7=C9=D3=C9=CD=CF=D3=D4=C5=CA rpmlib(...) =D0=D2=CF=C9=D3=C8=CF=C4=C9=D4 =CE=C1 =CF=D3=CE=CF=D7=C5 =D7=D9= =DA=CF=D7=C1 rpmCheckRpmlibProvides() =C9=DA *=D4=C5=CB=D5=DD=C5=CA* =C2=C9=C2=CC=C9=CF=D4=C5=CB=C9 librpm (=D5= =D3=D4=C1=CE=CF=D7=CC=C5=CE=CE=CF=CA =D7 =C8=CF=D3=D4-=D3=C9=D3=D4=C5=CD=C5= ). apt/apt-pkg/rpm/rpmlistparser.cc: 429 if (namel[i][0] =3D=3D 'r' && strncmp(namel[i], "rpmlib", 6) = =3D=3D 0) 430 { 431 #if RPM_VERSION >=3D 0x040404 432 rpmds rpmlibProv =3D NULL; 433 rpmds ds =3D rpmdsSingle(RPMTAG_PROVIDENAME, 434 namel[i], verl?verl[i]:NULL, flagl[i]= ); 435 rpmdsRpmlib(&rpmlibProv, NULL); 436 int res =3D rpmdsSearch(rpmlibProv, ds) >=3D 0; 437 rpmdsFree(ds); 438 rpmdsFree(rpmlibProv); 439 #elif RPM_VERSION >=3D 0x040100 440 rpmds ds =3D rpmdsSingle(RPMTAG_PROVIDENAME, 441 namel[i], verl?verl[i]:NULL, flagl[i]); 442 int res =3D rpmCheckRpmlibProvides(ds); 443 rpmdsFree(ds); 444 #else 445 int res =3D rpmCheckRpmlibProvides(namel[i], verl?verl[i]:NULL, 446 flagl[i]); 447 #endif 448 if (res) continue; 449 } =F7 =D3=D4=D2=CF=CB=C5 448 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=D8 rpmlib(...) = =C9=C7=CE=CF=D2=C9=D2=D5=C5=D4=D3=D1, =C5=D3=CC=C9 =CF=CE=C1 =D2=C1=DA=D2= =C5=DB=C5=CE=C1 =CF=D4=CE=CF=D3=C9=D4=C5=CC=D8=CE=CF =D5=D3=D4=C1=CE=CF=D7=CC=C5=CE=CE=CF= =CA =C2=C9=C2=CC=C9=CF=D4=C5=CB=C9 librpm. =F0=CF=D3=CC=C5 =CF=C2=CE=CF=D7=CC=C5=CE=C9=D1 librpm =CE=D5=D6=CE=CF =D0= =C5=D2=C5=C7=C5=CE=C5=D2=C9=D2=CF=D7=C1=D4=D8 (=C9=CC=C9 =D0=D2=CF=D3=D4=CF= =D5=C4=C1=CC=C9=D4=D8) =CB=C5=DB =C1=D0=D4, =DE=D4=CF=C2=D9 =D7 =CE=CF=D7=CF=CD =CB=C5=DB=C5 =C9= =C7=CE=CF=D2=C9=D2=CF=D7=C1=CC=C9=D3=D8 =D7 =D4=CF=CD =DE=C9=D3=CC=C5 =C9 = =CE=CF=D7=D9=C5 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C9 rpmlib(...), =D0=D2=C5=C4=CF=D3=D4=C1=D7= =CC=D1=C5=CD=D9=C5 =CE=CF=D7=CF=CA =C2=C9=C2=CC=C9=CF=D4=C5=CB=CF=CA librpm. > =F2=C5=DB=C5=CE=C9=C5=CD =DC=D4=CF =D3=CC=C1=C2=CF =CD=CF=D6=CE=CF =CE=C1= =DA=D7=C1=D4=D8. =EC=C0=C2=C1=D1 =CE=CF=D7=C1=D1 =C6=C9=DE=C1 rpm, =D7=D9=D2=C1=D6=C5=CE=CE= =C1=D1 =D7 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=D1=C8 =D7=C9=C4=C1 rpmlib(...), =D7=D9=DA=CF=D7=C5=D4 =D4=CF=DE=CE=CF =D4=C1=CB=D5=C0 =D6=C5 =D0=D2=CF=C2= =CC=C5=CD=D5 =D5 =C1=D0=D4=C1. =EE=C1 =D3=C1=CD=CF=CD =C4=C5=CC=C5 =D1 =D3= =DE=C9=D4=C1=C0 =DC=D4=CF =CF=D0=D2=C5=C4=C5=CC=CE=CE=CF=CA =CB=D2=C9=D7=C9=DA=CE=CF=CA =C1=D0=D4=C1. =F2=C5=DB=C5=CE=C9=C5 =D6=C5 =C1=C2=D3=CF=CC=C0=D4=CE=CF =D0=D2=C1=D7=C9=CC= =D8=CE=CF=C5 -- =CC=C9=C2=CF =DA=C1=D0=D5=D3=D4=C9=D4=D8 "=D3=D4=D2=C1=CE= =CE=D5=C0 =CB=CF=CD=C1=CE=C4=D5", =CB=CF=D4=CF=D2=C1=D1 =D0=C5=D2=C5=C7=C5=CE=C5=D2=C9=D2=D5=C5=D4 =CB=C5=DB = =C1=D0=D4=C1, =CC=C9=C2=CF =D0=D2=CF=D3=D4=CF =D5=C4=C1=CC=C9=D4=D8 =CB=C5= =DB =D7=D2=D5=DE=CE=D5=C0 -- rm -f /var/cache/apt/*.bin apt/apt-pkg/pkgcachegen.cc: 600 /* This just verifies that each file in the list of index files exis= ts, 601 has matching attributes with the cache and the cache does not have 602 any extra files. */ 603 static bool CheckValidity(string CacheFile, FileIterator Start,=20 604 FileIterator End,MMap **OutMap =3D 0) 605 { 606 // No file, certainly invalid 607 if (CacheFile.empty() =3D=3D true || FileExists(CacheFile) =3D=3D= false) 608 return false; 609 =20 610 // CNC:2003-02-20 - When --reinstall is used during a cache build= ing 611 // process, the algorithm is sligthly changed to 612 // order the "better" architectures before, even if 613 // they are already in the system. Thus, we rebuild 614 // the cache when it's used. 615 bool ReInstall =3D _config->FindB("APT::Get::ReInstall", false); 616 if (ReInstall =3D=3D true) 617 return false; --+KJYzRxRHjYqLGl5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkiDItIACgkQfBKgtDjnu0YY+wCfeFMtw9hcAWmCWmroLND/5eQf xVYAoN+gSlS4Kaf9da4fxAPlxRWKAJ88 =MzF9 -----END PGP SIGNATURE----- --+KJYzRxRHjYqLGl5--