debian杂项

  • 移除非 Debian 软件包
bash 复制代码
apt list '?narrow(?installed, ?not(?origin(Debian)))'
  • 清理配置文件残留
bash 复制代码
find /etc -name '*.dpkg-*' -o -name '*.ucf-*' -o -name '*.merge-error'
  • 清理已删除的软件包
bash 复制代码
#显示列表
apt list '~c'
#清理
apt purge '~c'
  • 过时的软件包
bash 复制代码
#显示列表
apt list '~o'
#清理
apt purge '~o'
  • 变更源现代格式
bash 复制代码
apt modernize-sources
#有些源需要手动写入限制64位
Architectures: amd64
相关推荐
qetfw1 天前
Debian SSH 安全配置:端口、来源限制与免密登录
linux·安全·debian·ssh
quweiie5 天前
debian13安装meson和libvips
debian·meson·libvips
qetfw7 天前
Debian iSCSI Target 与 open-iscsi:LVM 后端、ACL 与客户端验证
linux·服务器·debian·php
qetfw9 天前
Debian Chrony 时间同步、RAID5 与 LUKS 磁盘加密配置
linux·debian
ZMacros10 天前
Live-build方法构建debian和ubuntu
linux·ubuntu·debian
皓月盈江10 天前
Linux Debian系统安装Google Chrome谷歌浏览器教程
linux·chrome·debian·谷歌浏览器
qetfw11 天前
Debian 综合服务实训:Apache2、Samba、LDAP、vsftpd 与 OpenVPN
linux·服务器·debian
明王明王11 天前
PVE 上用 SPICE:统一连接 Debian、Arch 和 Windows 11 桌面
运维·windows·debian
qetfw22 天前
Debian SSH 与 SFTP 分离:独立端口、Chroot 隔离与 internal-sftp
debian·ssh
qetfw24 天前
Debian Squid 代理与反向代理:ACL、3128 端口与验证
debian·squid