Испытывание затруднений установить openastro в моем ПК.
$ sudo apt-get install openastro.org
[sudo] password for user:
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:
openastro.org : Depends: python-dateutil but it is not installable
Depends: python-rsvg but it is not installable
Depends: imagemagick but it is not installable
E: Unable to correct problems, you have held broken packages.
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
uname -a
Linux user-Lenovo-B580 3.13.0-67-generic #110-Ubuntu SMP Fri Oct 23 13:24:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
apt-cache policy openastro.org python-dateutil python-rsvg imagemagick
openastro.org:
Installed: (none)
Candidate: 1.1.48-0ubuntu1~trusty
Version table:
1.1.48-0ubuntu1~trusty 0
500 http://ppa.launchpad.net/pellesimon/ppa/ubuntu/ trusty/main amd64 Packages
python-dateutil:
Installed: (none)
Candidate: (none)
Version table:
python-rsvg:
Installed: (none)
Candidate: (none)
Version table:
imagemagick:
Installed: (none)
Candidate: (none)
Version table:
сделал
sudo add-apt-repository ppa:pellesimon/ppa
sudo apt-get update
sudo apt-get install openastro.org
и все еще не получил решения
$ sudo apt-get install openastro.org
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:
openastro.org : Depends: python-dateutil but it is not installable
Depends: python-rsvg but it is not installable
Depends: imagemagick but it is not installable
E: Unable to correct problems, you have held broken packages.
Вывод apt-cache policy python-dateutil python-rsvg imagemagick
говорит
python-dateutil:
Installed: (none)
Candidate: (none)
Version table:
python-rsvg:
Installed: (none)
Candidate: (none)
Version table:
imagemagick:
Installed: (none)
Candidate: (none)
Version table:
main
репозиторий не включен, или Вы никогда не работали sudo apt-get update
.ИЛИ
Было сообщение об ошибке во время apt-get update
(который Вы обеспечили позже):
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release Unable to find expected entry 'universe/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
и действительно Вы получаете информацию
Index of /ubuntu/dists/wily/universe/binary-amd64
[ICO] Name Last modified Size
[DIR] Parent Directory -
[ ] Packages.bz2 22-Oct-2015 12:48 6.4M
[ ] Packages.gz 22-Oct-2015 12:48 8.3M
[ ] Release 22-Oct-2015 12:48 98
Существует нет Packages
файл. Но в документации APT говорится:
APT затем импортирует список пакетов, опубликованных каждым из них [… средства
sources.list
…] источники. Эта операция достигается путем загрузки Packages.xz или варианта с помощью другого метода сжатия (такого как Packages.gz или .bz2) файлы (в случае источника двоичных пакетов)
Другие странные вещи, только репозиторий вселенной, и иногда репозиторий мультивселенной имеет проблемы, и время от времени у Вас есть "Ошибка" несоответствия Суммы хеша.
Вы могли установить пакеты вручную
mkdir ~/openastro
cd ~/openastro
wget http://mirrors.kernel.org/ubuntu/pool/main/p/python-dateutil/python-dateutil_1.5+dfsg-1ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/g/gnome-python-desktop/python-rsvg_2.32.0+dfsg-3_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/i/imagemagick/imagemagick_6.7.7.10-6ubuntu3_amd64.deb
sudo dpkg -i *.deb
Но это - твердый путь, необходимо загрузить и установить каждое отсутствие и не устанавливаемую зависимость таким же образом.
wget <URL>
sudo dpkg -i <DEB_FILE_NAME>
Или попробуйте Скалистую вершину, я подозреваю, у Вас есть проблема с Вашим поставщиком и/или ограничениями страны:
sudo apt-get install tor
sudo apt-get install torsocks
Если команды выше не работают, загрузите и установите с dpkg
wget http://mirrors.kernel.org/ubuntu/pool/universe/t/tor/tor_0.2.4.27-1build0.14.04.1_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/universe/t/torsocks/torsocks_1.3-3_amd64.deb
sudo dpkg -i tor*.deb
Теперь обновление и установка
sudo torify apt-get update
sudo torify apt-get install openastro.org
Попытайтесь установить этот путь.
Просто пресса Ctrl + Высокий звук + T на Вашей клавиатуре, чтобы открыть Терминал. Когда это откроется, управляйте командой (командами) ниже:
sudo add-apt-repository ppa:pellesimon/ppa
sudo apt-get update
sudo apt-get install openastro.org