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
相关推荐
2601_9679873715 天前
Debian如何配置Python调试工具
python·debian·pdb·调试工具·ipdb
jiecy19 天前
在 ARM 的 UOS 系统里布署 WebDav
arm开发·docker·debian
小雉系统22 天前
BcoreOS实战:用一个升级包,让Rocky Linux跑进Debian服务器
linux·运维·服务器·debian
谙弆悕博士22 天前
debian快速换源
linux·运维·windows·debian·下载·换源·网络问题
木子欢儿1 个月前
Debian 13 + vsftpd 搭建FTP服务
linux·服务器·前端·网络·debian
hqzing1 个月前
在鸿蒙 PC 上使用 apt 安装 Debian 软件包(非虚拟机、非容器)
华为·debian·harmonyos
Strugglingler1 个月前
debian打包干货
debian·deb
皓月盈江1 个月前
Linux Debian下STM32CubeProgrammer串口连接失败解决方案
linux·stm32·debian·串口下载·stm32f103c8t6·usb转ttl·stm32cubepro
qetfw1 个月前
Debian iptables 防火墙:默认拒绝、SNAT 与 DNAT 验证
linux·服务器·debian·php
qetfw1 个月前
Debian SSH 安全配置:端口、来源限制与免密登录
linux·安全·debian·ssh