我正在尝试将 Cura 切片软件下载到我的电脑上,但一直无法完成下载。我试过了sudo apt update
,但收到以下消息:
Aborted (core dumped)
Reading package lists... Done
N: Ignoring file 'sp' in directory '/etc/apt/sources.list.d/' as it has no filename extension
N: Ignoring file 'google-chrome.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi'
E: Sub-process returned an error code
我尝试安装
sudo apt-get install cura
但后来我得到了:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
cura : Depends: python3-uranium but it is not going to be installed
Depends: qml-module-qtqml-models2 but it is not installable
Depends: qml-module-qtquick-controls but it is not installable
Depends: qml-module-qtquick-dialogs but it is not installable
Recommends: cura-resources-firmware but it is not going to be installed
Recommends: cura-plugins-all but it is not going to be installed
Recommends: python3-numpy-stl but it is not installable
N: Ignoring file 'sp' in directory '/etc/apt/sources.list.d/' as it has no filename extension
N: Ignoring file 'google-chrome.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Unable to correct problems, you have held broken packages.
我努力了
sudo ppa-purge ppa:thopiekar/cura
但它告诉我:sudo: ppa-purge: command not found
我是 Linux 新手,经验很少。请用通俗易懂的语言解释一下你想告诉我的内容。提前谢谢您。
答案1
Cura 的当前稳定版本可通过 PPA 获得: ppa:thopiekar/cura:
sudo add-apt-repository ppa:thopiekar/cura
sudo apt-get update
sudo apt-get install cura
如果你想要 Cura 的前沿版本 - 你可以使用ppa:thopiekar/cura-master
sudo add-apt-repository ppa:thopiekar/cura-master
sudo apt-get update
sudo apt-get install cura
答案2
已接受答案中提到的存储库已过时,它只有 2.7 版 cura。目前安装它的更好方法是从下载cura 网站直接地。
wget https://download.ultimaker.com/current/Cura-3.4.1.AppImage
sudo mv Cura-3.4.1.AppImage /usr/bin/cura
sudo chmod +x /usr/bin/cura
现在你可以运行cura