(from http://www.yatblog.com/2007/04/22/cleaning-up-your-ubuntu-installation/)
After upgrading my Ubuntu 6.10 installation to the newest 7.04 (Feisty Fawn) over a thousand packages were upgraded. So it’s obvious that there were left some dependencies which are not needed anymore. Sure everything still works, but I like to clean up things on Operating Systems I use productively. That’s why I wrote a script to clean up those dependencies with a single command. Here’s what you should do if you want to clean up your Ubuntu Installation (no matter which version) as well:
- Download and install the deborphan package. This is the application that finds unnecessary dependencies: “sudo apt-get install deborphan”
- Execute this command until there are no more dependencies: “apt-get remove $(deborphan)”
Alternatively, you can also put that command into a script, if you don’t want to remember that line:
- Download the script here: del_orph_pkgs.txt
- Change the filename from “del_orph_pkgs.txt” to “del_orph_pkgs.sh” and do a “chmod +x del_orph_pkgs.sh” so we can execute it.
- Execute the script with “sudo del_orph_pkgs.sh” multiple times until it won’t find anymore dependencies. This is necessary, because those libraries, which are not needed anymore, might have dependencies them self, which become obsolete. So another execution cycle will eliminate those as well.
分享到:
相关推荐
"The steps to cleaning up a system.zip" 文件很可能包含了一套详细的操作指南,帮助用户有效地清理他们的系统。下面将详细介绍这个过程,并提供一些关键知识点。 1. **检查并删除临时文件**:系统在运行过程中会...
《win7-usb-3.0制作工具:高效便捷的系统安装新途径》 在数字化时代,电脑系统安装不再局限于传统的光盘,U盘作为便携式的存储设备,逐渐成为系统安装的主流方式。"win7-usb-3.0制作工具"就是这样一款专为制作U盘...
Kaxaml is a lightweight XAML ... It also has some basic support for intellisense and some fun plugins (including one for snippets, one for cleaning up your XAML and for rendering your XAML to an image).
Enables the reader to design data cleaning processes for either one-off analytical purposes or for setting up production systems that clean data on a regular basis. Explores statistical techniques for...
If you are a data scientist of any level, beginners included, and interested in cleaning up your data, this is the book for you! Experience with Python or PHP is assumed, but no previous knowledge of ...
MAGIX Video Sound Cleaning Lab.part3MAGIX Video Sound Cleaning Lab.part3MAGIX Video Sound Cleaning Lab.part3
### Cody's Data Cleaning Techniques Using SAS 2nd Edition #### 核心知识点概览: 1. **数据清理的重要性** 2. **使用 PROC FREQ 列出字符变量的值** 3. **利用 DATA 步骤检查无效值** 4. **介绍 VERIFY、TRIM...
This is codes for quiz for "getting and cleaning data" in coursera.
这是因为系统镜像文件未完全加载成功,且开始执行"Starting Cleaning Up and Shutting Down Daemons."守护程序时,出现网络不稳定现象,则导致守护程序执行失败打印,以及系统 halt。 四、解决方案 为了解决该问题...
MAGIX Video Sound Cleaning Lab.part1MAGIX Video Sound Cleaning Lab.part1MAGIX Video Sound Cleaning Lab.part1
MAGIX Video Sound Cleaning Lab.part2MAGIX Video Sound Cleaning Lab.part2MAGIX Video Sound Cleaning Lab.part2
This is notes for "getting and cleaning data" using swirl package
在使用U盘安装原版Windows 7系统时,可能会遇到一个常见的问题,即在安装过程中出现“缺少所需的CD/DVD驱动器设备驱动程序”的错误提示,导致安装进程受阻。这个错误是由于Windows 7安装程序无法正确识别IDE类型的...
昆腾磁带库(ScalarI40/I80)设置清洁槽和导入清洁磁带的步骤涉及几个关键的技术知识点,具体包括Web用户界面(WebGUI)操作、磁带库分区设置、清洁槽配置、清洁磁带的导入以及锁定/解锁I/E(输入/输出)站的流程。...
chapter shows you how to set up a list so that your data is entered accurately and completely. It shows you how to set up your data so that you can easily get whatever you need out of it later on. It ...
This is notes for "getting and cleaning data" in coursera
This is notes for "getting and cleaning data" in coursera.
### 清理网站使用Ajax:创建下一代高度动态、可离线使用的Web应用 #### 标题解析 - **清理网站使用Ajax**:标题暗示了文章的主题是关于如何利用Ajax技术来改进现有网站的功能与用户体验。 - **创建下一代高度动态、...
《data_cleaning_scitech.pdf》文档提供了关于数据清洗过程中的各种知识点和技术操作。以下将详细阐述文档中的核心内容。 首先,文档提及了数据变量的统计检验,包括峰度检验(kurtosistest)、正态性检验...