apt包管理器说好真好,说不好真不好。

最近在debian9、ubuntu18.04上安装oracle 10g 玩。

怎么都准备不好安装环境。原因就是i386构架体系的deb包总安装不正确!

baidu、google、bing一把,也没见着类似的解决方法。无奈,自己瞎 JB 试!反正“死马当活马医”!

--------------------

又是无意中。根据dpkg的错误提示信息:

...
dpkg: error processing package libuuid1:i386 (--install):
package libuuid1:i386 2.29.- cannot be configured because libuuid1:amd64 is at a different version (2.29.-+deb9u1)
dpkg: also configuring 'libuuid1:i386' (required by 'libsm6:i386')
dpkg: error processing package libuuid1:i386 (--install):
package libuuid1:i386 2.29.- cannot be configured because libuuid1:amd64 is at a different version (2.29.-+deb9u1)
dpkg: also configuring 'libuuid1:i386' (required by 'libsm6:i386')
dpkg: error processing package libuuid1:i386 (--install):
package libuuid1:i386 2.29.- cannot be configured because libuuid1:amd64 is at a different version (2.29.-+deb9u1)
dpkg: also configuring 'libuuid1:i386' (required by 'libsm6:i386')
dpkg: error processing package libuuid1:i386 (--install):
package libuuid1:i386 2.29.- cannot be configured because libuuid1:amd64 is at a different version (2.29.-+deb9u1)
...

这不是说“libuuid1” i386和amd64的版本不一致么!!

从debian的官网,下载一个 i386和amd64 版本一致的 libuuid1包,祈祷可以安装!

God,bless me!

root@debian9:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
libsm6:i386 libuuid1:i386 libxt6:i386
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 657 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 25454 files and directories currently installed.)
Removing libxt6:i386 (1:1.1.5-1) ...
Removing libsm6:i386 (2:1.2.2-1+b3) ...
Removing libuuid1:i386 (2.29.2-1) ...
Setting up libuuid1:amd64 (2.29.2-1+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
W: APT had planned for dpkg to do more than it reported back (6 vs 10).
Affected packages: libuuid1:amd64
root@debian9:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@debian9:~# apt-get install ./libuuid1_2.29.2-1_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libuuid1' instead of './libuuid1_2.29.2-1_amd64.deb'
Recommended packages:
uuid-runtime
The following packages will be DOWNGRADED:
libuuid1
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Need to get 70.0 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.ustc.edu.cn/debian stretch/main amd64 libuuid1 amd64 2.29.2-1 [70.0 kB]
Fetched 70.0 kB in 0s (291 kB/s)
dpkg: warning: downgrading libuuid1:amd64 from 2.29.2-1+deb9u1 to 2.29.2-1
(Reading database ... 25439 files and directories currently installed.)
Preparing to unpack .../libuuid1_2.29.2-1_amd64.deb ...
Unpacking libuuid1:amd64 (2.29.2-1) over (2.29.2-1+deb9u1) ...
Setting up libuuid1:amd64 (2.29.2-1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
root@debian9:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@debian9:~# dpkg -l |grep uuid
ii libuuid1:amd64 2.29.2-1 amd64 Universally Unique ID library
root@debian9:~# apt-get install ./libuuid1_2.29.2-1_i386.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libuuid1:i386' instead of './libuuid1_2.29.2-1_i386.deb'
The following additional packages will be installed:
uuid-runtime
The following NEW packages will be installed:
libuuid1:i386 uuid-runtime
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 153 kB of archives.
After this operation, 268 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.ustc.edu.cn/debian stretch/main amd64 uuid-runtime amd64 2.29.2-1 [82.5 kB]
Get:2 http://mirrors.ustc.edu.cn/debian stretch/main i386 libuuid1 i386 2.29.2-1 [71.0 kB]
Fetched 153 kB in 0s (307 kB/s)
Selecting previously unselected package uuid-runtime.
(Reading database ... 25439 files and directories currently installed.)
Preparing to unpack .../uuid-runtime_2.29.2-1_amd64.deb ...
Unpacking uuid-runtime (2.29.2-1) ...
Selecting previously unselected package libuuid1:i386.
Preparing to unpack .../libuuid1_2.29.2-1_i386.deb ...
Unpacking libuuid1:i386 (2.29.2-1) ...
Setting up libuuid1:i386 (2.29.2-1) ...
Setting up uuid-runtime (2.29.2-1) ...
Adding group `uuidd' (GID 111) ...
Done.
Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory
Adding system user `uuidd' (UID 107) ...
Adding new user `uuidd' (UID 107) with group `uuidd' ...
Not creating home directory `/run/uuidd'.
Created symlink /etc/systemd/system/sockets.target.wants/uuidd.socket → /lib/systemd/system/uuidd.socket.
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for systemd (232-25+deb9u2) ...

  苍天啊!大地啊!可以啦!!!

后续,随便玩吧...............................

debian、ubuntu:使用apt包管理器可能存在的问题! 让新手望而却步!的更多相关文章

  1. 怎样在 Ubuntu 16.04 强制 APT 包管理器使用 IPv4 | Linux 中国

    版权声明:本文为博主原创文章.未经博主同意不得转载. https://blog.csdn.net/F8qG7f9YD02Pe/article/details/82879401 https://mmbi ...

  2. 在ubtuntu中使用包管理器 linux-brew

    用惯了mac的程序员回到linux开发平台总觉得有点不适应,这是因为linux的界面没有mac那么精美,而且linux的包管理器没有mac上面的homebrew那么强大.mac程序员遇到库的依赖问题时 ...

  3. [转]Ubuntu上的包管理:dpkg,apt和aptitude

    一直以来对于ubuntu的包管理的概念就是apt-get,偶尔手动装个包就是dpkg -i,现在觉得是要系统地了解一下这几个包管理的命令. 原文转自: http://zhouliang.pro/201 ...

  4. debian系统的另一个包管理器aptitude

    最近在玩OPI的时候遇到了一个包因为各种依赖问题死活装不上.苦搜很久找到这个aptitude包管理器. 基于debain衍生的各种操作系统比较常用包管理器是apt,不过apt在遇到依赖问题的时候处理得 ...

  5. ubuntu利用包管理器安装Node.JS

    步骤1:用curl获取源代码在我们用卷曲获取源代码之前,我们必须先升级操作系统,然后用卷发命令获取NodeSource添加到本地仓库. root@ubuntu-:~#apt-get update 安装 ...

  6. linux 各种发行版及包管理器的关系

    linux 各种发行版及包管理器的关系 Linux发行版列表 基于Kpkg(Debian 系) Debian GNU / Linux 及其派生发行版使用deb软件包格式,并使用dpkg及其前端作为包管 ...

  7. Linux新手的最佳包管理器

    一个 Linux 新用户应该知道他或她的进步源自于对 Linux 发行版的使用,而 Linux 发行版有好几种,并以不同的方式管理软件包. 在 Linux开发 中,包管理器非常重要,知道如何使用多种包 ...

  8. Kubernetes学习之路(二十五)之Helm程序包管理器

    目录 1.Helm的概念和架构 2.部署Helm (1)下载helm (2)部署Tiller 3.helm的使用 4.chart 目录结构 5.chart模板 6.定制安装MySQL chart (1 ...

  9. Linux系统-----包管理器的演变

    每个电脑设备都使用某种形式的软件来执行其预定任务.在软件开发的早期,对产品进行了严格的bug和其他缺陷测试.在过去的十多年里,软件通过互联网发布,目的是通过应用新版本的软件来修复任何错误.在某些情况下 ...

随机推荐

  1. Android 开发自己的网络收音机2——电台列表(SlidingMenu侧滑栏)

    上一篇文章总体规划了这个项目的情况,今天讲讲实现电台列表.今天其实主要想讲解的是SlidingMenu,也就是我们平时说的侧滑栏,现在很多应用都有用这种UI效果.SlidingMenu侧滑栏功能实现的 ...

  2. Android ListView的使用(三)

    前两节关于ListView的,已经使用了ArrayAdapter,SimpleAdapter了,两个比较基本的适配器 这里来用一个用的最多的一个适配器BaseAdapter. 还是先上效果图.大概和微 ...

  3. Git做代码增量发布的重要用法 - --diff-filter

    你以为有 bash git diff --name-only 就够了,NO! 对于PHP开发的系统来说,增量发布,一般只需部署新增的文件和有变动的文件,但很多时候,文件是删除的或重构成其它文件名或重构 ...

  4. keras系列︱Application中五款已训练模型、VGG16框架(Sequential式、Model式)解读(二)

    引自:http://blog.csdn.net/sinat_26917383/article/details/72859145 中文文档:http://keras-cn.readthedocs.io/ ...

  5. eclipse多个项目保存到gitee上一个仓库中

    自己练习创建到多个项目,想同步到gitee上一个仓库中. 1. 首先在gitee上创建项目springtest 2. 在eclipse默认项目存放到地方创建文件夹springtest,用来同步gite ...

  6. linux 基础笔记(一)

    [1.1]系统的选择 Centos: CentOS(Community Enterprise Operating System)是Linux发行版之一,它是来自于Red Hat Enterprise  ...

  7. UI设计,使用 线框图(页面示意图或页面布局图)

    在进行页面框架设计的时候,尝试画个 线框图(页面示意图或页面布局图)吧.

  8. MVC教程七:扩展HtmlHelper方法

    在上一篇文章的最后,列出了一些常见的HtmlHelper的方法,这些都是ASP.NET MVC已经定义好的,如果我们想自己定义一个HtmlHelper方法可以吗?答案是肯定的,那么如何自定义一个Htm ...

  9. 虚拟机安装以及PCL的配置(2)

    那我们无论在虚拟机还是在双系统的Ubuntu环境下都是一样的安装过程 我们使用快捷键“ctrl+alt+T”,来打开一个命令窗口如下图 比如我们在命令窗口下输入ls 我们会看到在主目录下的所有文件 下 ...

  10. CATALINA_BASE与CATALINA_HOME的区别

    http://blog.csdn.net/keda8997110/article/details/21400455 —————————————————————————————————————————— ...