I'm trying to creat a .deb that, as part of its installation process, pings an external server.

So I have an install_foobar script which does the install.

However, I can't get install_foobar to curl out to the server, or, for that matter, echo out to /tmp.

What is the environment that is created? I am wondering if its some sort of pbuilder-esque world that is removed after the install finishes...

link|improve this question

33% accept rate
Paul, you need to clarify here. There are preinstall, and postinstall scripts that run.. Where is install_foobar script running? How did you package it? I suggest reading this page, specifically section 7.6: debian.org/doc/manuals/debian-faq/ch-pkg_basics.html – balloons Feb 22 at 19:56
@balloons: I haven't the faintest idea. I was handed the package and I'm working on getting it working correctly. I can assure you I've read the debian guide cover to cover and I have not found illumination in it. I'm building it with dpkg-buildpackage. The rules file is the %: dh $@ rules. – Paul Nathan Feb 22 at 22:56
If this is an open source package, you might get a bit more help if you link out or otherwise include the package info. I'm afraid I can't give you anymore info as-is -- it's too vague for me at least to follow what your trying to do. Sorry mate :-( – balloons Feb 27 at 22:21
@balloons: I am sorry too! This is an in-house package. One of my colleagues says that dpkg -i executes in a sort of chroot environment. – Paul Nathan Feb 28 at 2:43
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.