Ãn data de Ma, 25-01-2005 la 16:06 +0100, Bartosz Fenski aka fEnIo a scris: > On Tue, Jan 25, 2005 at 04:57:16PM +0200, Mugurel Tudor wrote: > > I created some DEB packages, and everything is OK with one exception: > > for every package that I created, at instalation time, I get the > > following error (on Debian Stable and also on Debian Unstable): > > > > # apt-get install foo > > Reading Package Lists... Done > > Building Dependency Tree... Done > > The following NEW packages will be installed: > > foo > > 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. > > Need to get 2449kB of archives. After unpacking 3121kB will be used. > > Get:1 http://mtudor-l.aa.local pool/ foo 1.1.3-4 [2449kB] > > Fetched 2449kB in 0s (10.5MB/s) > > E: /var/cache/apt/archives/foo_1.1.3-4_i386.deb not a valid DEB package. > > Selecting previously deselected package avira-core. > > (Reading database ... 23434 files and directories currently installed.) > > Unpacking avira-core (from .../foo_1.1.3-4_i386.deb) ... > > Setting up foo (1.1.3-4) ... > > > > I am refering to the "/var/cache/apt/archives/foo_1.1.3-4_i386.deb not a > > valid DEB package." error. Any idea why is this happening? > > Could you put this package somewhere so we could take a look on it?
Unfortunately no :( I googled around, and I found some problems related to GNU ar (which is the one I used to create the deb), or related to package signing, but I am still in the dark here. The error itself is generated by apt-extracttemplates,and when I looked with strace, the error is generated in the end (after the components debian_binary, data.tar.gz and control.tar.gz are extracted by ar). I can give you the strace log, if this helps. -- Mugurel Tudor ([EMAIL PROTECTED]) Linux Registered User: 212231 --------------------------------------------------------- In God we Trust. All others must have valid md5 checksums. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

