Package: usrmerge
Version : ?
When updating one of my old laptop, apt failed due to usrmerge detecting
duplicates between /bin and /usr/bin. usrmerge forced me to solve theses
duplicates by hand, which is a quite dangerous thing to ask to an user...
I tried to solve it by hand one by one, but when I noticed there were
hundred of duplicates, I tried to automate it a little... and of course
it was bound to happen, I didn't noticed that among the duplicates there
were symbolic links... and I lost bash and other commands...
usrmerge shouldn't encourage such dangerous behavior, and should protect
a little more the users that can always do mistakes, and will always do
mistakes (sometimes we are tired, hurried, etc). /usr/bin and /bin
directories are quite sensitive and should be treated with great care.
I think usrmerge should have done the following :
- print the number of duplicates ;
- print the number of symbolic links ;
- offer several merging methods :
- keep /bin ;
- keep /usr/bin ;
- keep the most recent ;
- keep /bin or /usr/bin depending on their order in the $PATH ;
- personalized : ask a y/n question for each duplicates.
Cordially,
--
<https://migdal.ovh> Denis MIGDAL <https://migdal.ovh> - Maître de
conférences
Enseignement: /IUT d'Aurillac
<https://www.iut-clermont.fr/tag/aurillac/>, département STID
<https://stid.iut-clermont.fr/>/
Recherche: /Laboratoire d'Informatique, de Modélisation et
d'Optimisation des Systèmes (LIMOS)/ <https://limos.fr/>
/https://migdal.ovh/ <https://migdal.ovh>
<https://iut.uca.fr> Facebook UCA
<https://www.facebook.com/universite.clermont.auvergne> Twitter UCA
<https://twitter.com/UCAuvergne> Instagram UCA
<https://www.instagram.com/UniversiteClermontAuvergne>
100 rue de l'Egalité - 15013 Aurillac
www.uca.fr <https://www.uca.fr>
Mail:denis.mig...@uca.fr +33 (0)4 00 00 00 00