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

Bug#410418: installation-reports: Successful installation on HP Omnibook 6000



Geoff Simmons wrote:
> After installation, I noticed the sources.list entries contained both the
> 'main' and 'contrib' components for the security sources:
> 
>   deb http://security.debian.org/ etch/updates main contrib
>   deb-src http://security.debian.org/ etch/updates main contrib
> 
> I was expecting just 'main' to appear, as it's the only one I'm using.
> Should components for security sources be amended also?

This is supposed to work by looking at what components are enabled in
sources.list and enabling the same components for security. The code is:

dists="main"
for dist in contrib non-free; do
        if grep -q '^[^#]*'$dist $ROOT/etc/apt/sources.list.new; then
                dists="$dists $dist"
        fi
done

I see a minor bug that can cause this to fail if the mirror's name or path
contains the word "contrib". Just fixed that. Otherwise, I don't see how it
could have added contrib for security. Can you send a full copy of your
sources.list?

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: