# apt-desktop-upgrades The `unattended-upgrades` package is really useful for servers, but I've found that a reasonable amount of desktop software doesn't play well to being replaced *in situ*, while a user is using the desktop. This package is designed to handle desktop upgrades by checking for and downloading package upgrades in the background as they become available, and then applying those upgrades on reboot via the [systemd Offline Updates][] functionality. ## TODO ### apt-listbugs We disable `apt-listbugs` during upgrades, because desktop systems typically use `NetworkManager`, which is not started by default for `offline-updates.target`. And if `apt-listbugs` can't reach the network, it aborts the upgrade. We could try pulling in the network during upgrades, just in case `apt-listbugs` is installed. But that kind of defeats the purpose of "offline updates". Also, it's redundant if `apt-listbugs` isn't installed. And given that this package's target audience is mainly systems that are *not* individually managed by attentive sysadmins, but are as much as possible fire-and-forget, "stable"/LTS systems for users who aren't necessarily in a position to make a decision on whether a bug will affect their workflow, the intersection of those systems with `apt-desktop-upgrades` installed, and those with `apt-listbugs` installed, is probably pretty small. However... It would be nice if it were possible somehow to hook `apt-listbugs` (if it's installed) into the `adu-download` phase of things, and just not download updates for packages which have bugs (or remove already-downloaded updates). So, look into a way of doing that. ## License Copyright © 2022 Adam Spragg apt-desktop-upgrades is free software: you can redistribute it and/or modify under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. apt-desktop-upgrades is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with apt-desktop-upgrades. If not, see . [systemd Offline Updates]: https://www.freedesktop.org/software/systemd/man/systemd.offline-updates.html SPDX-License-Identifier: LGPL-3.0-or-later