![]() |
|
Guide CyberPanel Package Manager: Update Ubuntu Packages From the Panel (Tested) - Printable Version +- AdminsForum (https://adminsforum.com) +-- Forum: Free & open-source control panels (https://adminsforum.com/Forum-free-open-source-control-panels) +--- Forum: CyberPanel (https://adminsforum.com/Forum-cyberpanel) +---- Forum: CyberPanel Guides & Tutorials (https://adminsforum.com/Forum-cyberpanel-guides-tutorials) +----- Forum: CyberPanel Security Guides (https://adminsforum.com/Forum-cyberpanel-security-guides) +----- Thread: Guide CyberPanel Package Manager: Update Ubuntu Packages From the Panel (Tested) (/Thread-guide-cyberpanel-package-manager-update-ubuntu-packages-from-the-panel-tested) |
CyberPanel Package Manager: Update Ubuntu Packages From the Panel (Tested) - JAY - 11-07-2026 Keep your CyberPanel server's system packages up to date from the panel Your websites are only as safe as the server under them. Ubuntu ships security fixes for things like OpenSSL, the Linux kernel and system libraries almost every week, and none of that is updated by the CyberPanel upgrade script. CyberPanel 3 has a Package Manager page that runs apt (or yum/dnf on AlmaLinux) for you, so you can see and install these updates without SSH. We tested it on a CyberPanel 3.0.8 server running Ubuntu 24.04. Where to find it Go to Server > Package Manager (the address is /serverstatus/packageManager on port 8090). Only the main admin account can open it. The page has three tabs:
Each row shows the package name, the version you have now and the version you would get. The Details button shows the package information from apt: what it is, what it depends on and its size. Update one package
On our test server, updating libsqlite3-0 took about five seconds and the panel kept working normally. Update everything at once The Update All button runs a full upgrade of every package in the list. This is the same as running apt upgrade over SSH. It is fine for most servers, but do two things first:
Kernel updates need a reboot When you see packages like linux-generic, linux-image-generic and linux-headers-generic in the list, that is a new Linux kernel. Installing it is safe, but the server keeps running the old kernel until you reboot. Over SSH you can check if a reboot is waiting: Code: ls /var/run/reboot-required && cat /var/run/reboot-required.pkgsCode: rebootThe lock button does not hold packages (3.0.8) Each row has a small padlock in the Status column. It is meant to "hold" a package so it is never updated, for example to keep the current kernel. On our 3.0.8 server, clicking it showed "Status updated", but the package stayed unlocked. We checked the page code: when a package is unlocked, the button sends the "unhold" command instead of "hold", so it can never lock anything. If you really need to hold a package, do it over SSH instead: Code: apt-mark hold linux-generic linux-image-generic linux-headers-generic
apt-mark showholdCode: apt-mark unhold linux-generic linux-image-generic linux-headers-genericDoing the same thing over SSH If the page is slow or you prefer the command line, these do exactly what the panel does on Ubuntu: Code: apt update
apt list --upgradable
apt upgrade -yCode: dnf check-update
dnf upgrade -yLet Ubuntu install security fixes by itself If you don't want to remember to check this page, Ubuntu can install security updates automatically every day. It does not install big upgrades or reboot unless you tell it to: Code: apt install unattended-upgrades -y
dpkg-reconfigure -plow unattended-upgradesCommon problems
Tested on CyberPanel 3.0.8 with OpenLiteSpeed on Ubuntu 24.04. If your Package Manager page looks different, post a screenshot below (hide your server IP). More CyberPanel guides
|