由于我在 Debian 10 上安装了 certbot,它总是显示此错误:
root@HypeTime:/home/sinusbot# apt update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Ign:4 http://ppa.launchpad.net/certbot/certbot/ubuntu focal InRelease
Err:5 http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release
404 Not Found [IP: 2001:67c:1560:8008::15 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Run Code Online (Sandbox Code Playgroud)
有人知道如何解决这个错误吗?
我的一些 Github Actions 工作流最近开始在安装 Chromedriver 时返回此错误:
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Reading package lists...
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: Repository 'http://deb.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
Error: Process completed with exit code 100.
Run Code Online (Sandbox Code Playgroud)
这是我的步骤实现:
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] …Run Code Online (Sandbox Code Playgroud) shell debian selenium-chromedriver debian-buster github-actions
我刚刚安装了 debian 10 以及 vscode。我已经为此苦苦挣扎了 3 天。我使用以下命令从终端安装了 texlive:
sudo apt install texlive
Run Code Online (Sandbox Code Playgroud)
然后我在 vscode 中安装了 Latex Workshop 扩展并尝试构建一个.tex文件。弹出如下错误:
Recipe terminated with fatal error: spawn latexmk ENOENT.
Run Code Online (Sandbox Code Playgroud)
然后我先从终端安装 Latexmk:
sudo apt install latexmk
Run Code Online (Sandbox Code Playgroud)
之后同样的错误不断出现。输出表明了这一点。
sudo apt install texlive
Run Code Online (Sandbox Code Playgroud)
然后我继续查看 texlive 网站。我注意到我没有设置路径变量来包含 texlive 二进制文件。texlive 网站提供了以下二进制文件路径:PATH=/usr/local/texlive/2021/bin/x86_64-linux:$PATH
但是/usr/local/texlive由于某种原因在我的系统上不存在。我在哪里可以找到 Debian 10 上 texlive 二进制文件的正确路径?
尝试以 root 身份连接到正在运行的 docker 容器时,仍然会出现“操作不允许”错误apt-get update,但我仍然可以看到敏感文件,例如/etc/passwd. 以下是我的配置以及来自的错误消息apt-get update。我的主机操作系统是Ubuntu 18.04.3. 我的docker版本是Docker version 19.03.5, build 633a0ea838
我使用以下 Dockerfile 创建一个容器
FROM python:3.8-slim-buster
RUN useradd -ms /bin/bash andrej
WORKDIR /home/andrej
COPY . /home/andrej/
RUN apt-get update && \
apt-get install -y gcc && \
pip install -r requirements.txt && \
apt-get remove -y gcc && apt-get -y autoremove
RUN chown andrej:andrej pycurl && \
chmod 0744 pycurl
USER andrej
ENTRYPOINT ["uwsgi"]
CMD ["--ini", "uwsgi.ini"]
Run Code Online (Sandbox Code Playgroud)
使用 …
permissions docker docker-compose ubuntu-18.04 debian-buster
现在很多官方的 Docker 镜像都是基于 Debian Buster 的。我们曾经chromedriver在基于 Stretch 的图像中安装该软件包,但现在它不再可用。
从 docker 容器(在我的例子中运行基于 Debian Busty 的映像)中,如何检测它是否在 QEMU 模拟下运行(如在 ARM Mac 上运行 AMD64 映像)?
从非 docker 的角度来看,我看到了cpuinfo可能会出现这种情况的建议,但当从容器内部运行时,它不会产生任何与 QEMU 直接相关的内容:
$ docker run -it --entrypoint /bin/bash debian-buster-based-amd64-image
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
root@c93f6a8ec754:/app# cat /proc/cpuinfo
processor : 0
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm dit …Run Code Online (Sandbox Code Playgroud) 当我尝试运行时npx playwright install-deps出现错误。
\xe2\x9d\xaf npx playwright install-deps\nInstalling Ubuntu dependencies...\nSwitching to root user to install dependencies...\nHit:1 http://security.debian.org/debian-security bullseye-security InRelease\nHit:2 http://deb.debian.org/debian bullseye InRelease \nHit:3 https://updates.signal.org/desktop/apt xenial InRelease \nHit:4 https://repo.steampowered.com/steam stable InRelease \nHit:5 https://baltocdn.com/helm/stable/debian all InRelease \nHit:7 https://packages.microsoft.com/repos/ms-teams stable InRelease \nHit:8 http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_Testing InRelease\nHit:6 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease \nReading package lists... Done\nReading package lists... Done\nBuilding dependency tree... Done\nReading state information... Done\nNote, selecting \'libfontconfig1\' instead of \'libfontconfig\'\nPackage libjpeg-turbo8 is not available, but is referred to by another package.\nThis may mean that the package …Run Code Online (Sandbox Code Playgroud) 我正在使用Debian“Buster”(版本 10.3)和GNOME 桌面版本 3.30.2。
有没有办法仅使用终端命令而不安装任何剪贴板管理器来按需清除剪贴板?
感谢您的时间!
当我运行 R 命令时,出现以下错误:
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted (core dumped)
Run Code Online (Sandbox Code Playgroud)
我已经查看了所有其他回复,并“解决”了此问题的问题,但它们没有为我解决问题,而且我不知道如何为我的特定设备自行解决此问题。
有人可以指导我如何在不使用复杂语言的情况下解决这个问题吗?我不知道任何访问事物的命令,因此尝试使用在线答案非常困难。
这是我在 Pixelbook 上运行的系统信息
这是我运行 rstudio 时的完整输出:
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/rstudio/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at …Run Code Online (Sandbox Code Playgroud) 日期: 2021 年 10 月 5 日星期二
Node 10.x于2018-04-24发布(但这是使用 apt-get 时的默认版本)
我需要在运行容器中安装 Python 和 Node.js。我可以使用以下命令在容器中获取最新版本的 python:
FROM python:alpine
或者
FROM python:buster <== 基于 Debian
如何在 Debian 上(在 Docker 容器中)安装最新版本的 node.js (16.10.0)
当我这样做时:
FROM python:buster
RUN apt-get update && \
apt-get install -y \
nodejs npm
Run Code Online (Sandbox Code Playgroud)
我得到这些版本的节点:
节点:10.24.0
npm 5.8.0
当在容器中运行时,给出一个关于不再不受支持的长声明。
“apt-get”从中提取的软件包存储库怎么了,它不会安装更高版本的节点(14.x 或更高版本)?
如果我从:
FROM python:alpine
and include these lines
RUN apk -v --no-cache --update add \
nodejs-current npm
Run Code Online (Sandbox Code Playgroud)
我将获得 Node 16.x版本,这让一切变得简单。我不需要做任何其他事情。
是否有与python:buster等效的东西(基于 Debian)
我真的希望在我的Dockerfile中有一两行代码,而不是一页包含十几个命令的指令来简单地获取图像中的节点。 …
debian-buster ×10
debian ×4
apt-get ×2
docker ×2
linux ×2
apple-m1 ×1
arm ×1
certbot ×1
clipboard ×1
debian-based ×1
dockerfile ×1
latex ×1
node.js ×1
permissions ×1
playwright ×1
qemu ×1
rstudio ×1
shell ×1
terminal ×1
ubuntu-18.04 ×1