[Pkg-mc-devel] Bug#582078: Bug#582078: mc: postin runs dpkg-architecture from dpkg-dev but not depend on dpkg-dev
Yury V. Zaytsev
yury at shurup.com
Tue May 18 08:36:33 UTC 2010
Hi!
On Tue, 2010-05-18 at 09:35 +0200, Hilmar Preusse wrote:
> Indeed the postin script calls dpkg-architecture from dpkg-dev, which is not
> installed on that box. Interestingly the script does not fail, but reports
> the package to be fully set up -> Severity normal.
This is my fault! I've taken these bits from mediatomb package, but it
does not depend upon dpkg-dev...
> 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.
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.
Thanks!
--
Sincerely yours,
Yury V. Zaytsev
More information about the Pkg-mc-devel
mailing list