Re: file-roller: Can't open .deb by default (aka should recommend binutils)
On Sat, 2009-02-14 at 12:31:14 +0100, Frank Lin PIAT wrote:
> In Bug 515175, Frank Lin PIAT wrote:
> > Package: file-roller
> > Version: 2.22.4-2
> > Severity: normal
> > On a default gnome-desktop system (Lenny), .deb files (application/x-deb)
> > are associated with file-roller, but it can't open it.
> > Please recommend or depend on the package binutils (which provides
> > /bin/ar).
> 1. Should file-roller (and similar programs) use /bin/ar or dpkg-deb to
> extract the contents of archives?
> If it should use /bin/ar, then wouldn't it be sensible to move ar
> to another package than binutils, so we don't need to install on
> all gnome dsktops?
Ideally it should try to use dpkg-deb if that's present, and fallback
to use ar otherwise.
> On the other hand, if (Gnome) file-roller were to use dpkg-deb, it
> would be probably be broken on rpm based distributions.
AFAIK on rpm based distros ar is also generally provided by the binutils
package. So this is something that has to be fixed by the package
metadata, either making file-roller.rpm depend on binutils.rpm or
dpkg.rpm (if they have that).