
Я пытаюсь загрузить программное обеспечение Cura slicer на свой компьютер, но я все время останавливаюсь на месте. Я пробовал 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
Репозиторий, упомянутый в принятом ответе, устарел, в нем есть только версия cura 2.7. В настоящее время лучший способ установить его — загрузить его ссайт куранапрямую.
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