[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: *help* apt-https



On Thu, 23 May 2002, Jason Gunthorpe wrote:

> Are you using CVS? There were some corner case type bugs with the parser
> that could also do this.

Yup. It's definitively the problem of apt-0.5.5 from CVS. It's buggy. If I
try to get with apt-0.5.4 everything's fine. If I get the same with
apt-0.5.5 it bails out. The 0.5.5 debs below are fresh from cvs, only
thing I did is replace:

#APT_UTILS=ftparchive sortpkgs extracttemplates
APT_UTILS=sortpkgs extracttemplates

to remove ftparchive from the packages to build, since I don't have db2
but db3. The 0.5.4 debs are from a debian mirror.

tpo2:/usr/include# dpkg -i /home/tpo/src/kunden/ao/apt/*0.5.5*.deb
(Reading database ... 128587 files and directories currently installed.)
Preparing to replace apt-utils 0.5.4-0.4 (using .../apt/apt-utils_0.5.5_i386.deb) ...
Unpacking replacement apt-utils ...
Preparing to replace apt 0.5.4-0.4 (using .../ao/apt/apt_0.5.5_i386.deb) ...
Unpacking replacement apt ...
Preparing to replace libapt-pkg-dev 0.5.4-0.4 (using .../libapt-pkg-dev_0.5.5_i386.deb) ...
Unpacking replacement libapt-pkg-dev ...
Preparing to replace libapt-pkg-doc 0.5.5-0.2 (using .../libapt-pkg-doc_0.5.5_all.deb) ...
Unpacking replacement libapt-pkg-doc ...
Setting up apt (0.5.5) ...

Setting up libapt-pkg-dev (0.5.5) ...

Setting up libapt-pkg-doc (0.5.5) ...

Setting up apt-utils (0.5.5) ...

tpo2:/usr/include# apt-get -d install dummypkg; rm /var/cache/apt/archives/dummypkg_1.3*
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  dummypkg
0 packages upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
E: The package index files are corrupted. No Filename: field for package
dummypkg.
tpo2:/usr/include# dpkg -i /home/tpo/src/kunden/ao/apt/orig/*0.5.4*.deb
dpkg - warning: downgrading apt-utils from 0.5.5 to 0.5.4.
(Reading database ... 128575 files and directories currently installed.)
Preparing to replace apt-utils 0.5.5 (using .../orig/apt-utils_0.5.4_i386.deb) ...
Unpacking replacement apt-utils ...
dpkg - warning: downgrading apt from 0.5.5 to 0.5.4.
Preparing to replace apt 0.5.5 (using .../ao/apt/orig/apt_0.5.4_i386.deb) ...
Unpacking replacement apt ...
dpkg - warning: downgrading libapt-pkg-dev from 0.5.5 to 0.5.4.
Preparing to replace libapt-pkg-dev 0.5.5 (using .../libapt-pkg-dev_0.5.4_i386.deb) ...
Unpacking replacement libapt-pkg-dev ...
Setting up apt-utils (0.5.4) ...

Setting up apt (0.5.4) ...

Setting up libapt-pkg-dev (0.5.4) ...

tpo2:/usr/include# dpkg -i /home/tpo/src/kunden/ao/apt/orig/*0.5.4*.deb
dpkg - warning: downgrading apt-utils from 0.5.5 to 0.5.4.
(Reading database ... 128575 files and directories currently installed.)
Preparing to replace apt-utils 0.5.5 (using
.../orig/apt-utils_0.5.4_i386.deb) ...
Unpacking replacement apt-utils ...
dpkg - warning: downgrading apt from 0.5.5 to 0.5.4.
Preparing to replace apt 0.5.5 (using .../ao/apt/orig/apt_0.5.4_i386.deb) ...
Unpacking replacement apt ...
dpkg - warning: downgrading libapt-pkg-dev from 0.5.5 to 0.5.4.
Preparing to replace libapt-pkg-dev 0.5.5 (using
.../libapt-pkg-dev_0.5.4_i386.deb) ...
Unpacking replacement libapt-pkg-dev ...
Setting up apt-utils (0.5.4) ...

Setting up apt (0.5.4) ...

Setting up libapt-pkg-dev (0.5.4) ...

tpo2:/usr/include# apt-get -d install dummypkg; rm /var/cache/apt/archives/dummypkg_1.3*
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  dummypkg
0 packages upgraded, 1 newly installed, 0 to remove and 12  not upgraded.
Need to get 19.6kB of archives. After unpacking 86.0kB will be used.
Get:1 http://sourcepole.ch ./ dummypkg 1.3-19 [19.6kB]
Fetched 19.6kB in 1s (18.2kB/s)
Download complete and in download only mode

If you want to debug and test yourself, you can enter the following line
into /etc/apt/sources.list:

	deb http://sourcepole.ch/sources/software/debian/ ./

since I was traversing the whole world forward and back in my quest
to find the bug I'll maybe change that back to my original setup:

	deb http://sourcepole.ch/sources/software/debian sid main

If you want to have a minimal index file that displays that behaveour, you
can fetch Packages.gz from above and just leave inside 3 Packages: apt,
dummypkg and any other, in that order.

Other than that apt-https seems to work well. Since apt-0.5.5 seems to be
broken - should I send you a patch against 0.5.4 or against 0.5.5
(allthough the chages were minimal between the two as far as I had seen)?

*t

-----------------------------------------------------------------------
     Tomas Pospisek
     sourcepole    -   Linux & Open Source Solutions
     http://sourcepole.com
     Elestastrasse 18,  7310 Bad Ragaz,  Switzerland
     Tel:+41 (81) 330 77 13,  Fax:+41 (81) 330 77 12
------------------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: