From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 15 Dec 2006 02:40:38 +0300 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20061214234038.GH13476@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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yhze8HlyfmXt1APY" Content-Disposition: inline In-Reply-To: <20061207225233.GA14226@nomad.office.altlinux.org> 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:44:51 -0000 Archived-At: List-Archive: List-Post: --yhze8HlyfmXt1APY Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 08, 2006 at 01:52:33AM +0300, Dmitry V. Levin wrote: > =F5 =CE=C5=C7=CF =C2=D9=CC=C1 =D0=D2=CF=C2=CC=C5=CD=C1 =D3 =CF=DE=C5=CE= =D8 =D0=CF=C8=CF=D6=C9=CD=C9 =D3=C9=CD=D0=D4=CF=CD=C1=CD=C9, =C9 =CF=CE=C1,= =CB =D3=CF=D6=C1=CC=C5=CE=C9=C0, > =D4=D7=CF=C9=CD =C9=D3=D0=D2=C1=D7=CC=C5=CE=C9=C5=CD =CE=C5 =D2=C5=DB=C5= =CE=C1. =FC=D4=CF =D3=CF=D7=D3=C5=CD =C4=D2=D5=C7=C1=D1 =D0=D2=CF=C2=CC=C5=CD=C1. > =EB=C1=CB =D7=CF=D3=D0=D2=CF=C9=DA=D7=C5=D3=D4=C9: > 1. =F7=DA=D1=D4=D8 =D0=C1=CB=C5=D4 python-2.4.4-alt2.src.rpm =C9=DA =F3= =C9=DA=C9=C6=C1, =D5=D7=C5=CC=C9=DE=C9=D4=D8 =D2=C5=CC=C9=DA =C9 > =D3=CF=C2=D2=C1=D4=D8 =D0=CF=CC=D5=DE=C9=D7=DB=C9=CA=D3=D1 python-2.4.4-a= lt2.1.src.rpm > 2. =F7=DA=D1=D4=D8 =D0=C1=CB=C5=D4 python-module-tpg-3.1.0-alt1.src.rpm = =C9=DA =F3=C9=DA=C9=C6=C1 =C9 > =D0=CF=D0=D2=CF=C2=CF=D7=C1=D4=D8 =D3=CF=C2=D2=C1=D4=D8 (--with-stuff =D0= =CF =D5=CD=CF=CC=DE=C1=CE=C9=C0). > =FC=D4=CF=D4 python-module-tpg =CE=C5 =D3=CF=C2=C5=D2=A3=D4=D3=D1 =D3 =D4= =C1=CB=CF=CA =C4=C9=C1=C7=CE=CF=D3=D4=C9=CB=CF=CA: >=20 > Reading Package Lists... > Building Dependency Tree... > Selected version 2.4.4-alt2 for python-devel > Selected version 0.29-alt3 for rpm-build-python > rpm-build-python is already the newest version. > Some packages could not be installed. This may mean that you have > requested an impossible situation or if you are using the unstable > distribution that some required packages have not yet been created > or been moved out of Incoming. > The following information may help to resolve the situation: >=20 > The following packages have unmet dependencies: > python-dev: Depends: python-base (=3D 2.4.4-alt2) but 2.4.4-alt2.1 is t= o be installed > E: Broken packages > install: failed to calculate package file list. > install: Failed to generate package file list. >=20 > =F0=D2=C9=DE=A3=CD: > $ rpmquery -pR python-module-tpg-3.1.0-alt1.src.rpm |grep -v ^rpmlib > python-devel =3D 2.4 > rpm-build-python >=3D 0.8 > $ workdir/aptbox/apt-get -y --print-uris install python-devel 2>&1 |grep = ^Selecting > Selecting python-dev for 'python-devel' > $ workdir/aptbox/apt-get -y --print-uris install python-devel=3D2.4 > Reading Package Lists... > Building Dependency Tree... > Selected version 2.4.4-alt2 for python-devel > Some packages could not be installed. This may mean that you have > requested an impossible situation or if you are using the unstable > distribution that some required packages have not yet been created > or been moved out of Incoming. >=20 > Since you only requested a single operation it is extremely likely that > the package is simply not installable and a bug report against > that package should be filed. > The following information may help to resolve the situation: >=20 > The following packages have unmet dependencies: > python-dev: Depends: python-base (=3D 2.4.4-alt2) but 2.4.4-alt2.1 is t= o be installed > E: Broken packages =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. 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,ExpectedIn= st) =3D=3D false) 2107 return false; =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. --- 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); 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()); if (Ver.end() =3D=3D true) { $ PATH=3D$PWD:$PATH ~tmp/build/aptbox/apt-get --dry-run install python-deve= l=3D2.4 Reading Package Lists... Done = =20 Building Dependency Tree... Done Seen pkg python-devel ver 2.4.4-alt2 ^^^ Selected version 2.4.4-alt2 for python-devel Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: python-dev: Depends: python-base (=3D 2.4.4-alt2) but 2.4.4-alt2.1 is to = be installed E: Broken packages $ =F4.=C5. 2.4.4-alt2.1 =D7 =DC=D4=CF=CD =CD=C5=D3=D4=C5 =CE=C5 =D7=C9=C4=CE= =CF =D7=CF=CF=C2=DD=C5. =F3=CF=CF=D4=D7=C5=D4=D3=D4=D7=C5=CE=CE=CF, =C4=C1=CC=D8=DB=C5, =D7=C5=D2= =CF=D1=D4=CE=CF, =D3=D4=CF=C9=D4 =CB=CF=D7=D9=D2=D1=D4=D8 pkgVersionMatch::= Find. --yhze8HlyfmXt1APY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFgeD2fBKgtDjnu0YRAuKZAJ9ppb6Ev1eGwQ5I+yYf9EEzG38fdQCfeQIL HrHNXKAuIQq5nbIgeboYBGw= =AslB -----END PGP SIGNATURE----- --yhze8HlyfmXt1APY--