On Wed, Feb 28, 2024 at 08:47:48AM -0600, rhys@neoquasar.org wrote:
> > From: Gioele Barabucci <gioele@svario.it>
> > Sent: Wednesday, February 28, 2024 08:22
> > To: debian-devel@lists.debian.org
> > Subject: Re: On merging bin and sbin
> >
> > On 28/02/24 14:12, rhys wrote:
> > > Last thing: The idea of detecting cases where multiple binaries have the same name is a verey good one. It should also be possible to automate this effort in a number of ways. I would be happy to help with this, if it's just a matter of someone putting in the effort. A number of "crude by effective" methods have already come to mind, some of which only require access to the repos to accomplish. (The laziest method involves having a test machine with EVERY package installed... but I'm not sure if that is practical.)
> >
> > Contents-{all,amd64} has most of the info you need. dumat.db has _all_
> > the info you need (and cacin is using that).
> >
> > This is a quick'n'dirty list of binaries present in both /bin and /sbin:
> >
> > arping bin net/iputils-arping sbin net/arping (+ Conflicts:)
> > bitesize bin devel/ubuntu-dev-tools sbin misc/libbpf-tools
> > crm bin mail/crm114 sbin admin/crmsh
> > fai bin python/python3-flask-autoindex sbin admin/fai-client
> > faxq bin comm/mgetty-fax sbin comm/hylafax-server (+ Conflicts:)
> > gearmand bin perl/gearman-server sbin misc/gearman-job-server
> > htpasswd bin httpd/apache2-utils sbin web/merecat (+ Conflicts:)
> > ipp* bin net/ippsample sbin net/cups-ipp-utils (+ Conflicts:)
> > newaliases bin mail/esmtp-run sbin
> > mail/courier-mta,mail/opensmtpd,mail/ssmtp (+ Conflicts: + Provide:)
> > raddebug bin libs/librad0-tools sbin net/freeradius
> > sendfax bin comm/hylafax-client sbin comm/mgetty-fax (+ Conflicts:)
> > sethdlc bin hamradio/ax25-tools sbin comm/dahdi
> > siggen bin sound/siggen sbin utils/tripwire
> > sslh bin perl/libnet-proxy-perl sbin net/sslh (+ Conflicts:)
> > tcpconnect bin net/tcputils sbin misc/libbpf-tools
> > tcpd bin graphics/tcm sbin net/tcpd
> > update-locale bin web/gosa-dev sbin localization/locales
>
> Are any of these (like arping) literally duplicates of the same binary for some reason? Or are they true conflicts (different binaries with the same name)?
I don't know about many of the others (although I have my suspicions), but
the two programs that just happen to both be called arping are not
the same at all: they have different functionality, conflicting
command-line options, etc.
G'luck,
Peter
--
Peter Pentchev roam@ringlet.net roam@debian.org pp@storpool.com
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13
Attachment:
signature.asc
Description: PGP signature