dpkg полностью сломан? Он не распознает корень

Когда я устанавливаю пакет как root:

Setting up grub-pc (1.99-21ubuntu3.17) ...
/usr/bin/ucf: line 341: test: !=: unary operator expected
/usr/bin/ucf: line 630: test: =: unary operator expected
ucf: Not loading confmodule, since we are not running as root.
/usr/bin/ucfr: line 241: test: !=: unary operator expected
Installation finished. No error reported.
grub-mkconfig: You must run this as root
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)

Аналогичные вещи случаются. Короче говоря, он знает, что я бегу с root, это совершенно странно.

Использует ли dpkg fakeroot или что-то еще? Кто-нибудь знает, как это исправить?

1
задан 29 September 2014 в 11:34

0 ответов

Другие вопросы по тегам:

Похожие вопросы: