From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 15 Dec 2006 02:46:42 +0300 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20061214234642.GI13476@localhost.localdomain> Mail-Followup-To: ALT Devel discussion list References: <20061009223236.GG23308@localhost.localdomain> <20061009224152.GC18762@basalt.office.altlinux.org> <20061010004028.GH23308@localhost.localdomain> <20061010153903.GA14460@basalt.office.altlinux.org> <20061010155251.GF8008@localhost.localdomain> <20061010221127.GB26619@basalt.office.altlinux.org> <20061011001636.GQ8008@localhost.localdomain> <20061207225233.GA14226@nomad.office.altlinux.org> <20061214234038.GH13476@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ibq+fG+Ci5ONsaof" Content-Disposition: inline In-Reply-To: <20061214234038.GH13476@localhost.localdomain> Subject: Re: [devel] apt virtual packages X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2006 23:46:39 -0000 Archived-At: List-Archive: List-Post: --ibq+fG+Ci5ONsaof Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 15, 2006 at 02:40:38AM +0300, Alexey Tourbin wrote: > =F3=D5=D4=D8 =D0=D2=CF=C2=CC=C5=CD=D9 =D7 =D4=CF=CD, =DE=D4=CF =CB=CF=C7= =C4=C1 =D0=D2=CF=D3=D1=D4 =D5=D3=D4=C1=CE=CF=D7=C9=D4=D8 =D7=C9=D2=D4=D5=C1= =CC=D8=CE=D9=CA =D0=C1=CB=C5=D4 =D3 > =D7=C5=D2=D3=C9=C5=CA, apt =C2=C5=D2=C5=D4 =D0=C5=D2=D7=D9=CA =D0=CF=D0= =C1=D7=DB=C9=CA=D3=D1 =D2=C5=C1=CC=D8=CE=D9=CA =D0=C1=CB=C5=D4, =CB=CF=D4= =CF=D2=D9=CA =C4=C1=C5=D4 =DC=D4=CF=D4 > =D7=C9=D2=D4=D5=C1=CC=D8=CE=D9=CA =D0=C1=CB=C5=D4 =D3 =DC=D4=CF=CA =D7=C5= =D2=D3=C9=C5=CA. >=20 > apt-get.cc: > 2102 if (VerTag !=3D 0) > 2103 // CNC:2003-11-05 > 2104 if (TryToChangeVer(Pkg,Cache,VerOp,VerTag,VerIsRel) = =3D=3D false) > 2105 return false; > 2106 if (TryToInstall(Pkg,Cache,Fix,Remove,BrokenFix,Expected= Inst) =3D=3D false) > 2107 return false; >=20 > =F0=D2=CF=C2=CC=C5=CD=C1 =D7 =D0=D2=CF=C3=C5=C4=D5=D2=C5 TryToChangeVer. = =FC=D4=C1 =D0=D2=CF=C3=C5=C4=D5=D2=C1 =D0=D9=D4=C1=C5=D4=D3=D1 =D0=CF=C4= =D9=D3=CB=C1=D4=D8 > =D2=C5=C1=CC=D8=CE=D9=CA =D0=C1=CB=C5=D4 (=D7 =C4=C1=CE=CE=CF=CD =D3=CC= =D5=DE=C1=C5 =C4=CC=D1 python-devel=3D2.4) =C9 =D7=D9=C2=C9=D2=C1=C5=D4 =D0= =C5=D2=D7=CF=C5 > =DE=D4=CF =D4=CF=CC=D8=CB=CF =CD=CF=D6=CE=CF =D7=D9=C2=D2=C1=D4=D8. =E5=D3=CC=C9 =D0=D2=CF=D3=D4=CF =D4=D5=D0=CF =CF=D4=D2=D5=C2=C9=D4=D8 TryTo= Install, =D4=CF =D7=D3=A3 =CE=C1=DE=C9=CE=C1=C5=D4 =D2=C1=C2=CF=D4=C1=D4=D8. --- apt-get.cc- 2006-12-14 23:36:02 +0000 +++ apt-get.cc 2006-12-14 23:44:10 +0000 @@ -2099,10 +2101,10 @@ bool DoInstall(CommandLine &CmdL) } else { - if (VerTag !=3D 0) - // CNC:2003-11-05 - if (TryToChangeVer(Pkg,Cache,VerOp,VerTag,VerIsRel) =3D=3D fals= e) - return false; +// if (VerTag !=3D 0) +// // CNC:2003-11-05 +// if (TryToChangeVer(Pkg,Cache,VerOp,VerTag,VerIsRel) =3D=3D fals= e) +// return false; if (TryToInstall(Pkg,Cache,Fix,Remove,BrokenFix,ExpectedInst) =3D= =3D false) return false; } > --- apt-get.cc- 2006-12-14 23:36:02 +0000 > +++ apt-get.cc 2006-12-14 23:38:04 +0000 > @@ -1537,6 +1537,8 @@ bool TryToChangeVer(pkgCache::PkgIterato > pkgVersionMatch::Version),VerOp); >=20 > pkgCache::VerIterator Ver =3D Match.Find(Pkg); > + for (pkgCache::VerIterator i =3D Ver; i.end() =3D=3D false; i++) > + fprintf(stderr, "Seen pkg %s ver %s\n", Pkg.Name(), i.VerStr()); >=20 > if (Ver.end() =3D=3D true) > { --ibq+fG+Ci5ONsaof Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFgeJifBKgtDjnu0YRAsSmAJ9cXhWci+cDEJ/e1wWMuMX2VB5L1gCgqff9 Kpwfc79U3B/ty+9O32WjcL4= =FR5a -----END PGP SIGNATURE----- --ibq+fG+Ci5ONsaof--