[Fink-users] Timeout on virtual dependency prompt?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to install latex2html, and I want to do this without having to babysit the installation in Terminal (i.e. I want to run sudo fink install latex2html and forget it). My problem comes when Fink looks for a TeX installation. It prompts me to specify how I want to satisfy this dependency like so: fink needs help picking an alternative to satisfy a virtual dependency. The candidates: (1) tetex-base: Base programs for a teTeX installation (2) ptex-base: Base programs for a pTeX installation (3) system-tetex: Placeholder package for manually installed teTeX (4) tetex-nox-base: Base programs for a teTeX installation (5) ptex-nox-base: Base programs for a pTeX installation It then hangs until I punch a number. Is there a way to set a timeout value so that FInk will simply select the default value (1) and move forward after a certain amount of time? FinkCommander seems to have this intelligence built into it, but command-line fink just sits there, patiently, waiting for me to answer. I've consulted the FAQ's and man page, but if such a flag is documented, I overlooked it. TIA, Kevin - -- Kevin Walzer Code by Kevin http://www.codebykevin.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF2yNhEsLm8HXyq4sRAkxiAJ9PTmFluNM6rf6rWMd5ogNYMAbcdQCfREzf smqolIAuyBsSIZTNkpjCbOk= =MzHK -END PGP SIGNATURE- - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] Timeout on virtual dependency prompt?
Well, what is supposed to happen is that you are asked all of these questions up front, that is, you ask fink to install foo, it says bar or bas?, you answer, and then it is off and running. Are you experiencing a prompt of this sort in the middle of a fink install rather than at the beginning? If so, that's a bug; please tell us more. -- Dave On Feb 20, 2007, at 8:35 AM, Kevin Walzer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to install latex2html, and I want to do this without having to babysit the installation in Terminal (i.e. I want to run sudo fink install latex2html and forget it). My problem comes when Fink looks for a TeX installation. It prompts me to specify how I want to satisfy this dependency like so: fink needs help picking an alternative to satisfy a virtual dependency. The candidates: (1) tetex-base: Base programs for a teTeX installation (2) ptex-base: Base programs for a pTeX installation (3) system-tetex: Placeholder package for manually installed teTeX (4) tetex-nox-base: Base programs for a teTeX installation (5) ptex-nox-base: Base programs for a pTeX installation It then hangs until I punch a number. Is there a way to set a timeout value so that FInk will simply select the default value (1) and move forward after a certain amount of time? FinkCommander seems to have this intelligence built into it, but command-line fink just sits there, patiently, waiting for me to answer. I've consulted the FAQ's and man page, but if such a flag is documented, I overlooked it. TIA, Kevin - -- Kevin Walzer Code by Kevin http://www.codebykevin.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF2yNhEsLm8HXyq4sRAkxiAJ9PTmFluNM6rf6rWMd5ogNYMAbcdQCfREzf smqolIAuyBsSIZTNkpjCbOk= =MzHK -END PGP SIGNATURE- -- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] Timeout on virtual dependency prompt?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David R. Morrison wrote: Well, what is supposed to happen is that you are asked all of these questions up front, that is, you ask fink to install foo, it says bar or bas?, you answer, and then it is off and running. Are you experiencing a prompt of this sort in the middle of a fink install rather than at the beginning? If so, that's a bug; please tell us more. -- Dave I don't think it's a bug. The system works as you have described it. Perhaps it's a feature request. When I try to run the same operation in FinkCommander, FC presents the same query to the user (Fink needs help to satisfy...). However, there's no way (AFAIK) for FC to capture user input in the little shell it uses for stdout. So it prints the message assuming defaults and proceeds with the installation; I presume it's returning a value of 1 (the first option presented) to Fink under the hood. The problem is, I don't know if this functionality (assuming defaults) is built into FinkCommander or Fink. Grepping the FC source tree for the string assuming defaults yields nothing. I don't understand the structure of the Fink source tree to know where to look for this message. Am I correct that this is a feature of FC and not Fink itself? And if this is built into Fink, how do I configure it? - Kevin Walzer Code by Kevin http://www.codebykevin.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF20cJEsLm8HXyq4sRAhWuAKCFfsNU9h5SZ4DxfIei+emJuOS/wwCfYe6r ruj/Z4jXSGdJIVc/nUgzuA4= =Xs2V -END PGP SIGNATURE- - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] Timeout on virtual dependency prompt?
On Feb 20, 2007, at 11:07 AM, Kevin Walzer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David R. Morrison wrote: Well, what is supposed to happen is that you are asked all of these questions up front, that is, you ask fink to install foo, it says bar or bas?, you answer, and then it is off and running. Are you experiencing a prompt of this sort in the middle of a fink install rather than at the beginning? If so, that's a bug; please tell us more. -- Dave I don't think it's a bug. The system works as you have described it. Perhaps it's a feature request. When I try to run the same operation in FinkCommander, FC presents the same query to the user (Fink needs help to satisfy...). However, there's no way (AFAIK) for FC to capture user input in the little shell it uses for stdout. So it prints the message assuming defaults and proceeds with the installation; I presume it's returning a value of 1 (the first option presented) to Fink under the hood. Well, this is a FC bug IMO, since the user should be given options. But since FC is not under active development any more, it may never be fixed. The problem is, I don't know if this functionality (assuming defaults) is built into FinkCommander or Fink. Grepping the FC source tree for the string assuming defaults yields nothing. I don't understand the structure of the Fink source tree to know where to look for this message. Am I correct that this is a feature of FC and not Fink itself? And if this is built into Fink, how do I configure it? I believe that the '--yes' flag is what you are looking for. See 'man fink'. -- Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] Timeout on virtual dependency prompt?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David R. Morrison wrote: I believe that the '--yes' flag is what you are looking for. See 'man fink'. Cool. That looks like what I need. Thanks. - -- Kevin Walzer Code by Kevin http://www.codebykevin.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF20oeEsLm8HXyq4sRApMxAJ973S4cYVOrM0Qn4jjjRPa6a94jwgCfQCNs NEoY9O1ooMtovMzRvDIUZ3s= =phrz -END PGP SIGNATURE- - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] Timeout on virtual dependency prompt?
On 2/20/07, David R. Morrison [EMAIL PROTECTED] wrote: I believe that the '--yes' flag is what you are looking for. See 'man fink'. That will skip all fink prompts. A more targeted option is to add 'SkipPrompts: virtualdep' to your fink.conf, which will only skip virtual dependency questions. See 'man fink.conf'. Dave (the other one) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users