Gentoo clean up world file


















If you do, then you may be interested in a tiny new tool called eclean-kernel. In simplest words, eclean-kernel could be called an old kernel harvester. Given a few tiny settings, it finds the kernels installed in the system, chooses ones to remove and removes them along with the modules and sources if not used by any other kernel. The usual way of using it is to set it to keep a few newest kernels, and remove all older than them.

To do this, you just need to pass the number as --num. For example:. For non-interactive use, omit --ask ; you can also use --pretend for eclean-kernel to list the kernel versions which would be removed. By default, it preserves all kernels referenced by the bootloader. The --destructive option can be used to disable that. If it fails to detect the correct bootloader or multiple bootloaders are installed , --bootloader option can be used to specify the one to use.

Posted: Thu Feb 18, pm Post subject:. If you want to maintain it, more power to you. You can get the source from the gentoo mirrors just emerge -F udept and copy it somewhere for the updating. It's in gentoolkit and it's worth a shot if things don't work well. Celebrating 5 years of Gentoo-ing. Posted: Mon Feb 22, pm Post subject:. Posted: Tue Feb 23, am Post subject:. I know udept did many more things, but I wrote a quick script to replicate the functionality of checking your world file for entries that could be cleaned.

I've called this script chk-world-deps. Posted: Wed Apr 28, pm Post subject:. Dont Panic wrote:. View unanswered posts View posts from last 24 hours Goto page 1 , 2 , View previous topic :: View next topic. Posted: Sat Feb 28, am Post subject: Clean out your world file. Edit: this script also now contains an "emerge depclean" that actually works, an "emerge prune" that actually looks at your dependencies, and a "qpkg -q" that isn't horribly broken! Of course you need to go through it now and again to remove apps you don't want, but the job's easier if it contains as few 'extra' packages as possible i.

List dependencies and reverse dependencies of packages, and clean the world file and the set of installed packages. Task selection: -h, -? An entry in the world file is redundant if there is another installed package that depends on it.

When merging the new world file, the merging program used is sdiff 1. Back to top. Posted: Sat Feb 28, am Post subject:. That looks quite good to me so I didn't go through the source yet. Posted: Sun Mar 07, pm Post subject:. Great work. Install genlop by issuing:. Overlays vary from very small to very large in size. As a result they slow down the majority of Portage operations. That happens because overlays do not contain metadata caches.

The cache is used to speed up searches and the building of dependency trees. A neat trick is to generate local metadata cache after syncing overlays. This trick also works in conjunction with eix. Use qcheck to verify installed packages:. Learn more about qcheck by reading its manual page:.

Important It is important to read and follow any and all news items that may be listed after performing a repository sync. See detailed instructions about upgrades.



0コメント

  • 1000 / 1000