标签: debian-jessie

如何修复:由于公钥不可用,无法验证以下签名:NO_PUBKEY

我正在 Debian 8(待升级)上开发嵌入式系统。当我这样做时apt update,我得到以下信息:

...
...
Hit http://deb.debian.org stable/contrib arm64 Packages
Hit http://deb.debian.org stable/non-free arm64 Packages                       
Fetched 116 kB in 19s (6011 B/s)                                               
Reading package lists... Done
Building dependency tree       
Reading state information... Done
109 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: GPG error: http://deb.debian.org stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 605C66F00D6C9793
Run Code Online (Sandbox Code Playgroud)

我试过:

apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 
Run Code Online (Sandbox Code Playgroud)

但得到: …

apt key debian-jessie

46
推荐指数
1
解决办法
16万
查看次数

gem无法访问rubygems.org

我有一个带Rackspace的服务器,我用它来做几个Ruby站点.当我尝试 bundle install新网站时,我得到了

Retrying download gem from http://rubygems.org/ due to error (2/4): Gem::RemoteFetcher::UnknownHostError timed out (http://rubygems.org/gems/rake-12.3.1.gem)
Run Code Online (Sandbox Code Playgroud)

或者gem update --system我试着

ERROR:  While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
timed out (http://api.rubygems.org/specs.4.8.gz)
Run Code Online (Sandbox Code Playgroud)

我尝试过的:

  • 使用curl在第一个错误中下载gem URL(成功)
  • 将gem源从https://rubygems.org更改为http://rubygems.org
  • 更改切片上的名称服务器以使用Google
  • gem从源代码下载和更新(在2.7.6上)
  • apt-get update
  • 添加 AddTrustExternalCARoot-2048.pem

我没有尝试过:

  • 动物牺牲
  • 幸运兔脚
  • 删除所有文件并重新安装图像

我终于(在提交之前)能够bundle install通过删除rubygems.org作为源并添加https://gems.ruby-china.org/来开始工作.为什么gem无法访问rubygems.org?

rubygems debian-jessie

21
推荐指数
4
解决办法
4298
查看次数

如何在docker debian上安装oracle-java8-installer:jessie

我试图在debian:jessie docker容器上通过oracle-java8-installer安装java 8.以下是我的Dockerfile:

FROM debian:jessie

ENV JAVA_VERSION 1.8.0

RUN echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" > /etc/apt/sources.list.d/webupd8team-java.list
RUN echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" >> /etc/apt/sources.list.d/webupd8team-java.list
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
RUN echo "debconf shared/accepted-oracle-license-v1-1 select true" | /usr/bin/debconf-set-selections
RUN apt-get update
RUN apt-get install -y --force-yes vim
RUN apt-get install -y --force-yes oracle-java8-installer
Run Code Online (Sandbox Code Playgroud)

然而,这给了:

Connecting to download.oracle.com (download.oracle.com)|23.63.224.171|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-01-17 12:31:05 ERROR 404: Not Found.

download failed
Oracle JDK 8 is …
Run Code Online (Sandbox Code Playgroud)

debian java-8 docker debian-jessie

12
推荐指数
4
解决办法
8751
查看次数

apt-get更新在先前运行的版本中失败,并显示404

我正在运行Travis构建,并且在构建mysql:5.7.27 docker映像时失败。Dockerfile运行apt-get update,然后出现错误W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found

使用curl我可以看到它正在重定向,但是重定向到URL的结果是404。有人看到这种行为并且有补救措施吗?在debian进行更改之前,它基本上是不可修复的吗?

?  ms git:(develop) curl --head http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages
HTTP/1.1 302 Found
Date: Tue, 26 Mar 2019 16:03:04 GMT
Server: Apache
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
Referrer-Policy: no-referrer
X-Xss-Protection: 1
Location: http://cdn-fastly.deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages
Content-Type: text/html; charset=iso-8859-1

?  ms git:(develop) curl --head http://cdn-fastly.deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages
HTTP/1.1 404 Not Found
Server: Apache
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
Referrer-Policy: no-referrer
X-Xss-Protection: 1
Content-Type: text/html; charset=iso-8859-1
Via: 1.1 varnish
Content-Length: 316
Accept-Ranges: bytes
Date: Tue, 26 Mar …
Run Code Online (Sandbox Code Playgroud)

travis-ci docker debian-jessie

12
推荐指数
1
解决办法
3490
查看次数

如何卸载/删除Certbot让我们从Debian 8加密

我只是按照以下建议:https ://certbot.eff.org/#debianjessie-apache 在我的linux vps上安装let的加密证书.

但不幸的是,安装没有像我预期的那样,因为:

  • 答:我已经安装了apache2实例 - 这与apache实例certbot安装程序安装有冲突.
  • B.我有一个动态的DNS我想拥有作为我的域名并添加ssl,但让加密系统似乎有免费DNS供应商的问题.

所以我最终决定删除certbot,而是尝试安装本地ssl证书,我亲自签名.我找不到certbot的直接卸载指南.你能帮忙吗?

谢谢

apache removeall lets-encrypt certbot debian-jessie

7
推荐指数
1
解决办法
2万
查看次数

Docker:如何通过Dockerfile将反向端口添加到sources.list?

我需要ffmeg通过Dockerfile在debian jessie上安装.

Debian建议使用backports.但是我如何在Dockerfile中执行此操作?

deb http://httpredir.debian.org/debian jessie-backports main non-free
deb-src http://httpredir.debian.org/debian jessie-backports main non-free
Run Code Online (Sandbox Code Playgroud)

/etc/apt/sources.list
Run Code Online (Sandbox Code Playgroud)

这就是我的Dockerfile的样子:

FROM node:4.8-slim

COPY . /

## How to add backports to list ???

RUN apt-get update && apt-get install ffmpeg && ffmpeg -i

RUN (cd programs/server && npm install --silent)
CMD ["node", "main.js"]
Run Code Online (Sandbox Code Playgroud)

linux debian docker dockerfile debian-jessie

7
推荐指数
3
解决办法
1万
查看次数

Docker - 未从节点找到软件包 404:8-jessie

我们在容器化环境中使用node:8-jessie,然后昨天我们突然遇到了Packages not found 404 错误

W: Failed to fetch http://security.debian.org/debian-security/dists/jessie/updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.130.132 80]

W: Failed to fetch http://deb.debian.org/debian/dists/jessie/main/binary-amd64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud)

然后我们根据此处此处所示的修复对 Dockerfile 进行了一些调整。但是我们遇到了上面提供的相同的无法获取错误以及附加的 GPG 错误:

W: GPG error: http://archive.debian.org jessie-backports InRelease: The following signatures were invalid: KEYEXPIRED 1587841717 KEYEXPIRED 1668891673

这是我的 Dockerfile:

FROM node:8-jessie

RUN echo 'deb http://archive.debian.org/debian jessie-backports main' > /etc/apt/sources.list.d/jessie-backports.list
RUN sed …
Run Code Online (Sandbox Code Playgroud)

debian docker debian-jessie

7
推荐指数
2
解决办法
1万
查看次数

/ phppgadmin Forbidden您无权访问此服务器上的/ phppgadmin /

我最近将我的服务器从Debian Wheezy升级到Debian Jessie(Debian 8).许多软件包已更新,现在,我无权从http:// myIP/phppgadmin访问phppgadmin

Forbidden
You don't have permission to access /phppgadmin/ on this server.
Run Code Online (Sandbox Code Playgroud)

我尝试了很多想法解决问题,但绝对没有任何作用......

在/etc/apache2/conf.d/phppgadmin中:

Alias /phppgadmin /usr/share/phppgadmin

<Directory /usr/share/phppgadmin>

DirectoryIndex index.php
AllowOverride None

order allow,deny
# deny from all
allow from 127.0.0.0/255.0.0.0 ::1/128
allow from all
Run Code Online (Sandbox Code Playgroud)

在/etc/apache2/sites-enabled/000-default.conf中我添加:

    <Directory /usr/share/phppgadmin/>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride None
            Order allow,deny
            Allow from all
    </Directory>
Run Code Online (Sandbox Code Playgroud)

我尝试更改/ usr/share/phppgadmin /,/ var/www的权限...

即使我卸载了包phpgpadmin,我也有同样的信息!

apt-get remove phppgadmin
Run Code Online (Sandbox Code Playgroud)

非常感谢帮助......

postgresql phppgadmin server debian-jessie

6
推荐指数
2
解决办法
2万
查看次数

W:无法获取http://httpredir.debian.org/debian/dists/jessie-updates/main/binary-amd64/Package 404未找到

我的Bitbucket管道的[相关部分]如下所示:

  - step:
      image: python:3.5.1
      name: upload to s3
      script:
        - export S3_BUCKET="elasticbeanstalk-us-east-1-122232355432"
        - export VERSION_LABEL=$(cat VERSION_LABEL)
        - apt-get update # required to install zip
        - apt-get install -y zip # required for packaging up the application
        - pip install boto3==1.3.0 # required for upload_to_s3.py
        - zip --exclude=*.git* -r /tmp/artifact.zip . # package up the application for deployment
        - python upload_to_s3.py # run the deployment script
Run Code Online (Sandbox Code Playgroud)

但是,当我在Bitbucket中运行它时,出现以下错误

+ apt-get update
Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign http://httpredir.debian.org …
Run Code Online (Sandbox Code Playgroud)

debian bitbucket apt-get bitbucket-pipelines debian-jessie

6
推荐指数
1
解决办法
3682
查看次数

如何在 docker 上为 python3.5 安装 openCV (debian:jessie)

我已经为此苦苦挣扎了几天,找不到在 debian:jessie docker 上安装 OpenCV + python3.5 的正确方法(我不能在 debian:jessie 旁边使用任何基础映像)。

我目前正在尝试纠结的怪物,因为你可以在下面找到。

我主要基于途中的许多错误处理和:https : //www.pyimagesearch.com/2017/09/25/configuring-ubuntu-for-deep-learning-with-python/ https://开头的github .com/janza/docker-python3-opencv/blob/master/Dockerfile

我认为我的问题是安装 python3.5 并将 pip3 指定为默认值,然后通过它安装 numpy,然后安装其余的。但在这一点上,我完全不确定,也不确定如何解决它。

真的可以使用任何帮助和指针来解决这个烂摊子。谢谢。

FROM debian:jessie
RUN mkdir -p /home/deployer
RUN apt-get update && apt-get install -yq libgconf-2-4 && apt-get install vim -y
RUN apt-get update && apt-get install -y wget --no-install-recommends \
    && apt-get install -y curl \
    && apt-get install -y libssl-dev openssl \
    && apt-get install -y software-properties-common \
    && apt-get install -y python-dev build-essential \
    && …
Run Code Online (Sandbox Code Playgroud)

opencv docker python-3.5 debian-jessie

5
推荐指数
1
解决办法
1939
查看次数