Your message dated Fri, 29 Mar 2024 09:56:11 +0100
with message-id <[email protected]>
and subject line Re: Bug#1067932: usrmerge is dangerous : lost bash and other
commands
has caused the Debian Bug report #1067932,
regarding usrmerge is dangerous : lost bash and other commands
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1067932: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067932
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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:[email protected] +33 (0)4 00 00 00 00
--- End Message ---
--- Begin Message ---
On Mar 29, Denis Migdal <[email protected]> wrote:
> 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
Sorry, your system was already badly broken.
Duplicate files NEVER happen on a normal Debian system: hundreds of
thousands have been converted and nobody reported this problem.
Checking for duplicates is just a safety measure: if there are too many
to fix them manually then you are better off reinstalling.
--
ciao,
Marco
signature.asc
Description: PGP signature
--- End Message ---