ubuntu16.04安装oracle常见问题-阿里云开发者社区

开发者社区> 数据库> 正文

ubuntu16.04安装oracle常见问题

简介: 报错信息: Err:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm2 amd64 2.4.83-1~16.04.

报错信息:

Err:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm2 amd64 2.4.83-1~16.04.1
  404  Not Found [IP: 91.189.91.23 80]
Err:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-amdgpu1 amd64 2.4.83-1~16.04.1
  404  Not Found [IP: 91.189.91.23 80]
Err:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-intel1 amd64 2.4.83-1~16.04.1
  404  Not Found [IP: 91.189.91.23 80]
Err:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-nouveau2 amd64 2.4.83-1~16.04.1
  404  Not Found [IP: 91.189.91.23 80]
Err:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-radeon1 amd64 2.4.83-1~16.04.1
  404  Not Found [IP: 91.189.91.23 80]
Err:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libglapi-mesa amd64 17.2.8-0ubuntu0~16.04.1
  404  Not Found [IP: 91.189.91.23 80]
Err:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgl1-mesa-dri amd64 17.2.8-0ubuntu0~16.04.1
  404  Not Found [IP: 91.189.91.23 80]
Err:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgl1-mesa-glx amd64 17.2.8-0ubuntu0~16.04.1
  404  Not Found [IP: 91.189.91.23 80]
Err:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 libdrm-common all 2.4.83-1~16.04.1
  404  Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libd/libdrm/libdrm-common_2.4.83-1~16.04.1_all.deb  404  Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libd/libdrm/libdrm2_2.4.83-1~16.04.1_amd64.deb  404  Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libd/libdrm/libdrm-amdgpu1_2.4.83-1~16.04.1_amd64.deb  404  Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libd/libdrm/libdrm-intel1_2.4.83-1~16.04.1_amd64.deb  404  Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libd/libdrm/libdrm-nouveau2_2.4.83-1~16.04.1_amd64.deb  404  Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libd/libdrm/libdrm-radeon1_2.4.83-1~16.04.1_amd64.deb  404  Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libglapi-mesa_17.2.8-0ubuntu0~16.04.1_amd64.deb  404  Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgl1-mesa-dri_17.2.8-0ubuntu0~16.04.1_amd64.deb  404  Not Found [IP: 91.189.91.23 80]

E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgl1-mesa-glx_17.2.8-0ubuntu0~16.04.1_amd64.deb  404  Not Found [IP: 91.189.91.23 80]

问题描述:安装oracle过程中出现上述报错


解决办法:先执行该命令sudo apt-get update  然后再执行安装对应的依赖库即可

 

报错信息::sysctl: cannot stat /proc/sys/–p: No such file or directory

问题描述:这是我再安装Oracle时,修改/etc/sysctl.conf文件添加对应的参数后,保存执行sysctl -p更新内核参数命令报的错

解决办法:

通过执行执行如下两条命令即可:
modprobe bridge
lsmod|grep bridge
最后再重新执行
sysctl -p
会显示对应的内核参数:
fs.aio-max-nr = 65536
fs.file-max = 13158378
kernel.shmall = 18446744073692774399
kernel.shmmax = 18446744073692774399
kernel.shmmni = 4096
kernel.sem = 32000 1024000000 500 32000
net.ipv4.ip_local_port_range = 32768 60999
net.core.rmem_default = 212992
net.core.rmem_max = 212992
net.core.wmem_default = 2129
表示这一步成功

版权声明:本文首发在云栖社区,遵循云栖社区版权声明:本文内容由互联网用户自发贡献,版权归用户作者所有,云栖社区不为本文内容承担相关法律责任。云栖社区已升级为阿里云开发者社区。如果您发现本文中有涉嫌抄袭的内容,欢迎发送邮件至:developer2020@service.aliyun.com 进行举报,并提供相关证据,一经查实,阿里云开发者社区将协助删除涉嫌侵权内容。

分享:
数据库
使用钉钉扫一扫加入圈子
+ 订阅

分享数据库前沿,解构实战干货,推动数据库技术变革

其他文章