Updating an offline Debian system
Command Line – apt-offline

© Lead Image © nath anantachoke, 123rf.com
This new utility lets you update a system that is not connected to the Internet.
Debian's APT package manager has dozens of utilities. Apparently, though, there is always room for one more. In 2022, apt-offline
appeared [1] and was soon judged "amazing" on the TLDR website [2]. Written by Ritesh Raj Sarraf, apt-offline
fills a gap in the array of APT utilities by providing a systematic means of updating the packages on an offline machine. As Sarraf writes on the project's GitHub site, "Most people with slow or no Internet connection (mostly people from third-world countries), may not have considered using Debian (or Debian derived distributions), because Debian's real taste is experienced when it is connected to the Internet. This utility is an attempt [to eradicate] that problem."
Today, apt-offline
is compatible with most Debian-based systems and available from their repositories. However, Linux TLDR advises against installing from Ubuntu 22.04 LTS or Ubuntu 20.04 LTS because they use an old version of apt-offline
that "has Python-related deprecation issues." Instead, TLDR suggests installing apt-offline
v1.8.5 from Ubuntu 23.04 or later, using, if necessary,
sudo apt --fix-broken install
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

News
-
Linux Kernel 6.17 is Available
Linus Torvalds has announced that the latest kernel has been released with plenty of core improvements and even more hardware support.
-
Kali Linux 2025.3 Released with New Hacking Tools
If you're a Kali Linux fan, you'll be glad to know that the third release of this famous pen-testing distribution is now available with updates for key components.
-
Zorin OS 18 Beta Available for Testing
The latest release from the team behind Zorin OS is ready for public testing, and it includes plenty of improvements to make it more powerful, user-friendly, and productive.
-
Fedora Linux 43 Beta Now Available for Testing
Fedora Linux 43 Beta ships with Gnome 49 and KDE Plasma 6.4 (and other goodies).
-
USB4 Maintainer Leaves Intel
Michael Jamet, one of the primary maintainers of USB4 and Thunderbolt drivers, has left Intel, leaving a gaping hole for the Linux community to deal with.
-
Budgie 10.9.3 Now Available
The latest version of this elegant and configurable Linux desktop aligns with changes in Gnome 49.
-
KDE Linux Alpha Available for Daring Users
It's official, KDE Linux has arrived, but it's not quite ready for prime time.
-
AMD Initiates Graphics Driver Updates for Linux Kernel 6.18
This new AMD update focuses on power management, display handling, and hardware support for Radeon GPUs.
-
AerynOS Alpha Release Available
With a choice of several desktop environments, AerynOS 2025.08 is almost ready to be your next operating system.
-
AUR Repository Still Under DDoS Attack
Arch User Repository continues to be under a DDoS attack that has been going on for more than two weeks.