[debian-edu-commits] [Debian Wiki] Update of "DebianEdu/Documentation/Buster/Maintenance" by WolfgangSchweer
Debian Wiki
wiki at debian.org
Wed Feb 13 11:20:43 GMT 2019
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.
The "DebianEdu/Documentation/Buster/Maintenance" page has been changed by WolfgangSchweer:
https://wiki.debian.org/DebianEdu/Documentation/Buster/Maintenance?action=diff&rev1=3&rev2=4
Comment:
ltsp-chroot has been improved since some time...
Using {{{apt-get}}} is really simply. To update a system you need to execute two commands on the command line as root: {{{apt-get update}}} (which updates the lists of available packages) and {{{apt-get upgrade}}} (which upgrades the packages for which an upgrade is available).
- As Debian Edu uses libpam-tmpdir, setting a per user TMP directory, it is a good idea to run apt-get without the TMP and TMPDIR variables set in the LTSP chroot. It is also a good idea to upgrade using the C locale to get known output and sorting order, even though that making a difference is a bug in a package.
+ It is also a good idea to upgrade using the C locale to get known output and sorting order, even though that making a difference is a bug in a package.
{{{
- LC_ALL=C apt-get update ; LC_ALL=C TMP= TMPDIR= ltsp-chroot apt-get update
+ LC_ALL=C apt-get update ; LC_ALL=C ltsp-chroot apt-get update
LC_ALL=C apt-get upgrade -y
- LC_ALL=C TMP= TMPDIR= ltsp-chroot -p apt-get upgrade -y
+ LC_ALL=C ltsp-chroot -m apt-get upgrade -y
ltsp-update-kernels # If a new kernel was installed
ltsp-update-image
}}}
More information about the debian-edu-commits
mailing list