gpt4 book ai didi

linux - COTson linux安装

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:17:35 25 4
gpt4 key购买 nike

我是 linux 的新手,我知道这应该是一个愚蠢的问题,但我没有在互联网上找到任何东西,所以我决定在这里问:

在使用这行代码配置 COTson 程序时,出现错误:

代码:./configure --simnow_dir ../simnow-linux64-4.6.2pub

错误:

Cleaning temporary directory: /home/user/add-image_tmp_dir
* bootstrap.status is present
* WARNING: problems detected in bootstrap.status
* Run again bootstrap.sh
* Checking the cotson directory ...
* COTSon directory for images already exist.
* Tuning /etc/sysctl.conf...
* Total RAM Memory system = about 2 GB
* mapoptim = 0
* mapmin = 4194304
* mapok = 4194304
* mapconfig = 4194304
* mapcurrent = 4194304
* Detected that VM configuration is ok: vm.max_map_count = 4194304
* Detected Distribution 'Ubuntu' - Version 'raring'
* Ubuntu raring supported
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
* Checking if extra packages should be installed ...
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

*** NOTE: for this step (installation of missing packages/dependencies: g++-multilib bison flex vnc4server rxvt xfwm4 xfonts-100dpi xfonts-75dpi zsh sharutils build-essential xvnc4viewer screen liblua5.1-0-dev zlib1g-dev indent xutils-dev libsqlite3-dev sqlite3 libdbd-sqlite3-perl libdbd-pg-perl gnuplot libboost-dev libboost-thread-dev lzma gnuplot-x11 procmail rpcbind gawk mc quota libpqxx3-dev ruby rubygems libopenssl-ruby libsqlite3-ruby ), either ask your admin or be sure you have sudo access
* Installing missing packages/dependencies...
E: Unable to correct problems, you have held broken packages.
E: Unable to correct problems, you have held broken packages.
* Packages installation FINISHED
* Checking ruby gems
sudo: gem: command not found
* Installing missing gems
* Checking connection befor to install ruby test-unit
* Connection OK
* Installing rubygems test-unit
sudo: gem: command not found
* Gems installation FINISHED

ERROR: Could not install one or more of g++ g++-multilib subversion genisoimage bison flex vnc4server rxvt xfwm4 xfonts-100dpi xfonts-75dpi zsh sharutils build-essential xvnc4viewer screen liblua5.1-0 liblua5.1-0-dev zlib1g-dev indent xutils-dev libsqlite3-dev sqlite3 libdbd-sqlite3-perl libdbd-pg-perl gnuplot libboost-dev libboost-thread-dev lzma libxcursor1 libxrender1 libsm6 libxi6 libfontconfig1 gnuplot-x11 subversion procmail rpcbind genisoimage gawk gedit mc quota libpqxx3-dev ruby ruby1.8 rubygems libopenssl-ruby libsqlite3-ruby
- Please check your distribution and edit 'configure' to reflect it
* ERROR: bootstrap.sh KO

这是我达到这一点所遵循的指南(从第 13 页开始):

Teraflux_COTson_installation_guide

我知道我需要安装一些软件包,但我怎样才能得到它们?

更多详情请咨询

谢谢!

更新 1

我尝试使用@Scott Stensland 给出的代码,但是当它开始安装软件包时,它给我这个错误:

错误:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libruby' instead of 'libopenssl-ruby'
g++ is already the newest version.
libxi6 is already the newest version.
ruby1.8 is already the newest version.
subversion is already the newest version.
gedit is already the newest version.
libfontconfig1 is already the newest version.
libxrender1 is already the newest version.
genisoimage is already the newest version.
liblua5.1-0 is already the newest version.
libsm6 is already the newest version.
libxcursor1 is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
build-essential : Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
g++-multilib : Depends: gcc-multilib (>= 4:4.6.3-1ubuntu5) but it is not going to be installed
Depends: g++-4.6-multilib (>= 4.6.3-1~) but it is not going to be installed
liblua5.1-0-dev : Depends: liblua5.1-0 (= 5.1.4-12ubuntu1.1) but 5.1.5-4 is to be installed
Depends: libreadline-dev but it is not going to be installed
Recommends: libtool
libpqxx3-dev : Depends: libpq-dev (>= 8.0.3-1) but it is not going to be installed
libsqlite3-dev : Depends: libsqlite3-0 (= 3.7.9-2ubuntu1.2) but 3.7.15.2-1ubuntu1 is to be installed
sqlite3 : Depends: libsqlite3-0 (= 3.7.9-2ubuntu1.2) but 3.7.15.2-1ubuntu1 is to be installed
zlib1g-dev : Depends: zlib1g (= 1:1.2.3.4.dfsg-3ubuntu4) but 1:1.2.7.dfsg-13ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.

我尝试使用 sudo apt-get install -f packagename 来解决它和 sudo apt-get autoclean $$ apt-get clear cache但什么也没发生。

最佳答案

这只是从你的消息中截取的 N 粘贴,前面有安装语法

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install -y g++ g++-multilib subversion genisoimage bison flex vnc4server rxvt xfwm4 xfonts-100dpi xfonts-75dpi zsh sharutils build-essential xvnc4viewer screen liblua5.1-0 liblua5.1-0-dev zlib1g-dev indent xutils-dev libsqlite3-dev sqlite3 libdbd-sqlite3-perl libdbd-pg-perl gnuplot libboost-dev libboost-thread-dev lzma libxcursor1 libxrender1 libsm6 libxi6 libfontconfig1 gnuplot-x11 subversion procmail rpcbind genisoimage gawk gedit mc quota libpqxx3-dev ruby ruby1.8 rubygems libopenssl-ruby libsqlite3-ruby

那会给你丢失的包裹

更新 1

Unable to correct problems, you have held broken packages

当您搜索上面的消息时,您提到的第一个链接是 https://askubuntu.com/questions/223237/unable-to-correct-problems-you-have-held-broken-packages它指向您应该发出的下一个命令...继续发出它建议的内容作为其最佳答案,然后重新发出我在上面列出的命令

关于linux - COTson linux安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48692819/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com