Когда я устанавливаю пакет как 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 или что-то? Кто-либо знает, как зафиксировать это?
Странный, эти id
команда была заменена чем-то пустым.
Переустановленного coreutils и проблемы не стало.