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

Re: multistrap fails when aptsources not specified



On Fri, 8 Jul 2011 13:12:06 +0200
"Wachholz, Ruediger" <Ruediger.Wachholz@siemens-enterprise.com> wrote:

> multistrap fails when aptsources is not specified within multistrap.conf:

Please file a bug report (severity normal), the --simulate option
should prevent that from being a problem. 
 
> As the embedded system i'm thinking of will not be allowed to be updated by apt 
> i think it should be valid not to specify any update repositories, isn't it?

The aptsources will be a single file, two lines long. If you specify
cleanup=true then the actual apt cache data will be removed, as will
all the packages in /var/cache/apt/archives, so having a dummy apt
sources list is not a burden to the system.

Many embedded systems do still want to have apt available.

> Or do i have a wrong understanding of aptsources?

This is more the territory of Emdebian Baked - if you don't have apt,
you need to consider why this choice is made:

0: You don't have space for apt - it isn't that large and the larger
dependencies will likely be brought in by apt

1: If you remove apt for reasons of space, dpkg should also be removed
for the same reasons but this is a lot harder to do

2: As above, to simply not let your space be taken up by
the /var/lib/apt/lists and /var/cache/apt/pkgcache.bin, then just
specify cleanup=true to multistrap.


-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: pgp5ZaaX4L_74.pgp
Description: PGP signature


Reply to: