View previous topic :: View next topic |
Author |
Message |
pa4wdh l33t
Joined: 16 Dec 2005 Posts: 806
|
Posted: Sat Nov 13, 2021 8:37 am Post subject: Removing old binutlis |
|
|
Hi All,
I've always been a bit careful with removing old binutils versions. as a result i got quite a list now and it's time to clean up
The newest version is selected now and everything seems to work as it should. Is there anything special i should do before/after i remove old binutils versions? _________________ The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world
My shared code repository: https://code.pa4wdh.nl.eu.org
Music, Free as in Freedom: https://www.jamendo.com |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54097 Location: 56N 3W
|
Posted: Sat Nov 13, 2021 11:28 am Post subject: |
|
|
pa4wdh,
I use Code: | emerge -c binutils:slot1 binutils:slot2 ... | to clean up binutils.
Likewise for gcc and the kernel as I like to keep at least two versions of each, just in case.
The above should be safe.
If you have anything installed that must have an old version, emerge will not remove it.
You would need to use to see what needed the old version. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
pa4wdh l33t
Joined: 16 Dec 2005 Posts: 806
|
Posted: Sat Nov 13, 2021 1:58 pm Post subject: |
|
|
Thanks for your answer NeddySeagoon.
To me this sounds like depclean will do the right thing? Keeping the ones that are needed as dependencies of other packages and removing the rest? _________________ The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world
My shared code repository: https://code.pa4wdh.nl.eu.org
Music, Free as in Freedom: https://www.jamendo.com |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54097 Location: 56N 3W
|
Posted: Sat Nov 13, 2021 3:43 pm Post subject: |
|
|
pa4wdh,
It should do. Trust but verify :)
I've never forgiven --depclean for ripping out glibc, many years ago. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
pa4wdh l33t
Joined: 16 Dec 2005 Posts: 806
|
Posted: Sat Nov 13, 2021 4:15 pm Post subject: |
|
|
Removing glibc is indeed a big mistake
I'm always careful with depclean but thanks for the warning _________________ The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world
My shared code repository: https://code.pa4wdh.nl.eu.org
Music, Free as in Freedom: https://www.jamendo.com |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2913 Location: Edge of marsh USA
|
Posted: Sun Nov 14, 2021 1:51 am Post subject: |
|
|
depclean has become so much smarter in this age. I'm finding I can actually trust it, as long as I read the output and adjust accordingly. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/17.1/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20054
|
Posted: Sun Nov 14, 2021 5:57 pm Post subject: |
|
|
NeddySeagoon wrote: | pa4wdh,
I use Code: | emerge -c binutils:slot1 binutils:slot2 ... | to clean up binutils.
Likewise for gcc and the kernel as I like to keep at least two versions of each, just in case.
The above should be safe.
If you have anything installed that must have an old version, emerge will not remove it.
You would need to use to see what needed the old version. | What about programs in memory? Might they have issues if a version they used when started was removed? With the binutils post upgrade message to source /etc/profile and the package description -- Tools necessary to build programs -- I've never quite been sure what is going on and needs to happen. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|