首页 技术 正文
技术 2022年11月18日
0 收藏 491 点赞 2,845 浏览 4618 个字

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) ...

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

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

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,082
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,557
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,406
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,179
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,815
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,898