在 Debian 上 FileZilla 报错 的原因有很多,下面我按常见情况给你分类排查和修复方法。你可以对照自己的报错信息来试。
报错示例:
filezilla: error while loading shared libraries: libxxx.so.x: cannot open shared object file
✅ 解决:
sudo apt update
sudo apt install -f
sudo apt install filezilla
如果还缺库:
ldd $(which filezilla)
根据缺失的 .so 安装对应包。
报错示例:
Error: GnuTLS error -110: The TLS connection was non-properly terminated
或
Could not connect to server
✅ 解决:
sudo apt install filezilla --reinstall
sudo ufw disable
报错示例:
Could not start transfer
Permission denied
✅ 解决:
sudo chown -R $USER:$USER ~/Downloads
或确认远程目录有写权限。
报错示例:
Gtk: failed to initialize
✅ 解决:
export GDK_BACKEND=x11
filezilla
或编辑:
nano ~/.profile
加入:
export GDK_BACKEND=x11
Debian stable 的 FileZilla 可能很老。
✅ 解决(推荐):
sudo apt remove filezilla
sudo apt install flatpak
flatpak install flathub org.filezillaproject.FileZilla
sudo apt update
sudo apt upgrade
sudo apt install -f
filezilla
请贴出:
cat /etc/os-release)我可以一步一步帮你修 ✅