天天看點

ubuntu16.04安裝oracle常見問題

報錯資訊:

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

Err:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-intel1 amd64 2.4.83-1~16.04.1

Err:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-nouveau2 amd64 2.4.83-1~16.04.1

Err:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-radeon1 amd64 2.4.83-1~16.04.1

Err:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libglapi-mesa amd64 17.2.8-0ubuntu0~16.04.1

Err:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgl1-mesa-dri amd64 17.2.8-0ubuntu0~16.04.1

Err:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgl1-mesa-glx amd64 17.2.8-0ubuntu0~16.04.1

Err:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 libdrm-common all 2.4.83-1~16.04.1

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

表示這一步成功