Это старая версия документа!
Содержание
Отслеживание обновлений
Work in progress.
В процессе перевода.
Стабильная ветка
После выпуска новой версии Slackware команда разработчиков, если необходимо, выпускает обновлённые пакеты для исправления проблем безопасности или отдельных опасных ошибок. Поэтому важно своевременно устанавливать все заплатки для вашей версии Slackware, которую будем называть -stable (стабильной) веткой. Ещё существует ветка -current (текущая), где ведётся разработка следующего стабильного выпуска (и поэтому тут часты существенные изменения), и если не хотите работать с возможно повреждённой системой и исправлять повреждения самостоятельно, мы решительно рекомендуем использовать стабильную ветку.
Поскольку обновления для стабильной ветки на дисках не распространяются, их нужно получать из Интернета.
Многие люди и организации поддерживают зеркала, с которых можно различными способами загрузить дерево Slackware целиком (или только каталог заплаток patches/
).
Поскольку многие зеркала доступны в паутине, наиболее распространённый путь – получение обновлений через серверы ftp и/или rsync.
Проект Slackware ведёт небольшой список известных зеркал (по странам).
Если не уверены, какое зеркало использовать, посмотрите в списке http://www.slackware.com/getslack/.
Если рядом с вами есть крупный университет, велика вероятность, что он поддерживает зеркало некоторых проектов с исходным кодом, Slackware может быть в их числе.
Единственное существенное требование к зеркалу – его полнота; обычно предпочтительно использовать зеркало неподалёку для ускорения загрузки и снижения количества используемых ресурсов Интернет.
Как узнать о выходе обновлений?
Наилучший способ – посмотреть ChangeLog.txt
на любом актуальном зеркале.
Актуальные журналы изменений для текущей и последней стабильной веток доступны на сайте Slackware, но если используете более старую версию Slackware, придётся обращаться к зеркалам.
darkstar:~# wget -O - \ ftp://slackware.osuosl.org/pub/slackware/slackware64-current/ChangeLog.txt \ | less Thu Aug 16 04:01:31 UTC 2012 Getting close! Hopefully we've cleared out most of the remaining issues and are nearly ready here. We'll call this release candidate 2. Unless there's a very good rationale, versions are frozen. Any reports of remaining bugs will be gladly taken, though. #include <more/cowbell.h> a/aaa_base-14.0-x86_64-4.txz: Rebuilt. Remove mention of HAL in the initial welcome email (mention udisks2 instead). Thanks to Dave Margell. a/bash-4.2.037-x86_64-1.txz: Upgraded.
Security Update Mailing List
While the Slackware team does release updated bugfix-only packages (i.e. not security fixes) occasionally, you're probably most interested in security fixes for vulnerabilities discovered after the -stable release. The Slackware Project maintains a mailing list that will notify you of any updated packages for such serious issues. In order to subscribe to the mailing list, send an e-mail to majordomo@slackware.com with the words subscribe slackware-security in the body of the message. The majordomo will be happy to add your name to the list, and when new packages are released, it will mail an advisory to you.
Upgrading Slackware Versions
Now that we've gone this far, you should feel reasonably competent in your ability to manage your Slackware system. But what do we do with it when there's a new release? Updating from one release of Slackware to another is a lot more complicated than simply updating a few packages. Each release changes a lot of things, and while many of these changes are small, some of them can completely break your system if you haven't prepared for them and/or don't understand what is changing and why. While some Linux distributions provide highly automated tools that attempt to handle every tiny detail for you, Slackware takes a much more hands-on approach to things.
The very first thing you should do before attempting an upgrade is the one that many people neglect: decide if it's really necessary to upgrade. If the old system is stable and doing everything you want it to do, there may be no need to do an operating system upgrade at all.
Assuming you decide to do the upgrade, then the second thing you
should do is read the CHANGES_AND_HINTS.TXT
file
on your upgrade discs or a mirror. This file is updated during the
development period before every release, and it lists a lot of helpful
hints and tips to aid you in dealing with the changes.
Finally, read the UPGRADE.TXT
file before
proceeding. After doing these things, you may decide that it's less
trouble and potential for problems to backup your configuration files
and data and do a fresh installation of the new Slackware release
rather than attempt a possibly tricky upgrade. However, if you still
wish to continue, make backups of your data and configuration files
first. At a minimum, it's good practice to backup the
/etc
and /home
directories.
This will give you a chance to perform a reinstall if something goes
wrong with the upgrade.
Since every new version of Slackware has a few differences, giving complete instructions here is not only futile but potentially misleading. You should always consult the documentation included on your Slackware disks or your favorite mirror.
Chapter Navigation
Previous Chapter: Package Management
Next Chapter: The Linux Kernel
Sources
- Original source: http://www.slackbook.org/beta
- Originally written by Alan Hicks, Chris Lumens, David Cantrell, Logan Johnson