[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Enorme connerie



Nicolas Rueff a écrit, mercredi 31 décembre 2003, à 12:56 :
[...]
> Fixup:
> apt-get install --reinstall `dpkg -S /bin | tr -d \, | cut -f1 -d\:`
> 
> ( pour info chez moi (SID): 
> bash-2.05b$ dpkg -S /bin | tr -d \, | cut -f1 -d\:
> pdksh ash bash util-linux zsh cpio netcat sed setserial net-tools grep
> hostname sysvinit netkit-ping lzop gzip tcsh lsb-release pciutils tar
> modutils ed grub base-files mount portmap iproute dash coreutils
> debianutils linuxconf login module-init-tools procps console-tools
> psmisc bsdutils
> )

Pinaillage : certains paquets demandent le répertoire /bin ... sans rien
y mettre.

 $ dpkg -S /bin | sed '$s!: /bin$!!;s!, !\n!g' | sort > tmp/paq0
 $ dpkg -S '/bin/*' | cut -d\: -f1 | sort -u > tmp/paq1
 $ diff -y --suppress-common-lines tmp/paq[01]
base-files						      <
bsdutils						      <
netbase							      <
portmap							      <

 $ <idem> | cut -d'<' -f1 | xargs dpkg -L | grep ^/bin
/bin
/bin
/bin
/bin


Bonne soirée à tous,
-- 
Jacques L'helgoualc'h



Reply to: