You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Konstantin Boudnik (JIRA)" <ji...@apache.org> on 2013/04/19 23:41:15 UTC
[jira] [Comment Edited] (BIGTOP-927) Update puppet recipes to
support Ubuntu
[ https://issues.apache.org/jira/browse/BIGTOP-927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13636911#comment-13636911 ]
Konstantin Boudnik edited comment on BIGTOP-927 at 4/19/13 9:39 PM:
--------------------------------------------------------------------
for protobuf it says "Not required on Ubuntu". I would change the message to something: "Ubuntu provides a standard package" cause it sounds confusing.
I ran new puppet on pretty much freshly minted 12.04 and it was able to install all the packages but:
{noformat}
Unpacking java-common (from .../java-common_0.43ubuntu2_all.deb) ...
Selecting previously unselected package oracle-java6-installer.
Unpacking oracle-java6-installer (from .../oracle-java6-installer_6u45-0~webupd8~0_all.deb) ...
oracle-license-v1-1 license could not be presented
try 'dpkg-reconfigure debconf' to select a frontend other than noninteractive
dpkg: error processing /var/cache/apt/archives/oracle-java6-installer_6u45-0~webupd8~0_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 2
No apport report written because MaxReports is reached already
Selecting previously unselected package gsfonts-x11.
Unpacking gsfonts-x11 (from .../gsfonts-x11_0.22_all.deb) ...
Processing triggers for doc-base ...
Processing 2 added doc-base files...
Processing triggers for man-db ...
Processing triggers for fontconfig ...
Errors were encountered while processing:
/var/cache/apt/archives/oracle-java6-installer_6u45-0~webupd8~0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
{noformat}
This seemed to leave the dpkg system in a strange state, where dpkg lock has been left behind. Cleaning that and running {{apply}} for the second time:
{noformat}
err: /Stage[main]/Bigtop-toolchain::Jdk/Package[oracle-java6-installer]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install oracle-java6-installer' returned 100: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
err: /Stage[main]/Bigtop-toolchain::Packages/Package[asciidoc]/ensure: change from absent to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install asciidoc' returned 100: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
{noformat}
Running {{sudo dpkg --configure -a}} a couple of time in the row seems to address the problems with {{asciidoc}} - what a heavyweight if you ask me.
And another repeat of {{apply}} put everything as expected. I guess the oracle repo is a bitch to blame, because the connection there seemed to be pretty slow (may be just today).
I am running {{make hadoop-deb sqoop-deb}} - all seems to be going fine so far.
was (Author: cos):
for protobuf it says "Not required on Ubuntu". I would change the message to something: "Ubuntu provides a standard package" cause it sounds confusing.
I ran new puppet on pretty much freshly minted 12.04 and it was able to install all the packages but:
Unpacking java-common (from .../java-common_0.43ubuntu2_all.deb) ...
Selecting previously unselected package oracle-java6-installer.
Unpacking oracle-java6-installer (from .../oracle-java6-installer_6u45-0~webupd8~0_all.deb) ...
oracle-license-v1-1 license could not be presented
try 'dpkg-reconfigure debconf' to select a frontend other than noninteractive
dpkg: error processing /var/cache/apt/archives/oracle-java6-installer_6u45-0~webupd8~0_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 2
No apport report written because MaxReports is reached already
Selecting previously unselected package gsfonts-x11.
Unpacking gsfonts-x11 (from .../gsfonts-x11_0.22_all.deb) ...
Processing triggers for doc-base ...
Processing 2 added doc-base files...
Processing triggers for man-db ...
Processing triggers for fontconfig ...
Errors were encountered while processing:
/var/cache/apt/archives/oracle-java6-installer_6u45-0~webupd8~0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
This seemed to leave the dpkg system in a strange state, where dpkg lock has been left behind. Cleaning that and running {{apply}} for the second time:
err: /Stage[main]/Bigtop-toolchain::Jdk/Package[oracle-java6-installer]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install oracle-java6-installer' returned 100: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
and
err: /Stage[main]/Bigtop-toolchain::Packages/Package[asciidoc]/ensure: change from absent to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install asciidoc' returned 100: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Running {{sudo dpkg --configure -a}} a couple of time in the row seems to address the problems with {{asciidoc}} - what a heavyweight if you ask me.
And another repeat of {{apply}} put everything as expected. I guess the oracle repo is a bitch to blame, because the connection there seemed to be pretty slow (may be just today).
I am running {{make hadoop-deb sqoop-deb}} - all seems to be going fine so far.
> Update puppet recipes to support Ubuntu
> ---------------------------------------
>
> Key: BIGTOP-927
> URL: https://issues.apache.org/jira/browse/BIGTOP-927
> Project: Bigtop
> Issue Type: Improvement
> Components: Deployment
> Affects Versions: 0.5.0
> Reporter: Konstantin Boudnik
> Assignee: Ian Mordey
> Fix For: 0.6.0
>
> Attachments: 0001-BIGTOP-927.-Add-extra-ubuntu-packages-and-ppa-repo-t.patch
>
>
> In BIGTOP-720 we have started with a great set of recipes to automatically configure build environment. However it has al least two limitations:
> - it needs manual assistance in a form of downloading tarballs of the web
> - it doesn't support Ubuntu
> Let's fix it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira