我需要在debian Stretch上运行3.6-我按照此处的说明进行操作:
https://cran.r-project.org/bin/linux/debian/
并使用了这个仓库:
http://lib.stat.cmu.edu/R/CRAN/bin/linux/debian Stretch-cran35 /
我能够安装它。但是我需要的2个软件包r-cran-caret和r-cran-ggplot2无法安装:
# apt-get install r-cran-ggplot2
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
r-cran-ggplot2 : Depends: …Run Code Online (Sandbox Code Playgroud) 我正在使用Debian 9.3.(拉伸)我无法运行"npm"命令.
输出为 node -v
bash: node: command not found
Run Code Online (Sandbox Code Playgroud)
输出为 nodejs -v
v4.8.2
Run Code Online (Sandbox Code Playgroud)
输出为 npm -v
bash: npm: command not found
Run Code Online (Sandbox Code Playgroud)
我是Debian的新手,我无法理解发生了什么.
- 我已经重新安装了Node.js
- 我已经尝试过遵循官方页面的步骤了.
- 我已经运行了apt-get install npm输出E: Unable to locate package npm.
- 我在Debian Testing时遇到了同样的错误.
感谢阅读和帮助
- Melt
我正在使用 Window Linux 子系统(Debian 延伸版)。按照 Docker 网站上的说明,我安装了 docker-ce,但无法启动。这是信息:
$ sudo service docker start
grep: /etc/fstab: No such file or directory
[ ok ] Starting Docker: docker.
$ sudo service docker status
[FAIL] Docker is not running ... failed!
Run Code Online (Sandbox Code Playgroud)
/etc/fstab找不到怎么办?
当我从 hub.docker.com 拉出 debian:stretch-slim,然后运行容器(root)时,我发现bash: sysctl: command not found。
如何在 debian:stretch-slim 中使用 sysctl?
并且许多图像是从 debian:stretch-slim 构建的,所以当我想在其他一些容器中使用sysctl时:
docker run --rm -it redis:latest --sysctl net.core.somaxconn=2048 redis-server
它会抛出错误消息。
可以这样测试:
docker pull debian:stretch-slim
docker run --rm -it debian:stretch-slim bash
root@7b923f27f7ee:/# sysctl
bash: sysctl: command not found
Run Code Online (Sandbox Code Playgroud) 我安装了 rbenv 并尝试按照此处的说明在 Debian 9 上安装 ruby 1.9.3 https://github.com/rbenv/ruby-build/wiki
Debian 上的 OpenSSL 绑定
由于 Debian(7.5 及更高版本)中的 OpenSSL 不兼容,Ruby 可能无法在不先修补的情况下编译:Run Code Online (Sandbox Code Playgroud)curl -fsSL https://github.com/ruby/ruby/commit/1e7a929c1d44d7a368fbe379211183ac6c972920.patch | \ rbenv install --patch 1.9.3-p484
我得到的回应是
Installing ruby-1.9.3-p484...
patching file ChangeLog
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file ChangeLog.rej
patching file ext/openssl/ossl_ssl.c
Hunk #1 succeeded at 1985 (offset -244 lines).
BUILD FAILED (Debian 9.4 using ruby-build 20160913)
Run Code Online (Sandbox Code Playgroud)
好吧,更改日志中的更改不需要 ruby 工作,或者当然。然后我发现了这个https://github.com/mathbruyen/computers/blob/master/computers/AspireOne.md
Run Code Online (Sandbox Code Playgroud)curl -fsSL https://github.com/ruby/ruby/commit/1e7a929c1d44d7a368fbe379211183ac6c972920.patch | filterdiff --strip=1 -i …
我试图将依赖于Framwork的.Net Core应用程序部署到Debian 9 Stretch,但是当我启动.net应用程序时,它将引发错误:
> Failed to load ??, error: libunwind.so.8: cannot open shared object file: No such file or directory
> Failed to bind to CoreCLR at '/var/www/html/libcoreclr.so'
Run Code Online (Sandbox Code Playgroud)
是的,该文件位于/var/www/html/libcoreclr.so
我想在我的debian机器上安装Kubernetes:
Distributor ID: Debian
Description: Debian GNU/Linux 9.5 (stretch)
Release: 9.5
Codename: stretch
Run Code Online (Sandbox Code Playgroud)
看着google deb软件包存档,我只找到“ kubectl”的软件包,没有别的:
https://packages.cloud.google.com/apt/dists/kubernetes-stretch/main/binary-amd64/Packages
与ubuntu xenial相比,缺少许多软件包。有人可以这么客气,给我更多信息如何处理吗?是否可以在debian Stretch上安装kubeadm和kubelet?
https://kubernetes.io/docs/setup/independent/install-kubeadm/#installing-kubeadm-kubelet-and-kubectl
提前非常感谢您!
我在运行Debian Stretch的Windows 10 WSL上安装pip软件包时遇到问题。
运行时sudo pip install invoice2data,python3-pip安装后遇到以下错误。
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for regex
Running setup.py clean for regex
Failed to build regex
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c regex_2/_regex.c -o build/temp.linux-x86_64-2.7/regex_2/_regex.o
regex_2/_regex.c:46:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
---------------------------------------- …Run Code Online (Sandbox Code Playgroud) 我在构建 Docker 容器时遇到错误。Debian 的 Postgres Stretch 似乎存在问题。我看到 Debian strech 已被删除并且不再受支持。
我在这里发现了类似的问题:存储库“http://apt.postgresql.org/pub/repos/aptstretch-pgdgRelease”没有发布文件,但我没有设法解决我的问题。
这是一个错误:
W: The repository 'http://apt.postgresql.org/pub/repos/apt stretch-pgdg Release' does not have a Release file.
E: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/stretch-pgdg/11/binary-amd64/Packages 404 Not Found [IP: 147.75.85.69 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR: Service 'db' failed to build: The command '/bin/sh -c apt-get update && apt-get install dos2unix && apt-get clean' returned a non-zero code: 100
Run Code Online (Sandbox Code Playgroud)
这是我尝试运行的 Dockerfile 的一部分: …
在我的新Debian 9中无法获得静态IP.
在我的etc/network/interfaces中,我有以下内容
# This file describes the network interfaces available on your system
# and how to activate them
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.88.10
netmask 255.255.255.0
gateway 192.168.88.1 // this is my router ip
network 192.168.88.0 // this is I don't know why, but I saw it in most of instructions
broadcast 192.168.88.255
dns-nameservers 192.168.88.1
Run Code Online (Sandbox Code Playgroud)
然后我这样做 …
我的 Debian Stretch (9) 上安装了 PostgreSQL 9.6。当我想使用crypt()或gen_salt()函数时,它说:
ERROR: function gen_salt(unknown, integer) does not exist
LINE 1: select gen_salt('bf', 8)
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
Run Code Online (Sandbox Code Playgroud)
我怎样才能让这些功能正常工作?