我正在尝试让 Bluez 适用于 Kubuntu,在阅读了一些帖子后,似乎这个命令应该可以让它全部工作:
sudo apt install libdbus-1-dev libudev-dev libical-dev libreadline-dev
这是必需的,因为 Bluez./configure
否则会出现错误D-Bus >= 1.6 is required
。但是,当我发出上述命令时,我得到:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libreadline-dev is already the newest version (7.0-5).
libreadline-dev set to manually installed.
The following additional packages will be installed:
libdb-dev libdb5.3-dev
Suggested packages:
db5.3-doc
The following NEW packages will be installed:
libdb-dev libdb5.3-dev libdbus-1-dev libical-dev libudev-dev
0 upgraded, 5 newly installed, 0 to remove and 39 not upgraded.
Need to get 1,288 kB/1,290 kB of archives.
After this operation, 7,273 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Ign:1 http://ca.archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libdbus-1-dev amd64 1.12.10-1ubuntu2.1
Ign:2 http://ca.archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libdb5.3-dev amd64 5.3.28+dfsg1-0.1ubuntu0.1
Err:3 http://ca.archive.ubuntu.com/ubuntu cosmic/main amd64 libical-dev amd64 3.0.4-0ubuntu3
404 Not Found [IP: 91.189.91.39 80]
Err:4 http://ca.archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libudev-dev amd64 239-7ubuntu10.14
404 Not Found [IP: 91.189.91.39 80]
Err:1 http://security.ubuntu.com/ubuntu cosmic-updates/main amd64 libdbus-1-dev amd64 1.12.10-1ubuntu2.1
404 Not Found [IP: 91.189.91.39 80]
Err:2 http://security.ubuntu.com/ubuntu cosmic-updates/main amd64 libdb5.3-dev amd64 5.3.28+dfsg1-0.1ubuntu0.1
404 Not Found [IP: 91.189.91.39 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/d/dbus/libdbus-1-dev_1.12.10-1ubuntu2.1_amd64.deb 404 Not Found [IP: 91.189.91.39 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/d/db5.3/libdb5.3-dev_5.3.28+dfsg1-0.1ubuntu0.1_amd64.deb 404 Not Found [IP: 91.189.91.39 80]
E: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/libi/libical3/libical-dev_3.0.4-0ubuntu3_amd64.deb 404 Not Found [IP: 91.189.91.39 80]
E: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/s/systemd/libudev-dev_239-7ubuntu10.14_amd64.deb 404 Not Found [IP: 91.189.91.39 80]
E: Unable to fetch some archives, try running apt-get update or apt-get --fix-missing.
显而易见的问题是,需要做什么?