Makerbot 不会安装

Sea*_*ton 0 apt

当我尝试安装 Makerbot 时,我得到了这个:

W:无法获取 http://??downloads.makerbot.com/makerware/ubuntu/dists/trusty/InRelease

W:无法获取 http://??downloads.makerbot.com/makerware/ubuntu/dists/trusty/Release.gpg 无法解析“??downloads.makerbot.com”

请帮忙

小智 5

对于 OP 和其他任何发现此问题的人-

问题是您(和我)复制粘贴了 MakerBot 网站上的说明。网站上的文本包含与您识别的字符在视觉上相似的非 ascii 字符,但最终不会显示出来。相比:

$ cat /etc/apt/sources.list | grep ^deb | grep makerbot | hd
00000000  64 65 62 20 68 74 74 70  3a 2f 2f 64 6f 77 6e 6c  |deb http://downl|
00000010  6f 61 64 73 2e 6d 61 6b  65 72 62 6f 74 2e 63 6f  |oads.makerbot.co|
00000020  6d 2f 6d 61 6b 65 72 77  61 72 65 2f 75 62 75 6e  |m/makerware/ubun|
00000030  74 75 20 74 72 75 73 74  79 20 6d 61 69 6e 0a 64  |tu trusty main.d|
00000040  65 62 20 68 74 74 70 3a  2f 2f ef bb bf ef bb bf  |eb http://......|
00000050  64 6f 77 6e 6c 6f 61 64  73 2e 6d 61 6b 65 72 62  |downloads.makerb|
00000060  6f 74 2e 63 6f 6d 2f 6d  61 6b 65 72 77 61 72 65  |ot.com/makerware|
00000070  2f 75 62 75 6e 74 75 20  74 72 75 73 74 79 20 6d  |/ubuntu trusty m|
00000080  61 69 6e 0a                                       |ain.|
00000084
Run Code Online (Sandbox Code Playgroud)

第一个“deb”行是手工输入的;第二个来自复制粘贴 MakerWare 的 apt-add-repository 命令行。观察 http:// 和下载之间的不可打印字符(在右侧呈现为句点;在左侧呈现为 ef bb bf ef bb bf)

tl;dr:不要复制粘贴命令。手动输入整个 apt-add-repository 内容,或将以下一行添加到 /etc/apt/sources.list:

deb http://downloads.makerbot.com/makerware/ubuntu trusty main
Run Code Online (Sandbox Code Playgroud)