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

Bug#217014: apt-utils: [apt-ftparchive] add Architecture filter support



On Wed, 22 Oct 2003, Guillem Jover wrote:

> I'm using apt-ftparchive with a pool style repository, but it did not
> filter the debs to be put on Packages depending on Architecture. So
> every package in the pool was repeated in every Packages file regardless
> of its Architecture.

Correct. That is really the defined behavior for this function.

If you change it to use the architecture field then I fear there is a risk
it could break someone elses configuration.

With a pool it is expected that some other program will make the
selections as to which package goes into which packagefile via the
FileList setting. This is better because it doesn't have to scan the .debs
to determine the architecture.

If you are using the usual filenames you can just use a simple find
command to produce the file lists before invoking apt. 

Jason




Reply to: