system admin

Dist-upgrading Ubuntu with not enough free disk space

Some tips on upgrading Ubuntu with short disk space. I took the following "external storage" approach when I successfully upgraded my Ubuntu system from version 9.04 to 9.10, and 9.10 to 10.04 despite the initial shortage of disk space.

Probing installed packages/files efficiently using dlocate command

It is crucial to efficiently probe packages and files that are already installed on your Linux system, like

  • finding the package that a particular file on your system is belonging to,
  • checking filenames that are contained in an already installed package.

Recently, I have found that using dlocate command rather than dpkg possibly boosts productivity in doing so. Compared to dpkg, dlocate excels particularly in

  • search speed,
  • search space,
Syndicate content