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
相关推荐
AI帮小忙1 天前
Debian系linux操作系统里安装OpenClaw
linux·运维·debian
sxd20014 天前
Debian #1135514 bug引发的思考
网络·debian·bug
一池秋_7 天前
chroot-debian一键部署
android·容器·debian
来点抹茶吗10 天前
U-Boot、内核移植与根文件系统构建(BeagleBone Green Gateway&AM335X)
linux·嵌入式硬件·ubuntu·debian
赵民勇12 天前
Debian包systemd服务处理
debian
轻帆向远12 天前
Debian 旧版源配置指南:国内镜像加速与 archive.debian.org 替代方案
网络·debian·apt
tianyuanwo17 天前
Debian 系统 deb 仓库管理与配置完全指南
debian·deb
WXDcsdn17 天前
新安装的Debian 12系统开启root用户和ssh登录权限
运维·debian·ssh
fiveym18 天前
Debian 12 PXE 安装报错:Bad archive mirror 复合型故障排查全记录
运维·服务器·debian·php
fiveym20 天前
PXE安装Debian报错:GRUB安装失败排查指南
运维·debian