Sumari
Este apèndix conté informació de com instal·lar o actualitzar els paquets d'stretch abans d'actualitzar a buster. Açò tan sols serà necessari en algunes situacions concretes.
Bàsicament no hi ha diferències entre qualsevol altra actualització d'stretch que ja hàgiu fet. L'única diferència és que necessitareu primer assegurar-vos que la vostra llista de paquets encara conté referències a stretch tal com s'explica a Secció A.2, «Comprovació dels fitxers de llista de fonts d'APT».
Si actualitzeu el vostre sistema utilitzant una rèplica de Debian, s'actualitzarà de forma automàtica a l'últim revisió del llançament d'stretch.
If any of the lines in your APT source-list files (see sources.list(5))
contain references to «stable
», this is
effectively pointing to buster already. This might not be what you
want if you are not yet ready for the upgrade. If you have already run
apt update, you can still get back without problems by
following the procedure below.
If you have also already installed packages from buster, there probably is not much point in installing packages from stretch anymore. In that case you will have to decide for yourself whether you want to continue or not. It is possible to downgrade packages, but that is not covered here.
As root, open the relevant APT source-list file (such as
/etc/apt/sources.list
) with your favorite editor, and
check all lines beginning with deb http:
, deb
https:
, deb tor+http:
, deb
tor+https:
, URIs: http:
, URIs:
https:
, URIs: tor+http:
or URIs:
tor+https:
for a reference to
«stable
». If you find any, change
stable
to stretch
.
If you have any lines starting with deb file:
or
URIs: file:
, you will have to check for yourself if the
location they refer to contains a stretch or buster archive.
![]() | Important |
---|---|
Do not change any lines that begin with |
Si heu fet algun canvi, guardeu el fitxer i executeu
# apt update
per refrescar la llista de paquets.
Before upgrading your system to buster, it is recommended to remove
old configuration files (such as *.dpkg-{new,old}
files
under /etc
) from the system.
Using a legacy non-UTF-8 locale has been unsupported by desktops and other mainstream software projects for a long time. Such locales should be upgraded by running dpkg-reconfigure locales and selecting a UTF-8 default. You should also ensure that users are not overriding the default to use a legacy locale in their environment.