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

Bug#57146: When potato goes stable, non-US will break



Package: apt
Version: 0.3.17

Existing slink users, whose sources.list file refers to stable non-US,
will have trouble when stable changes from ->slink to ->potato because
the non-US section is now subdivided.

I suggest a post-inst script which searches the sources.list file
for any lines containing "non-US" not followed by a "/".  If such
are found, the user is told about the change, the existing version
is renamed and a new version is created which expands each of those
lines into three with the three "/main" "/contrib" "/non-free"
suffixes added in turn.  I don't think the installation needs to
stop to tell the user about the change; it'll be in the logfile.

This means that, whether the user has manually changed from "stable"
to "frozen" now, or is being affected when the stable is changed,
will find themselves able to retrieve the new version of "apt"
but not (initially) anything that is non-US.  Only after the new
apt has installed and configured itself will the sources file
change so that a subsequent update will pick up the new locations.

This postinst script should obviously _not_ be put in the slink version!


Reply to: