[Pkg-mc-devel] Bug#582078: Bug#582078: mc: postin runs dpkg-architecture from dpkg-dev but not depend on dpkg-dev

Hilmar Preusse hille42 at web.de
Tue May 18 08:51:31 UTC 2010

On 18.05.10 Yury V. Zaytsev (yury at shurup.com) wrote:
> On Tue, 2010-05-18 at 09:35 +0200, Hilmar Preusse wrote:


> > I guess simply putting dpkg-dev to the depends is not the best
> > solution.  Plase use another method to determine the arch or
> > check if dpkg-architecture is available before calling it.
> I need to set an SGID bit, if the machine is running linux kernel. In
> future, I would need to detect kfreebsd as well. The bits for Hurd will
> probably never be implemented.
Does it hurt to set the SGID bit unconditionally?

> Is there any other way to detect the architecture in such a case? I
> did some research, but the references to dpkg-architecture are all
> that I could find.
No sorry, I can't help here. I guess the right ML to ask would be
debian-devel. However I'm not a DD, hence I have nor experience with

sigmentation fault

More information about the Pkg-mc-devel mailing list