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
相关推荐
欧云服务器6 天前
怎么让脚本命令可以同时在centos、debian、ubuntu执行?
ubuntu·centos·debian
~远在太平洋~6 天前
Debian系统如何删除多余的kernel
linux·网络·debian
~远在太平洋~6 天前
debian系统已安装python3.12却无法执行python命令
chrome·python·debian
木子欢儿9 天前
在 Debian 13(以及 12)上安装和配置 tightvncserver 并让普通用户使
运维·前端·debian
l1t16 天前
在debian 13.1容器中安装使用redrock postgresql
运维·postgresql·debian
木子欢儿17 天前
debian 13 安装配置ftp 创建用户admin可以访问 /mnt/Data/
linux·运维·服务器·数据库·debian
地球空间-技术小鱼17 天前
搜罗Linux桌面环境(Desktop Environments)列表
linux·运维·服务器·笔记·学习·ubuntu·debian
木子欢儿18 天前
Debian挂载飞牛OS创建的RAID分区和Btrfs分区指南
运维·debian
市安19 天前
基于Debain构建Ngxin镜像
运维·nginx·docker·云原生·容器·debian·镜像
henry10101019 天前
Debian/Ubuntu EC2实例上一键部署WireGuard
ubuntu·云计算·debian·aws