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

Re: Not a valid DEB package error



În data de Ma, 25-01-2005 la 16:57 +0200, Mugurel Tudor a scris:
> Hi,
> 
> 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):
> 

I have to mention also that I created the package with ar (the version
from debian). I put together a debian_binary, a control.tar.gz and a
data.tar.gz with something like this:

ar cr foo-1.1.3-4.deb debian_binary control.tar.gz data.tar.gz


> # 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?
> 
> Thanks in advance.
> -- 
> Mugurel Tudor (mugurelu@go.ro)
> Linux Registered User: 212231
> ---------------------------------------------------------
> In God we Trust. All others must have valid md5 checksums.
> 
> 
-- 
Mugurel Tudor (mugurelu@go.ro)
Linux Registered User: 212231
---------------------------------------------------------
In God we Trust. All others must have valid md5 checksums.



Reply to: