После обновления с 13.04 до 13.10 мой ритмбокс не работал. После многих неудачных попыток я удалил все следы ритмбокса, которые только мог найти. Теперь я переустановил rhythmbox и получаю сообщение об ошибке
rhythmbox: error while loading shared libraries: librhythmbox-core.so.7: cannot open shared object file: No such file or directory
Я пытался sudo apt-get install librhythmbox*
Только чтобы получить
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'librhythmbox-core5' for regex 'librhythmbox*'
Note, selecting 'librhythmbox-core6' for regex 'librhythmbox*'
Note, selecting 'librhythmbox-core7' for regex 'librhythmbox*'
librhythmbox-core7 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Любые идеи о том, как чтобы вернуть rhythmbox в рабочее состояние?
Сейчас я переустанавливал librhythmboxcore7 с помощью sudo apt-get --reinstall install librhythmbox-core7
и получаю другую ошибку намного ближе к моей первоначальной проблеме при первом обновлении (хотя я не думаю, что это точно тот же самый). (rhythmbox:22288): Gtk-CRITICAL **: gtk_builder_add_from_file: assertion 'filename != NULL' failed Segmentation fault (core dumped)
И теперь с инструкцией о свободе добычи sudo apt-get --reinstall install gir1.2-rb-3.0 librhythmbox-core7 rhythmbox rhythmbox-data rhythmbox-mozilla rhythmbox-plugin-cdrecorder rhythmbox-plugin-zeitgeist rhythmbox-plugins
позволил мне начать использовать ритмбокс еще раз.
Вероятно, вам нужно обмануть apt
, чтобы переустановить библиотеку, даже если она уже установлена. Это должно привести к исправлению правильных символических ссылок, таких, как вы сообщали, для воссоздания.
Возьмем, к примеру, следующее:
dad@dad-VirtualBox:~$ sudo apt-get install librhythmbox-core7
Reading package lists... Done
Building dependency tree
Reading state information... Done
librhythmbox-core7 is already the newest version.
The following package was automatically installed and is no longer required:
cmake-data
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Как видите, простая установка пакета librhythmbox-core7
не сработает.
dad@dad-VirtualBox:~$ sudo apt-get --reinstall install librhythmbox-core7
[sudo] password for dad:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
cmake-data
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/457 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 195782 files and directories currently installed.)
Preparing to replace librhythmbox-core7 2.99.1-0ubuntu1 (using .../librhythmbox-core7_2.99.1-0ubuntu1_amd64.deb) ...
Unpacking replacement librhythmbox-core7 ...
Setting up librhythmbox-core7 (2.99.1-0ubuntu1) ...
Processing triggers for libc-bin ...
dad@dad-VirtualBox:~$
Используя sudo apt-get --reinstall install librhythmbox-core7
, apt отправит новую копию и установит библиотеку.
Аналогичным образом вы также можете принудительно загрузить и переустановить все основные пакеты ритмбокса:
sudo apt-get --reinstall install gir1.2-rb-3.0 librhythmbox-core7 rhythmbox rhythmbox-data rhythmbox-mozilla rhythmbox-plugin-cdrecorder rhythmbox-plugin-zeitgeist rhythmbox-plugins