User:Sam/Portage help/Maintaining a Gentoo system

There are a few things I end up repeating quite often in #gentoo and the forums.

What's normal?
Upgrades are not supposed to be hard. Furthermore, they're not hard for most Gentoo users.

But I don't deny that some people experience issues. A fair amount of such cases are because of old, outdated, or bad habits, which then lead to people avoiding upgrades, and then the problem gets worse.

World file hygiene
This is easily the most important point: your world file at should only contain things you personally want.

It should not contain (non-exhaustive list):
 * 1) libraries (unless you want them for development);
 * 2) packages you had to re-emerge to try fix something

Erroneous entries in your world file will lead to blockers when e.g. a library becomes obsolete or replaced, leading you to have to fix the problem when for most people, it'll be resolved automatically.

Example
is absorbing (the details aren't relevant here, but see ).

If one has in your world file, you are telling Portage you must have it. And it will try very, very hard to honour your request, like so:

Note that the main reason it is pulling in e2fsprogs-libs here is:. This means it's in your world file! It's trying hard to hold onto it because you told it to.

(Note that it mentions Samba and mit-krb5 but these should be noise as a result of it discounting changing to e2fsprogs due to -libs being in world.)

The solution:

Now Portage is no longer instructed to keep -libs and should proceed to upgrade.