View previous topic :: View next topic |
Author |
Message |
wanne32 Tux's lil' helper
Joined: 11 Nov 2023 Posts: 75
|
Posted: Fri Jan 10, 2025 10:52 am Post subject: [solved]proper unmerge |
|
|
Is there a way to remove a package with all packages that depend on it?
Last edited by wanne32 on Fri Jan 10, 2025 12:14 pm; edited 1 time in total |
|
Back to top |
|
|
freke Veteran
Joined: 23 Jan 2003 Posts: 1043 Location: Somewhere in Denmark
|
Posted: Fri Jan 10, 2025 11:34 am Post subject: |
|
|
...
Edited... - didn't mean to suggest using --unmerge - dunno what I was thinking
Last edited by freke on Fri Jan 10, 2025 11:41 am; edited 2 times in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54680 Location: 56N 3W
|
Posted: Fri Jan 10, 2025 11:39 am Post subject: |
|
|
wanne32,
Code: | emerge -cva <package> | will refuse to remove <package> if something depends on it.
That's always good to know, --unmerge will rip out <package> regardless.
With <package> gone, as freke says, --depclean will remove any dependencies that were unique to <package>. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4685 Location: Germany
|
Posted: Fri Jan 10, 2025 12:11 pm Post subject: proper unmerge |
|
|
Code: | emerge --deselect cat/pkg
emerge -a --depclean |
|
|
Back to top |
|
|
wanne32 Tux's lil' helper
Joined: 11 Nov 2023 Posts: 75
|
Posted: Fri Jan 10, 2025 12:15 pm Post subject: |
|
|
@NeddySeagoon: Thanks!
@Josef.95: Won't work since there are packages that still depend it. |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4685 Location: Germany
|
Posted: Fri Jan 10, 2025 2:06 pm Post subject: |
|
|
wanne32 wrote: | Won't work since there are packages that still depend it. | Yes, this the good thing, with this way it don't breaks reverse deps |
|
Back to top |
|
|
|