Turinys
Šiame priede pateikiama informacija apie tai, kaip įsitikinti, kad galite įdiegti ar atnaujinti lenny paketus prieš atnaujinant iki squeeze. Tai būtina tik tam tikrais konkrečiais atvejais.
Iš esmės šis atnaujinimas niekuo nesiskiria nuo kitų lenny atnaujinimų, kuriuos jau darėte. Vienintelis skirtumas yra tai, kad pirmiausia turite įsitikinti, kad paketų sąrašas vis dar turi nuorodą į lenny laidą, kaip tai paaiškinta Skyrius A.2, „APT šaltinių sąrašo tikrinimas“.
Jei atnaujinate iš Debian'o serverio-veidrodžio, tai automatiškai bus atliktas atnaujinimas paskutiniosios lenny laidos.
If any of the lines in your /etc/apt/sources.list
refer
to 'stable', you are effectively already „using“
squeeze. This might not be what you want if you are not ready yet for
the upgrade. If you have already run apt-get update
, you
can still get back without problems following the procedure below.
Jei jau įdiegėte paketus iš squeeze, tai nebėra daug prasmės įdiegti paketus iš lenny. Tokiu atveju turite nuspręsti patys, ar norite tęsti, ar ne. Grįžti prie senų paketų naudojimo įmanoma, bet čia apie tai nekalbėsime.
Atverkite failą /etc/apt/sources.list
savo mėgiamu
redaktoriumi (turėdami administratoriaus root
privilegijas) ir raskite visas eilutes prasidedančias kaip deb
http:
arba deb ftp:
, ir turinčias žodį
„stable
“. Radę tokias eikutes, pakeiskite
žodį stable
į žodį lenny
.
Jei radote eilučių, prasidedančių deb file:
, turite pats
patikrinti, kokie paketai saugomi nurodytame kataloge: ar tai
lenny ar squeeze archyvas.
Svarbu | |
---|---|
Nekeiskite eilutės, prasidedančios |
Jei atlikote kokius nors pakeitimus, išsaugokite failą ir vykdykite komandą
# apt-get update
tam, kad būtų atnaujintas paketų sąrašas.
If your system is localised and is using a locale that is not based on UTF-8 you should strongly consider switching your system over to using UTF-8 locales. In the past, there have been bugs identified that manifest itself only when using a non-UTF-8 locale. On the desktop, such legacy locales are supported through ugly hacks in the libraries internals, and we cannot decently provide support for users who still use them.
To configure your system's locale you can run dpkg-reconfigure locales. Ensure you select an UTF-8 locale when you are presented with the question asking which locale to use as a default in the system. In addition, you should review the locale settings of your users and ensure that they do not have legacy locales definitions in their configuration environment.