Linux

Duplicating world

This command will install all of the files in the old_world_file (/var/lib/portage/world) while also adding them to the world of the new machine. The –noreplace was added in case some packages had already been installed, in order to avoid repeating one’s self. emerge -va –noreplace $(cat old_world_file)

Read More
Linux

Deleted ._cfg files

With –noconfmem, portage will “forget” that it has already made a ._cfg file for a CONFIG_PROTECT file, thus causing portage to reinstall the ._cfg file needed for updating.

Read More
Linux

rpm and yum stop working on Fedora Core 5

yum and rpm stop doing their magic because of corrupt files etc and no updates can be performed on the system. A simple, but maybe not recommended solution is to delete the files located in /var/lib/rpm -rw-r–r– 1 root root 0 Jan 22 10:10 __db.000 -rw-r–r– 1 root root 24576 Jan 19 17:12 __db.001 -rw-r–r– […]

Read More