我一直尝试使用 crouton 在我的 Chromebook HP 14 上安装 Ubuntu。我按照 cnet 上的教程操作,但遇到了麻烦。当我输入命令时,sudo -e ~/Downloads/crouton -t unity
我得到的只是这条大消息。
#!/bin/sh -e
# Copyright (c) 2014 The crouton Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file of the source repository, which has been replicated
# below for convenience of distribution:
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# This is an indirect script. The actual installer will be downloaded, cached,
"/var/tmp/crouton.XXhGl4cZ" 87 lines, 3653 characters
即使我尝试打开 Crouton 查看其中的文件,我也会收到这条大消息。我已经尝试过恢复出厂设置并重新进入开发者模式,但仍然没有任何效果。我认为安装程序可能之前出现过,但我不知不觉地退出了 shell,所以我认为这可能是我的问题的一部分。有什么想法吗?
答案1
根据屏幕上的最后一行(“/var/tmp/crouton.XXhGl4cZ” 87 行,3653 个字符),正在运行的是文本编辑器 vi。安装过程可能希望您阅读其许可证。要退出 vi,请键入 :q 并按 Enter。退出 vi 后,安装过程将继续。