slack-update is an update helper for Slackware, modelled on Arch Update. It tells you when updates exist, runs the update steps in order with safety checks, and reports third-party packages that an update has broken. slackpkg keeps its own dialogs, and you keep the decisions.
$ slack-update status
State: updates available
There are new ChangeLog entries since the last `slackpkg update`.
Last check: 2026-11-29 14:05, succeeded
$ slack-update upgrade
- Stock Slackware packages, through
slackpkg:update,install-new,upgrade-allandclean-system, with a check of the kernel and of the boot loader after them. - SlackBuilds.org packages, through
sbopkg, when it is installed. - Flatpak applications, when Flatpak is installed.
- The Cinnamon desktop built from Cinnamon SlackBuilds (csb), when it is installed. Its packages are built only by a run started from a text console (tty); a run started in a desktop, or from the tray, leaves them pending.
- A breakage check of third-party packages, before and after the upgrade or by itself.
- A notification when updates become available, and an optional tray icon.
It depends only on packages that are part of Slackware; sbopkg and Flatpak are used when they are there.
Everything was tested on one machine, the author's: Slackware64 -current, GRUB
on EFI, and plain slackpkg. upgrade runs commands as root, so before it asks for
a password it checks that the installed release and the mirror are -current, that
GRUB on EFI is there and lilo and elilo are not, and that slackpkg has no plug-in.
Otherwise it refuses, and says which value it found; Slackware 16.0 is refused. It
does not check the architecture, nor whether another boot manager, such as
systemd-boot or rEFInd, starts the machine: do not use upgrade where one of them
differs.
| Desktop | Tray tested |
|---|---|
| Cinnamon, X11 | 2026-11-21 |
| Cinnamon, Wayland, Muffin 6.8.0 or later | 2026-11-21 |
| KDE Plasma, X11 and Wayland | 2026-11-21 |
| Xfce, X11 and Wayland | 2026-11-21 |
The update cycle has done real runs on the same machine since 2026-11-14. The full support matrix is in ROADMAP.md, and the test record says how each part was tested.
check, status, watch, broken and the tray need no root and do not refuse
elsewhere, but they were not tested there. With slackpkg+, upgrade refuses;
check, status and broken were measured with slackpkg+ 1.8.4 (see
slackpkg+).
- No command that changes packages or boot files runs without your confirmation,
in the tool's own question or in that of slackpkg, sbopkg or Flatpak.
upgraderefuses when slackpkg is set to answer its own prompts (pre-flight checks). - slackpkg's exit code alone is never taken as success: a step is done only when its
result can be seen, and an update check that got no recognised answer from slackpkg
has failed, and does not say "no new updates" (upgrade,
states). An SBo or csb package that cannot be compared is
named in
statusand not counted. - Root is used only when the checks above pass, and is obtained once. The manual lists the commands run as root.
- The tool itself never downgrades a package, never moves one to another source,
never edits
/etc/slackpkg/blacklistand never resolves a.newfile (limits). broken,check,watchand the tray refuse to run as root.
- That the system works, or boots, after an upgrade. The tool checks the kernel,
its modules, its initrd and
grub.cfg, and says what it found (kernel and boot loader). - That an upgrade can be undone. There is no rollback: make a backup or a snapshot first.
- That every breakage is found.
brokenends with the list of what it does not check (breakage check). - That "no new updates" means that every package is up to date (states).
- The safety of what others publish. The sources of csb are downloaded as root with no checksum (csb).
- Protection from your own account: any process of your user can type into the tmux session of a run, the part that runs as root included (if the terminal closes).
Download the version in a directory of your own, as a normal user, and unpack it:
wget https://github.com/promano7/slack-update/archive/refs/tags/v0.1.0.tar.gz
tar xf v0.1.0.tar.gz
cd slack-update-0.1.0The list of versions shows whether there is a newer one. Then build it, and install it as root:
make
su -c "make install" # asks for the root passwordThe tray is optional, and has its own targets:
make tray
su -c "make install-tray"If you use sudo, write sudo make install and sudo make install-tray instead.
Then log out and in again, so that the update check (slack-update watch), and the
tray, start. BUILD.md has the requirements and the directories.
As a normal user:
| Command | Does |
|---|---|
slack-update upgrade |
Runs the update cycle. --sudo gets root with sudo instead of su; --no-clean-system leaves out clean-system. |
slack-update attach |
Goes back to a run whose terminal was closed. |
slack-update broken |
Reports third-party packages that an upgrade has broken. |
slack-update check |
Asks now whether there are updates. |
slack-update status |
Shows the result of the last check. |
slack-update watch |
Checks now and then, and notifies. Started at login. |
man slack-update has the options and the exit statuses, and
docs/manual.md everything else. To turn off what starts at login,
see "Autostart" there, for watch and for the
tray.
Cinnamon SlackBuilds (csb) packages are built only by a run started from a text console (tty). That is the full-screen text login of the system, not a terminal window of the desktop: the build replaces files of the desktop that may be running. Without csb packages you do not need this.
- Save your work and log out of the desktop.
- Press
Ctrl+Alt+F2. A screen withlogin:appears. In a virtual machine the keys may go to the host; VirtualBox sends them with its Host key andF2. - Log in with your own user name and password, not as root. The password is not shown while you type it.
- Run
slack-update upgrade, and answer its questions. - When it has ended, type
exit, and go back to the graphical login, usually withCtrl+Alt+F7. When the run says that a restart is needed, restart instead.
If you start your desktop with startx, leaving it brings you back to a text console
(tty): go on at step 4.
To install a newer version, run the commands of "Install" again with its number, and
log out and in again: the running watch and tray are still the old ones. Do not
do it while an upgrade is running.
To remove it, run these in the directory of its source (slack-update-0.1.0, or unpack
it again), and then log out, as the running watch and tray go on until then:
su -c "make uninstall"
su -c "make uninstall-tray" # when the tray was installedThese stay, and can be removed by hand:
| Path | Content |
|---|---|
/var/log/slack-update/ |
The journals of the runs. Keep them if you want to know what a run did. |
/var/lib/slack-update/ |
The state of the last run, and root's copy of the csb repository. |
~/.local/state/slack-update/ |
Each user's check results and logs. |
~/.cache/slack-update/ |
Each user's copies of the SBo and csb repositories. |
~/.config/autostart/slack-update-*.desktop |
Each user's copies, when the start at login was turned off. |
installed release is 16.0; only current is supported, or the same of the mirror, the bootloader or the slackpkg variant.upgraderuns only on the tested configurations.slackpkg+ is installed, and upgrade does not run on a system that has it. Turning slackpkg+ off in its configuration does not change this; removing the package does. See slackpkg+.State: check failed.slack-update statusgives the reason; the reasons are in states.slackpkg cannot answer until the next slackpkg update. Runslack-update upgrade, which makes that update. Whereupgraderefuses, runslackpkg updateand thenslackpkg install-newandslackpkg upgrade-allas root: after the first one alone, the next check says "no new updates" while packages are still waiting. The cases are in states.a slackpkg lock file names a process that is not running, ora slackpkg lock exists. If no slackpkg is running, as root remove the file that it left,/var/lock/slackpkg.and a number. slackpkg leaves it when its window is closed.- The terminal was closed during a run. The run goes on:
slack-update attach. another run of slack-update is in progress. Useslack-update attach, when the run is yours.csb updates are pending: run slack-update upgrade from a text console (tty). The run was started in the desktop, so the csb packages were left; see from a text console (tty).A restart is needed to use the new kernel.Restart when you can.Do not restart the machine. The check of the kernel or of the boot loader failed. Follow the commands of the summary before you restart; see kernel and boot loader.- No tray icon. The panel must show StatusNotifier items; on Cinnamon, the XApp
status applet must be on it.
~/.local/state/slack-update/tray.logsaysno tray host on the session buswhen none was found. See when there is no tray.
| Term | Meaning |
|---|---|
| Configuration | One row of the support matrix: release, boot loader, slackpkg variant and desktop. The desktop matters only for the tray. |
| Former stock | A package with no tag, not in Slackware's package list, that the ChangeLog records as removed. |
| Restart pending | The running kernel is not the installed one. |
| Root phase | The one part of upgrade that runs as root, the program slack-update-root. |
| Run | One execution of slack-update upgrade, from its checks to its summary. |
| Stock | A package whose name and tag are on one stock line of Slackware's package list. |
| Tag | What follows the build number and names where a package comes from: _SBo for SlackBuilds.org, _csb for Cinnamon SlackBuilds. Most stock packages have none. |
| Text console (tty) | The full-screen text login that Ctrl+Alt+F2 opens, not a terminal window of the desktop. |
| Third-party | Every other installed package. |
- docs/manual.md: the manual.
- CHANGELOG.md: what each version brought.
- BUILD.md: how to build, test, install and release.
- ROADMAP.md: the plan, its progress and its decisions.
- docs/verified-facts.md: behaviour of Slackware's tools as checked on a real machine.
- docs/design/: the design of each milestone.
- concepts_brief.md: the design review behind the plan.
slack-update is free software, released under the GNU General Public License, version 3 or later. See COPYING.