Ошибка при использовании apt-get

Я не очень разбираюсь в Linux. Я просто использую Ubuntu в течение нескольких месяцев. В последнее время я сталкиваюсь с такой же ошибкой всякий раз, когда я пытаюсь выполнить любую задачу (в основном задачи apt-get). Например, здесь я пытаюсь установить htop для своей цели, и это ошибка, которую я получаю. Кажется, что ошибка возникает из-за rsync, но не уверен в ошибке и как я могу избавиться от нее.

sudo apt-get install htop
Reading package lists... Done
Building dependency tree       
Reading state information... Done
htop is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up rsync (3.1.1-3ubuntu0.15.04.1) ...
insserv: warning: script 'K01vpnagentd_init' missing LSB tags and overrides
insserv: warning: script 'vpnagentd_init' missing LSB tags and overrides
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service vpnagentd_init and rc.local if started
insserv:  loop involving service rc.local at depth 7
insserv:  loop involving service vpnagentd_init at depth 1
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package rsync (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 rsync
E: Sub-process /usr/bin/dpkg returned an error code (1)

Я также попытался использовать sudo dpkg --configure -a, и я получаю следующую ошибку

Setting up rsync (3.1.1-3ubuntu0.15.04.1) ...
insserv: warning: script 'K01vpnagentd_init' missing LSB tags and overrides
insserv: warning: script 'vpnagentd_init' missing LSB tags and overrides
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service vpnagentd_init and rc.local if started
insserv:  loop involving service rc.local at depth 7
insserv:  loop involving service vpnagentd_init at depth 1
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package rsync (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 rsync

Было бы очень полезно, если бы кто-нибудь мог указать, что мне следует сделать, чтобы удалить эту ошибку. Я использую Ubuntu 15.04. Благодарим вас за помощь.

1
задан 10 March 2016 в 13:16

0 ответов

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

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