Я использую Ubuntu 10.04.4 LTS на своем ноутбуке DELL Vostro 1400.
Сегодня днем, когда я бежал sudo apt-get upgrade
, я получил ошибку.
Погуглил за это, но не было никаких конкретных обходных путей, предложенных для него.
Вот ошибка:
ubuntu@ubuntu-laptop:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 280 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up x11-common (1:7.6+8~bpo60+1) ...
Template parse error near `Choices-sr@latin.UTF-8: Samo glavni korisnik, Samo za korisnike konzole, Svako', in stanza #1 of /var/lib/dpkg/info/x11-common.templates
dpkg: error processing x11-common (--configure):
subprocess installed post-installation script returned error exit status 9
dpkg: dependency problems prevent configuration of xserver-common:
xserver-common depends on x11-common; however:
Package x11-common is not configured yet.
dpkg: error processing xserver-common (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
x11-common
xserver-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
ubuntu@ubuntu-laptop:~$
Есть идеи, в чем может быть проблема?
Я нашел причину, это происходило из-за записи сжимать-бэкпортов в sources.list.
Кажется ООН устанавливались, совместимые DEBs
Удаленный запись.
И Повторно выполнил обновление, но все еще apt-get upgrade
дал ту же ошибку.
Затем после большого того, чтобы влезать в команды, я работал sudo aptitude remove x11-common
Это предложило решение понизить x11.
The following actions will resolve these dependencies:
Downgrade the following packages:
x11-common [1:7.6+8~bpo60+1 (now) -> 1:7.5+5ubuntu1 (lucid)]
Score is -9979
Accept this solution? [Y/n/q/?]
Дал 'Y', и он разрешил несоответствие.
Позже я работал apt-get upgrade
который установил последний deb x11 для Ubuntu.
Все хорошо теперь :D