"Eugene V. Lyubimkin" <jackyf.de...@gmail.com> writes:

>> Cupt will need a wrapper so "cupt update" works right. The wrapper
>> could also set the option to ignore signature checks other than when
>> downloading. So that would work.
>> 
>> Does cupt have an equivalent to
>> 
>> apt-get.real --no-list-cleanup --no-download update
>> 
>> That just parses the existing Packages files and updates its caches
>> without fetching any files. This needs to be run by ia32-apt-get after
>> mangling the Packages files to fit (in the cupt wrapper).
> Cupt doesn't have any cache files for indexes, it generates them on the fly by
> demand. Does this remove the problem for cupt update (besides the security
> problem above which will be fixed)?

It removes the problem but not the need for a wrapper.

The wrapper needs to run

  cups \
      -o Dir::Etc::sourcelist=/etc/apt/$ARCH/sources.list \
      -o Dir::Etc::sourceparts=/etc/apt/$ARCH/sources.list.d \
      -o Dir::State=$LISTDIR/$ARCH \
      -o Dir::Cache=/var/cache/apt/$ARCH \
      -o Apt::Architecture=$ARCH \
      update

for each architecture and then mangle the Packages files for
non-native architectures. I hope cups supports all those options and
passing them on the command line.

MfG
        Goswin



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to