[Pkg-ia32-libs-maintainers] Bug#492978: Bug#492978: ia32-apt-get upgrade dropped lines from source.list

Goswin von Brederlow goswin-v-b at web.de
Mon Jun 29 15:37:02 UTC 2009


Lionel Elie Mamane <lionel at mamane.lu> writes:

> Package: ia32-apt-get
> Version: 18
> Severity: normal
>
> Not sure if it is the same bug, but for me it *dropped* a line and
> added lines that were not there. My source.list was (taken from a
> backup in the night):
>
> lionelm at hair-dryer:~/O/etc/apt$ cat sources.list
> deb     http://ftp.nl.debian.org/debian/ squeeze main contrib non-free
> deb     http://ftp.nl.debian.org/debian/ sid     main contrib non-free
> deb-src http://ftp.nl.debian.org/debian/ sid     main contrib non-free
>
> deb     http://security.eu.debian.org/ squeeze/updates main contrib non-free
> deb-src http://security.eu.debian.org/ squeeze/updates main contrib non-free
>
>
> ### ia32-apt-get entries ###
>
> #deb http://ftp.surfnet.nl/os/Linux/distr/debian/ lenny-i386 main
> #deb http://ftp.surfnet.nl/os/Linux/distr/debian/ sid-i386 main
>
> #deb http://security.eu.debian.org/ lenny/updates-i386 main
>
> lionelm at hair-dryer:~/O/etc/apt$ find native/ foreign/ -type f | while read f; do echo ------------; echo $f; echo --------------; cat $f; done
> ------------
> native/sources.list
> --------------
> deb http://ftp.surfnet.nl/os/Linux/distr/debian/ lenny main
> deb http://ftp.surfnet.nl/os/Linux/distr/debian/ sid main
> deb-src http://ftp.surfnet.nl/os/Linux/distr/debian/ lenny main
>
> deb http://security.eu.debian.org/ lenny/updates main
> deb-src http://security.eu.debian.org/ lenny/updates main
> ------------
> foreign/sources.list
> --------------
> deb http://ftp.surfnet.nl/os/Linux/distr/debian/ lenny main
> deb http://ftp.surfnet.nl/os/Linux/distr/debian/ sid main
> deb-src http://ftp.surfnet.nl/os/Linux/distr/debian/ lenny main
>
> deb http://security.eu.debian.org/ lenny/updates main
> deb-src http://security.eu.debian.org/ lenny/updates main
>
> I have no idea where these "native" and "foreign" files come from, I
> just edited sources.list, removed all ia32-apt-get lines (they were
> giving me too much trouble and grey hair) and switched to squeeze when
> lenny became stable.

That comes from the ia32-apt-get prior to version 15, which was in
violation of policy by modifying the sources.list directly. Version 15
introduced a new way that leaves all conffiles as they are and only
creates new ones with a clear prefix to avoid name clashes. Updating
from <= 14 undoes the modifications to sources.list by restoring the
original file.

So that is what you are seeing. See
/usr/share/doc/ia32-apt-get/NEWS.Debian.gz for a description of how it
works now.

MfG
        Goswin





More information about the Pkg-ia32-libs-maintainers mailing list