Packages and repositories¶
The packages are in signed repositories (the recommended way: install and update with apt or dnf) and as files for a
direct download. The repository is on this site under /repo/.
APT (Debian 12 and 13, Ubuntu 22.04 and 24.04, Raspberry Pi OS)¶
| Suite | Systems | Architectures |
|---|---|---|
bookworm |
Debian 12, Raspberry Pi OS (64-bit and 32-bit) | amd64, arm64, armhf |
trixie |
Debian 13 | amd64, arm64 |
jammy |
Ubuntu 22.04 | amd64 |
noble |
Ubuntu 24.04 | amd64 |
Raspberry Pi OS uses bookworm: arm64 on the 64-bit system, armhf on the 32-bit one. armhf needs ARMv7 (a Raspberry Pi 2
or later, not a Pi 1 or Zero). If a system or an architecture is not in the table, build uFTP from source.
Use the block of your distribution; it downloads the key, adds the repository and installs uftpserver:
Debian 12 (bookworm)
sudo curl -fsSL https://www.uftpserver.com/repo/apt/uftpserver-archive-keyring.gpg -o /usr/share/keyrings/uftpserver-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/uftpserver-archive-keyring.gpg] https://www.uftpserver.com/repo/apt bookworm main" | sudo tee /etc/apt/sources.list.d/uftp.list
sudo apt update && sudo apt install uftpserver
Debian 13 (trixie)
sudo curl -fsSL https://www.uftpserver.com/repo/apt/uftpserver-archive-keyring.gpg -o /usr/share/keyrings/uftpserver-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/uftpserver-archive-keyring.gpg] https://www.uftpserver.com/repo/apt trixie main" | sudo tee /etc/apt/sources.list.d/uftp.list
sudo apt update && sudo apt install uftpserver
Ubuntu 22.04 (jammy)
sudo curl -fsSL https://www.uftpserver.com/repo/apt/uftpserver-archive-keyring.gpg -o /usr/share/keyrings/uftpserver-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/uftpserver-archive-keyring.gpg] https://www.uftpserver.com/repo/apt jammy main" | sudo tee /etc/apt/sources.list.d/uftp.list
sudo apt update && sudo apt install uftpserver
Ubuntu 24.04 (noble)
sudo curl -fsSL https://www.uftpserver.com/repo/apt/uftpserver-archive-keyring.gpg -o /usr/share/keyrings/uftpserver-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/uftpserver-archive-keyring.gpg] https://www.uftpserver.com/repo/apt noble main" | sudo tee /etc/apt/sources.list.d/uftp.list
sudo apt update && sudo apt install uftpserver
The key fingerprint is 3FF5BFFFEEBE3653A3E32F5ABF2B2A110906FBEB. Check it before the first update:
gpg --show-keys /usr/share/keyrings/uftpserver-archive-keyring.gpg
apt checks the InRelease file of the repository with that key at every apt update; a wrong or missing key gives
NO_PUBKEY or The following signatures couldn't be verified.
DNF (Rocky Linux and EL 9 and 10)¶
sudo rpm --import https://www.uftpserver.com/repo/rpm/RPM-GPG-KEY-uftp
sudo curl -fsSL https://www.uftpserver.com/repo/rpm/uftp.repo -o /etc/yum.repos.d/uftp.repo
sudo dnf install uftpserver
The repository file uses el$releasever/$basearch (el9/el10, x86_64/aarch64). The key fingerprint is the same
3FF5BFFFEEBE3653A3E32F5ABF2B2A110906FBEB; it is the public key imported above. dnf checks the signature of every package
(gpgcheck=1). The repository metadata (repomd.xml) are not signed, so the .repo file does not use repo_gpgcheck.
To check a downloaded package:
rpm -K uftpserver-4.4.0-1.el9.x86_64.rpm
Updating¶
sudo apt update && sudo apt upgrade # Debian / Ubuntu
sudo dnf upgrade uftpserver # Rocky / EL
apt upgrade moves to a higher version. When the version is the same (a test server with a rebuilt package), reinstall it:
sudo apt install --reinstall uftpserver or sudo dnf reinstall uftpserver.
Files, without a repository¶
The .deb and .rpm files are on the download page, with a
SHA256SUMS. Install one with sudo apt install ./uftpserver_..._amd64.deb or sudo dnf install ./uftpserver-...rpm.
The files are the same code; the repository adds the signatures on the packages and the automatic updates.
Removing the repository¶
APT: remove the source and the key, then update the lists:
sudo rm /etc/apt/sources.list.d/uftp.list /usr/share/keyrings/uftpserver-archive-keyring.gpg
sudo apt update
DNF: remove the repository file and, if you want, the imported key:
sudo rm /etc/yum.repos.d/uftp.repo
rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\n'
sudo rpm -e <the gpg-pubkey... that you see>
If the signing key changes¶
Download the new key with the same command and replace the files (/usr/share/keyrings/uftpserver-archive-keyring.gpg for APT,
rpm --import for DNF). The old key can be removed after the new one is in place. The fingerprint in the download page and in this
page changes with the key: compare it before the update.
Troubleshooting¶
- 404 on
InRelease: the repository is not published at that URL, or the suite is wrong. NO_PUBKEYor “signatures couldn't be verified”: the key was not downloaded, is old, or does not match the fingerprint.bookwormon Ubuntu /nobleon Debian: use the block of the system; a wrong suite finds no packages or the wrong ones.- “already the newest version” but the file is new: the version number is the same; use
--reinstall(APT) orreinstall(DNF). - No package for the architecture:
trixie,jammyandnobleare not built for every architecture; see the table or build from source.