Я пытаюсь загрузить программное обеспечение ножа 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 и только имею небольшой опыт. Объясните, что Вы пытаетесь сказать мне в терминах неспециалиста.Заранее спасибо.
Cura 2.7 является устанавливаемым от 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,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