[不花钱站长]:从免费域名开始[0元] Oracle永久免费VPS[0元] VPS环境搭建免费脚本[0元] 秒变大盘挂载免费网盘[0元] 小白免费采集器1天500W[0元] CF免费DNS+CDN服务[0元]
[零基础网赚]:撸本站免费源码[0元] 网站强引免费蜘蛛法[0元] 图片视频文件免费存储[0元] 外链轻松发布免费友链[0元] 入坑免费教程学习源代码[0元] 网上百种+赚钱联盟推荐[?元]

↑↑VPS推荐网 WWW.VPS.COM.IN 稳定 便宜 免备案↑↑


您现在的位置是:首页 > 全球[VPS测评] >  db4.8-util,安装db4.8-util,便宜VPS,国外永久免费VPS

Debian9安装db4.8→util出现\”Couldn\’t find any package\”

全球[VPS测评]来源:VPS推荐网点击:623
【性价之王】【线路之王】【价格之王】【配置之王】
【免费之王】【香港首推】【梯子之王】【独服之王】
Debian9安装db4.8→util出现\”Couldn\’t find any package\”

今天蜗牛有需要在Debian9系统中安装db4.8-util软件包,一般这个软件包都是直接在源中存在的,只要直接yum或者apt就可以安装。这里在尝试用到apt-get install db4.8-util去安装的时候出现报错Unable to locate package db4.8-util。

[email protected]:~# apt-get install db4.8-util
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package db4.8-util
E: Couldn\’t find any package by glob \’db4.8-util\’
E: Couldn\’t find any package by regex \’db4.8-util\’

开始以为是源没有升级更新导致的,于是先apt update -y之后再安装也是这样无法解决。但是我还是觉得是源的问题,以为之前在其他服务器中的DEBIAN中是可以安装的,所以暂时不去直接编译安装,找个源升级。

这里想到\”解决Debian环境无法update更新源问题及更换阿里云镜像\”,替换阿里云镜像。

第一、替换文件

vi /etc/apt/sources.list

第二、替换源内容

deb http://mirrors.aliyun.com/debian wheezy main contrib non-free
deb-src http://mirrors.aliyun.com/debian wheezy main contrib non-free
deb http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free
deb http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free

可以把sources.list先备份一份,然后我们将sources.list的内容全部替换成上面的阿里云源,然后再重新apt-get update -y之后可以完成更新。

第三、重新安装

apt-get install db4.8-util

这样问题解决。


[db4.8-util]历史优惠活动内容
  • Debian9安装db4.8-util出现\\”Couldn\\’t find any pa

  • 猜你可能想看的VPS


    转载请注明原文地址:http://140.238.13.167:12355/read-40290.html

    下一篇       上一篇