Unmerging mail-mta/ssmtp deletes the /usr/lib symlink and zeroes permissions on /usr/lib64/. Reproducible: Always $ sudo emerge --unmerge ssmtp mail-mta/ssmtp selected: 2.61-r2 protected: none omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging mail-mta/ssmtp-2.61-r2... No package files given... Grabbing a set. --- !found obj /usr/share/man/man8/ssmtp.8.bz2 --- !found obj /usr/share/doc/ssmtp-2.61-r2/TLS.bz2 --- !found obj /usr/share/doc/ssmtp-2.61-r2/README.bz2 --- !found obj /usr/share/doc/ssmtp-2.61-r2/INSTALL.bz2 --- !found obj /usr/share/doc/ssmtp-2.61-r2/DESC.bz2 --- !found obj /usr/share/doc/ssmtp-2.61-r2/CHANGELOG_OLD.bz2 --- !found dir /usr/share/doc/ssmtp-2.61-r2 --- !found obj /usr/sbin/ssmtp --- !found sym /usr/sbin/sendmail --- !found sym /usr/lib/sendmail <<< dir /usr/lib --- !found sym /usr/bin/newaliases --- !found sym /usr/bin/mailq --- !found obj /etc/ssmtp/ssmtp.conf.orig --- !found obj /etc/ssmtp/ssmtp.conf --- !found obj /etc/ssmtp/revaliases --- !found dir /etc/ssmtp --- !empty dir /usr/share/man/man8 --- !empty dir /usr/share/man --- !empty dir /usr/share/doc --- !empty dir /usr/share --- !empty dir /usr/sbin --- !empty dir /usr/bin --- !empty dir /usr --- !empty dir /etc [ssmtp-2.61-r2] bash: /usr/lib/portage/bin/ebuild.sh: No such file or directory !!! FAILED postrm: 127 A removal phase of the 'mail-mta/ssmtp-2.61-r2' package has failed with exit value 127. The problem occurred while executing the ebuild located at '/var/db/pkg/mail-mta/ssmtp-2.61-r2/ssmtp-2.61-r2.ebuild'. If necessary, manually remove the ebuild in order to skip the execution of removal phases.
*** This bug has been marked as a duplicate of bug 182157 ***