Summary: | The handbook should NOT even document portage's --unmerge command and should replace all --unmerge information with --depclean | ||
---|---|---|---|
Product: | [OLD] Docs on www.gentoo.org | Reporter: | Jeff (JD) Horelick (RETIRED) <jdhore> |
Component: | Installation Handbook | Assignee: | Docs Team <docs-team> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | dev-portage, dwfreed, gokturk, jdhore, luke-jr+gentoobugs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jeff (JD) Horelick (RETIRED)
![]() I disagree with hiding it entirely; with Portage 2.2's preserved-libs feature, there's a good chance it won't break anything even if they depend on it. I do this pretty often because I have software that needs both (incompatible) versions of miniupnpc... (In reply to comment #1) > I disagree with hiding it entirely; with Portage 2.2's preserved-libs feature, Except not everybody uses Portage 2.2. And from a user support standpoint, it's easier to tell one person that --unmerge exists than to walk 50 people through fixing their now broken system because they used --unmerge when --depclean would have saved them. I don't see why this would even be considered. The emerge --unmerge way is the primary way of removing packages, so there is no errata in that portion of the section. Sure, --depclean can be nice, but you can't unmerge something *now* without updating world first. So, I must upgrade, for example openoffice, libreoffic, kde-meta, or anything else, in order to unmerge something trvial like eject ? Teaching that to a new user still learning the basics from the handbook is teaching them a gentoo experience of waiting ages to do even simple tasks and isn't going to make them happy. Another downside is that it would be inserting another layer between learning users and what is going on. If a user is going to foolishly --unmerge gcc or their libc or something else critical, they same user is going to find a way to force --depclean to do it for them anyway; this wouldn't prevent much harm, it would just acknowledge an expected dumbing down of the target userbase and imply that users can't be trusted to remove packages without a crutch. If --depclean needs to be discussed further, then the discussion should be added, but that would still not render --depclean the primary method of package removal. (In reply to comment #3) > I don't see why this would even be considered. The emerge --unmerge way is the > primary way of removing packages, so there is no errata in that portion of the > section. > > Sure, --depclean can be nice, but you can't unmerge something *now* without > updating world first. So, I must upgrade, for example openoffice, libreoffic, > kde-meta, or anything else, in order to unmerge something trvial like eject ? > Teaching that to a new user still learning the basics from the handbook is > teaching them a gentoo experience of waiting ages to do even simple tasks and > isn't going to make them happy. > > Another downside is that it would be inserting another layer between learning > users and what is going on. If a user is going to foolishly --unmerge gcc or > their libc or something else critical, they same user is going to find a way to > force --depclean to do it for them anyway; this wouldn't prevent much harm, it > would just acknowledge an expected dumbing down of the target userbase and > imply that users can't be trusted to remove packages without a crutch. > > If --depclean needs to be discussed further, then the discussion should be > added, but that would still not render --depclean the primary method of package > removal. yup. stays as-is for the time being. (In reply to comment #3) > I don't see why this would even be considered. The emerge --unmerge way is the > primary way of removing packages, so there is no errata in that portion of the > section. Nobody should be using --unmerge as it may break installed packages dependencies. It should only be used in situations where you have to break them to get around some other problem. > > Sure, --depclean can be nice, but you can't unmerge something *now* without > updating world first. So, I must upgrade, for example openoffice, libreoffic, > kde-meta, or anything else, in order to unmerge something trvial like eject ? > Teaching that to a new user still learning the basics from the handbook is > teaching them a gentoo experience of waiting ages to do even simple tasks and > isn't going to make them happy. It's not true that you have to update everything. The handbook is wrong there too. What is true is that you need to not have unsatisfied dependencies for your installed packages. Incidentally exactly these unsatisfied dependencies are created by --unmerge. > > Another downside is that it would be inserting another layer between learning > users and what is going on. If a user is going to foolishly --unmerge gcc or > their libc or something else critical, they same user is going to find a way to > force --depclean to do it for them anyway; this wouldn't prevent much harm, it > would just acknowledge an expected dumbing down of the target userbase and > imply that users can't be trusted to remove packages without a crutch. > Does that mean that you look at the entire dependency tree of @world before you remove a package with --unmerge? I don't think users would assume that I think they are dump if I don't expect that from them. > If --depclean needs to be discussed further, then the discussion should be > added, but that would still not render --depclean the primary method of package > removal. (In reply to comment #4) [...] > > yup. stays as-is for the time being. What's the reason for this decision? |