ubuntu中安装Redis Desktop Manager出现的问题以及解决办法

1.首先下载已经编译好的安装包:https://download.csdn.net/download/tab_yls/10308437

2. sudo dpkg -i redis-desktop-manager_0.8.3-120_amd64.deb 

然后报错:

dpkg: 依赖关系问题使得 redis-desktop-manager 的配置工作不能继续:
 redis-desktop-manager 依赖于 zlibc;然而:
  未安装软件包 zlibc。
 redis-desktop-manager 依赖于 libicu52;然而:
  未安装软件包 libicu52。
 redis-desktop-manager 依赖于 libssh2-1;然而:
  未安装软件包 libssh2-1。

3.执行:sudo apt-get install zlib1g-dev

报错:

下列软件包有未满足的依赖关系:
 redis-desktop-manager : 依赖: zlibc 但是它将不会被安装
                         依赖: libicu52 但无法安装它
                         依赖: libssh2-1 但是它将不会被安装

4.可以看到依赖: libicu52 但无法安装它,于是执行sudo apt-get install libicu52

然后报错源找不到:

没有可用的软件包 libicu52,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到

E: 软件包 libicu52 没有可安装候选

5.此时可以需要切换其它源,按照如下操作执行

su root
cd /etc/apt
cp sources.list sources.list.bak20180326 //备份
vi sources.list
将sources.list里面的内容全部删除然后换上其它的源,比如163或阿里的
apt-get clean
apt-get update
apt-get upgrade
阿里源
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
163源
deb http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse 
deb-src http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse 
deb http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted 
deb-src http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted 
deb http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted 
deb http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted 
deb-src http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted 
deb http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted 
deb-src http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted 
deb-src http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted
参考:https://blog.csdn.net/u013410747/article/details/51706964

猜你喜欢

转载自blog.csdn.net/tab_yls/article/details/79694655