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

Re: simple-cdd 0.3.7 seems not adding packages other than "main" ones



On Fri, Oct 31, 2008 at 10:29:22AM -0200, Lucas Brasilino wrote:
> Maybe a bug, maybe a issue or maybe I'm messing things up but simple-cdd
> 0.3.7 is not including packages other than 'main'. 

simple-cdd defaults to just using main.

to also use contrib and non-free, in profiles/default.conf (or any
profiles/*.conf you're using):

  mirror_components="main contrib non-free"

> Continuing to try to add a jre package, I've downloaded with apt-get in a
> etch box the "sun-java5-jre" one. It's brought me down the following packages
> as dependencies:
>
> java-common
> libltdl3
> odbcinst1debian1
> sun-java5-bin
> unixodbc
> 
> So I put them all in my local packages directory and added at my
> profile (profile/my.packages).
> As building the image using:
> 
> build-simple-cdd --graphical-installer --profiles my \
> 	 --keyboard br-abnt2 --locale pt_BR --auto-profiles my \
> 	 --debian-mirror http://ftp.br.debian.org/debian \
>          --local-packages custom-packages --dist etch
> 
> It's exits with an error:
> 
> ERROR: missing required packages from profile NAME:  sun-java5-bin sun-java5-jre
> make: ** [debian-test-image] Erro 1

look in $your_simple_cdd_dir/tmp/cd-build/$DIST/*log* (log.list2cds.i386 on my
test lenny install) for a file that contains the dependency resolution. it may
require additional packages you already had on your initial system.
 
> There's also interesting logs:
> 
> custom-packages/sun-java5-jre_1.5.0-14-1etch1_all.deb: component
> guessed as 'main'
> custom-packages/sun-java5-bin_1.5.0-14-1etch1_i386.deb: component
> guessed as 'main'

the --local-packages handling has no way of discovering where the package came
from, so it sticks it in the default component.
 
live well,
  vagrant


Reply to: