Advertisement
Guest User

debconf-over-ssh

a guest
Nov 13th, 2011
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.53 KB | None | 0 0
  1. root@workstation:/home/andrey/buildarea# ssh root@localhost "echo 'sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean false' | debconf-set-selections"
  2. root@localhost's password:
  3. root@workstation:/home/andrey/buildarea# debconf-show sun-java6-jre
  4. * shared/accepted-sun-dlj-v1-1: false
  5. sun-java6-jre/stopthread: true
  6. sun-java6-jre/jcepolicy:
  7. * shared/error-sun-dlj-v1-1:
  8. * shared/present-sun-dlj-v1-1:
  9. root@workstation:/home/andrey/buildarea# ssh root@localhost "aptitude -y reinstall sun-java6-jre"
  10. root@localhost's password:
  11. Reading package lists...
  12. Building dependency tree...
  13. Reading state information...
  14. Reading extended state information...
  15. Initialising package states...
  16. Writing extended state information...
  17. The following packages will be REINSTALLED:
  18. sun-java6-jre
  19. 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 168 not upgraded.
  20. Need to get 0 B/6,381 kB of archives. After unpacking 0 B will be used.
  21. Writing extended state information...
  22. debconf: Unable to initialise frontend: Dialog
  23. debconf: (TERM is not set so the dialogue frontend is not usable.)
  24. debconf: falling back to frontend: Readline
  25. debconf: Unable to initialise frontend: Readline
  26. debconf: (This frontend requires a controlling tty.)
  27. debconf: falling back to frontend: Teletype
  28. dpkg-preconfigure: Unable to re-open stdin:
  29. (Reading database ... 161723 files and directories currently installed.)
  30. Preparing to replace sun-java6-jre 6.26-1~lffl~oneiric~ppa (using .../sun-java6-jre_6.26-1~lffl~oneiric~ppa_all.deb) ...
  31. debconf: Unable to initialise frontend: Dialog
  32. debconf: (TERM is not set so the dialogue frontend is not usable.)
  33. debconf: falling back to frontend: Readline
  34. debconf: Unable to initialise frontend: Readline
  35. debconf: (This frontend requires a controlling tty.)
  36. debconf: falling back to frontend: Teletype
  37. Configuring sun-java6-jre
  38. -------------------------
  39.  
  40. Operating System Distributor License for Java v1.1 (DLJ)
  41.  
  42. Operating System Distributor License for Java version 1.1 (DLJ)
  43.  
  44. SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE JAVA PLATFORM STANDARD
  45. EDITION DEVELOPER KIT ("JDK" - THE "SOFTWARE") TO YOU ONLY UPON THE CONDITION
  46. THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS LICENSE AGREEMENT (THE
  47. "AGREEMENT"). PLEASE READ THE AGREEMENT CAREFULLY. BY INSTALLING, USING, OR
  48. DISTRIBUTING THIS SOFTWARE, YOU ACCEPT ALL OF THE TERMS OF THE AGREEMENT.
  49.  
  50. 1. DEFINITIONS. "Software" means the code identified above in binary
  51. form, any other machine readable materials including, but not
  52. limited to, libraries, source files, header files, and data files),
  53. any updates or error corrections provided by Sun, and any user
  54. manuals, programming guides and other documentation provided to you
  55. by Sun under this Agreement, and any subsequent versions that Sun
  56. makes available to you hereunder. "Operating System" means any
  57. version of the Linux or OpenSolaris operating systems that manages
  58. the hardware resources of a general purpose desktop or server
  59. computer and shares these resources with various software programs
  60. that run on top of it. "Programs" means Java technology applets and
  61. applications intended to run on the Java Platform Standard Edition
  62. (Java SE platform) platform on Java-enabled general purpose desktop
  63. computers and servers.
  64.  
  65.  
  66. 2. License Grant. Subject to the terms and conditions of this
  67. Agreement, as well as the restrictions and exceptions set forth in
  68. the Software README file, Sun grants you a non-exclusive,
  69. non-transferable, royalty-free limited license to reproduce and use
  70. the Software internally, complete and unmodified, for the sole
  71. purposes of running Programs and designing, developing and testing
  72. Programs. Sun also grants you a non-exclusive, non-transferable,
  73. royalty-free limited license to reproduce and distribute the
  74. Software, directly or indirectly through your licensees,
  75. distributors, resellers, or OEMs, electronically or in physical
  76. form or pre-installed with your Operating System on a general
  77. purpose desktop computer or server, provided that: (a) the Software
  78. and any proprietary legends or notices are complete and unmodified;
  79. (b) the Software is distributed with your Operating System, and
  80. such distribution is solely for the purposes of running Programs
  81. under the control of your Operating System and designing,
  82. developing and testing Programs to be run under the control of your
  83. Operating System; (c) you do not combine, configure or distribute
  84. the Software to run in conjunction with any additional software
  85. that implements the same or similar functionality or APIs as the
  86. Software; (d) you do not remove or modify any included license
  87. agreement or impede or prevent it from displaying and requiring
  88. acceptance; (e) you only distribute the Software subject to this
  89. license agreement; and (f) you agree to defend and indemnify Sun
  90. and its licensors from and against any damages, costs, liabilities,
  91. settlement amounts and/or expenses (including attorneys' fees)
  92. incurred in connection with any claim, lawsuit or action by any
  93. third party that arises or results from (i) the use or distribution
  94. of your Operating System, or any part thereof, in any manner, or
  95. (ii) your use or distribution of the Software in violation of the
  96. terms of this Agreement or applicable law. You shall not be
  97. obligated under Section 2(f)(i) if such claim would not have
  98. occurred but for a modification made to your Operating System by
  99. someone not under your direction or control, and you were in
  100. compliance with all other terms of this Agreement. If the Software
  101. README file permits certain files to be replaced or omitted from
  102. your distribution, then any such replacement(s) or omission(s)
  103. shall not be considered a breach of Section 2(a).
  104.  
  105.  
  106. 3. RESTRICTIONS. Software is copyrighted and title to Software and
  107. all associated intellectual property rights is retained by Sun
  108. and/or its licensors. Unless enforcement is prohibited by
  109. applicable law, you may not modify, decompile, or reverse engineer
  110. Software. You may not create, modify, or change the behavior of,
  111. or authorize your licensees, distributors, resellers, OEMs, or end
  112. users (collectively, "Licensees") to create, modify, or change the
  113. behavior of, classes, interfaces, or subpackages that are in any
  114. way identified as "java", "javax", "sun" or similar convention as
  115. specified by Sun in any naming convention designation. You
  116. acknowledge that Licensed Software is not designed or intended for
  117. use in the design, construction, operation or maintenance of any
  118. nuclear facility. Sun Microsystems, Inc. disclaims any express or
  119. implied warranty of fitness for such uses.
  120.  
  121.  
  122. 4. COMPATIBILITY. If you exercise the license in Section 2, and Sun
  123. or a licensee of the Software (under section 4(b)) notifies you
  124. that there are compatibility issues (as determined by the
  125. applicable Technology Compatibility Kit) caused by the interaction
  126. of the Software with your Operating System, then within ninety
  127. (90) days you must either: (a) modify the Operating System in a
  128. way that resolves the compatibility issue (as determined by Sun)
  129. and make a patch or replacement version available to your
  130. Licensees who have already received the version of your Operating
  131. System that was the subject of the compatibility issue ("Your
  132. Incompatible Operating System"); or (b) cease distributing the
  133. Software and make commercially reasonable attempts to forward the
  134. notification to your Licensees who have already received Your
  135. Incompatible Operating System.
  136.  
  137.  
  138. 5. Trademarks and Logos. No right, title or interest in or to any
  139. trademark, service mark, logo or trade name of Sun or its
  140. licensors is granted under this Agreement. You acknowledge and
  141. agree that, as between you and Sun, Sun owns the SUN and JAVA
  142. trademarks and all SUN and JAVA-related trademarks, service marks,
  143. logos and other brand designations ("Sun Marks"), and you agree to
  144. comply with the Sun Trademark and Logo Usage Requirements
  145. currently located at http://www.sun.com/policies/trademarks. Any
  146. use you make of the Sun Marks inures to Sun's benefit.
  147.  
  148.  
  149. 6. LIMITED WARRANTY. If you received the Software directly from Sun
  150. or its authorized resellers, Sun warrants to you that for a period
  151. of ninety (90) days from delivery to you, the media on which
  152. Software is furnished (if any) will be free of defects in
  153. materials and workmanship under normal use. Except for the
  154. foregoing, Software is provided "AS IS". Your exclusive remedy
  155. and Sun's entire liability under this limited warranty will be
  156. replacement of the Software media. This limited warranty gives
  157. you specific legal rights. You may have others, which vary from
  158. state to state.
  159.  
  160.  
  161. 7. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS AGREEMENT, ALL
  162. EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES,
  163. INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A
  164. PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO
  165. THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
  166.  
  167.  
  168. 8. LIMITATION OF LIABILITY. IN NO EVENT WILL SUN OR ITS LICENSORS BE
  169. LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR
  170. PUNITIVE DAMAGES IN CONNECTION WITH OR ARISING OUT OF THIS
  171. AGREEMENT (INCLUDING LOSS OF PROFITS, USE, DATA, OR OTHER ECONOMIC
  172. ADVANTAGE), NO MATTER WHAT THEORY OF LIABILITY, EVEN IF SUN HAS
  173. BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will
  174. Sun's liability to you, whether in contract, tort (including
  175. negligence), or otherwise, exceed the amount paid by you for the
  176. Software under this Agreement. The foregoing limitations will
  177. apply even if the above stated warranty fails of its essential
  178. purpose. Some states do not allow the exclusion of incidental or
  179. consequential damages, so some of the terms above may not be
  180. applicable to you.
  181.  
  182.  
  183. 9. THIRD PARTY CODE. Additional copyright notices and license terms
  184. applicable to portions of the Software are set forth in the
  185. THIRDPARTYLICENSEREADME.txt file. In addition to any terms and
  186. conditions of any third party opensource/freeware license
  187. identified in the THIRDPARTYLICENSEREADME.txt file, the disclaimer
  188. of warranty and limitation of liability provisions in paragraphs 7
  189. and 8 of this Agreement shall apply to all Software in this
  190. distribution.
  191.  
  192.  
  193. 10. Termination. This Agreement is effective until it is
  194. terminated. You may terminate this Agreement at any time by
  195. ceasing distribution of the Software. This Agreement will
  196. terminate immediately without notice from Sun if you fail to
  197. comply with any material provision herein. Either party may
  198. terminate this Agreement immediately should any Software become,
  199. or in either party's opinion be likely to become, the subject of a
  200. claim of infringement of any intellectual property right. Upon
  201. termination, you must destroy all copies and cease copying and
  202. distribution of the Software. All of your obligations and any
  203. applicable limitations on your rights and remedies under this
  204. Agreement shall survive termination.
  205.  
  206.  
  207. 11. SOURCE CODE. Software may contain source code that, unless
  208. expressly licensed for other purposes, is provided solely for
  209. reference purposes pursuant to the terms of this Agreement.
  210. Source code may not be redistributed unless expressly provided for
  211. in this Agreement.
  212.  
  213.  
  214. 12. Export Regulations. All Software and technical data delivered
  215. under this Agreement are subject to US export control laws and may
  216. be subject to export or import regulations in other countries.
  217. You acknowledge that you have the responsibility to obtain such
  218. licenses to export, re-export, or import as may be required after
  219. delivery to you.
  220.  
  221.  
  222. 13. U.S. GOVERNMENT RESTRICTED RIGHTS. If Software is being acquired
  223. by or on behalf of the U.S. Government or by a U.S. Government
  224. prime contractor or subcontractor (at any tier), then the
  225. Government's rights in Software and accompanying documentation
  226. will be only as set forth in this Agreement; this is in accordance
  227. with 48 CFR 227.7201 through 227.7202-4 (for Department of Defense
  228. (DOD) acquisitions) and with 48 CFR 2.101 and 12.212 (for non-DOD
  229. acquisitions).
  230.  
  231.  
  232. 14. MISCELLANEOUS. Any action related to this Agreement will be
  233. governed by California law and controlling U.S. federal law. No
  234. choice of law rules of any jurisdiction will apply. If any
  235. provision of this Agreement is held to be unenforceable, this
  236. Agreement will remain in effect upon the parties' agreement to
  237. revised terms that most nearly accomplish the same effect. This
  238. Agreement is the entire agreement between you and Sun relating to
  239. its subject matter. It supersedes all prior or contemporaneous
  240. oral or written communications, proposals, representations and
  241. warranties and prevails over any conflicting or additional terms
  242. of any quote, order, acknowledgment, or other communication
  243. between the parties relating to its subject matter during the term
  244. of this Agreement. No modification of this Agreement will be
  245. binding, unless in writing and signed by an authorized
  246. representative of each party.
  247.  
  248.  
  249. For inquiries please contact: Sun Microsystems, Inc., 4150 Network Circle, Santa
  250. Clara, California 95054, U.S.A.
  251.  
  252. DLJ v1.1 27APR2006ANS
  253.  
  254. In order to install this package, you must accept the license terms, the
  255. "Operating System Distributor License for Java" (DLJ), v1.1. Not accepting will
  256. cancel the installation.
  257.  
  258. Do you accept the DLJ license terms? yes
  259.  
  260.  
  261. Unpacking replacement sun-java6-jre ...
  262. Processing triggers for shared-mime-info ...
  263. Setting up sun-java6-jre (6.26-1~lffl~oneiric~ppa) ...
  264. Reading package lists...
  265. Building dependency tree...
  266. Reading state information...
  267. Reading extended state information...
  268. Initialising package states...
  269. Writing extended state information...
  270. root@workstation:/home/andrey/buildarea# ssh root@localhost "echo 'sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean false' | debconf-set-selections"
  271. root@localhost's password:
  272. root@workstation:/home/andrey/buildarea# debconf-show sun-java6-jre
  273. * shared/accepted-sun-dlj-v1-1: false
  274. sun-java6-jre/stopthread: true
  275. sun-java6-jre/jcepolicy:
  276. * shared/error-sun-dlj-v1-1:
  277. * shared/present-sun-dlj-v1-1:
  278. root@workstation:/home/andrey/buildarea# ssh root@localhost "echo 'sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true' | debconf-set-selections && aptitude -y reinstall sun-java6-jre"
  279. root@localhost's password:
  280. Reading package lists...
  281. Building dependency tree...
  282. Reading state information...
  283. Reading extended state information...
  284. Initialising package states...
  285. Writing extended state information...
  286. The following packages will be REINSTALLED:
  287. sun-java6-jre
  288. 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 168 not upgraded.
  289. Need to get 0 B/6,381 kB of archives. After unpacking 0 B will be used.
  290. Writing extended state information...
  291. debconf: Unable to initialise frontend: Dialog
  292. debconf: (TERM is not set so the dialogue frontend is not usable.)
  293. debconf: falling back to frontend: Readline
  294. debconf: Unable to initialise frontend: Readline
  295. debconf: (This frontend requires a controlling tty.)
  296. debconf: falling back to frontend: Teletype
  297. dpkg-preconfigure: Unable to re-open stdin:
  298. (Reading database ... 161723 files and directories currently installed.)
  299. Preparing to replace sun-java6-jre 6.26-1~lffl~oneiric~ppa (using .../sun-java6-jre_6.26-1~lffl~oneiric~ppa_all.deb) ...
  300. debconf: Unable to initialise frontend: Dialog
  301. debconf: (TERM is not set so the dialogue frontend is not usable.)
  302. debconf: falling back to frontend: Readline
  303. debconf: Unable to initialise frontend: Readline
  304. debconf: (This frontend requires a controlling tty.)
  305. debconf: falling back to frontend: Teletype
  306. sun-dlj-v1-1 license has already been accepted
  307. Unpacking replacement sun-java6-jre ...
  308. Processing triggers for shared-mime-info ...
  309. Setting up sun-java6-jre (6.26-1~lffl~oneiric~ppa) ...
  310. Reading package lists...
  311. Building dependency tree...
  312. Reading state information...
  313. Reading extended state information...
  314. Initialising package states...
  315. Writing extended state information...
  316. root@workstation:/home/andrey/buildarea#
  317.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement