polarina@unix-polarina ~ $ emerge -pv lua These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-lang/lua-5.1.2-r1 [5.1.1-r2] USE="readline -static" 210 kB Total: 1 package (1 upgrade), Size of downloads: 210 kB polarina@unix-polarina ~ $ emerge -pv --update --deep --newuse world These are the packages that would be merged, in order: Calculating world dependencies... done! Total: 0 packages, Size of downloads: 0 kB polarina@unix-polarina ~ $ ## This looks odd at first, but it isn't when you think smart. ## Maybe after a sync, all applications that I had that depended on lua don't ## depend on it anymore. ## Because of that, "emerge --deepclean" must want to remove lua, right? polarina@unix-polarina ~ $ emerge -pv --depclean *** WARNING *** Depclean may break link level dependencies. Thus, it is *** WARNING *** recommended to use a tool such as `revdep-rebuild` (from *** WARNING *** app-portage/gentoolkit) in order to detect such breakage. *** WARNING *** *** WARNING *** Also study the list of packages to be cleaned for any obvious *** WARNING *** mistakes. Packages that are part of the world set will always *** WARNING *** be kept. They can be manually added to this set with *** WARNING *** `emerge --noreplace `. Packages that are listed in *** WARNING *** package.provided (see portage(5)) will be removed by *** WARNING *** depclean, even if they are part of the world set. *** WARNING *** *** WARNING *** As a safety measure, depclean will not remove any packages *** WARNING *** unless *all* required dependencies have been resolved. As a *** WARNING *** consequence, it is often necessary to run *** WARNING *** `emerge --update --newuse --deep world` prior to depclean. Calculating dependencies... done! >>> These are the packages that would be unmerged: sys-libs/db selected: 4.2.52_p4-r2 protected: none omitted: 4.3.29-r2 dev-perl/Archive-Zip selected: 1.16 protected: none omitted: none app-text/hunspell selected: 1.1.4-r1 protected: none omitted: none app-text/texi2html selected: 1.76 protected: none omitted: none app-admin/eselect-oodict selected: 20060706 protected: none omitted: none sys-apps/hotplug-base selected: 20040401 protected: none omitted: none dev-libs/boost selected: 1.33.1-r1 protected: none omitted: none net-nds/openldap selected: 2.3.24-r1 protected: none omitted: none app-text/enscript selected: 1.6.4-r2 protected: none omitted: none virtual/libstdc++ selected: 3.3 protected: none omitted: none sys-libs/libstdc++-v3 selected: 3.3.4 protected: none omitted: none dev-libs/icu selected: 3.6 protected: none omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. Packages installed: 620 Packages in world: 29 Packages in system: 56 Unique package names: 620 Required packages: 608 Number to remove: 12 polarina@unix-polarina ~ $ ## It doesn't want to remove lua! There must be something wrong... :S