Błędy podczas instalowania programu przez apt-get

Cześć,

root@orangepi:~# apt-get install proftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'proftpd-basic' instead of 'proftpd'
proftpd-basic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
4 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 samba (2:3.6.6-6+deb7u7) ...
insserv: warning: script 'toshiba' missing LSB tags and overrides
insserv: There is a loop between service minidlna and toshiba if stopped
insserv: loop involving service toshiba at depth 2
insserv: loop involving service minidlna at depth 1
insserv: Stopping toshiba depends on minidlna 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 samba (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up proftpd-basic (1.3.4a-5+deb7u3) ...
insserv: warning: script 'toshiba' missing LSB tags and overrides
insserv: There is a loop between service minidlna and toshiba if stopped
insserv: loop involving service toshiba at depth 2
insserv: loop involving service minidlna at depth 1
insserv: Stopping toshiba depends on minidlna 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 proftpd-basic (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of proftpd-mod-vroot:
 proftpd-mod-vroot depends on proftpd-basic (= 1.3.4~rc2-2~); however:
  Package proftpd-basic is not configured yet.
 proftpd-mod-vroot depends on proftpd-abi-1.3.4a; however:
  Package proftpd-abi-1.3.4a is not installed.
  Package proftpd-basic which provides proftpd-abi-1.3.4a is not configured yet.

dpkg: error processing proftpd-mod-vroot (--configure):
 dependency problems - leaving unconfigured
Setting up hddtemp (0.3-beta15-52) ...
insserv: warning: script 'toshiba' missing LSB tags and overrides
insserv: There is a loop between service minidlna and toshiba if stopped
insserv: loop involving service toshiba at depth 2
insserv: loop involving service minidlna at depth 1
insserv: Stopping toshiba depends on minidlna 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 hddtemp (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 samba
 proftpd-basic
 proftpd-mod-vroot
 hddtemp
E: Sub-process /usr/bin/dpkg returned an error code (1)

Jak te błędy wyeliminować? Niestety moje próby naprawienia tego spełzły na niczym :frowning:

Najpierw tym się zajmij - albo z sudo albo jako root:

apt-get update && apt-get dist upgrade

Skąd te pakiety były instalowane?

samba
 proftpd-basic
 proftpd-mod-vroot
 hddtemp

Cześć,

Pisze że proftpd jest już zainstalowany.

Wykonaj

“apt-get - f install” żeby naprawić problemy z pakietami

Niestety, błędy nadaj występują

root@orangepi:/etc/init.d# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libgail-3-0
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up samba (2:3.6.6-6+deb7u7) ...
insserv: warning: script 'toshiba' missing LSB tags and overrides
insserv: There is a loop between service minidlna and toshiba if stopped
insserv: loop involving service toshiba at depth 2
insserv: loop involving service minidlna at depth 1
insserv: Stopping toshiba depends on minidlna 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 samba (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up wolfram-engine (10.0.2+2015020304) ...
ln: failed to create symbolic link `/usr/share/icons/nuoveXT2/32x32/mimetypes/application-mathematica.png': File exists
dpkg: error processing wolfram-engine (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up proftpd-basic (1.3.4a-5+deb7u3) ...
insserv: warning: script 'toshiba' missing LSB tags and overrides
insserv: There is a loop between service minidlna and toshiba if stopped
insserv: loop involving service toshiba at depth 2
insserv: loop involving service minidlna at depth 1
insserv: Stopping toshiba depends on minidlna 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 proftpd-basic (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of proftpd-mod-vroot:
 proftpd-mod-vroot depends on proftpd-basic (>= 1.3.4~rc2-2~); however:
  Package proftpd-basic is not configured yet.
 proftpd-mod-vroot depends on proftpd-abi-1.3.4a; however:
  Package proftpd-abi-1.3.4a is not installed.
  Package proftpd-basic which provides proftpd-abi-1.3.4a is not configured yet.

dpkg: error processing proftpd-mod-vroot (--configure):
 dependency problems - leaving unconfigured
Setting up fake-hwclock (0.8) ...
insserv: warning: script 'toshiba' missing LSB tags and overrides
insserv: There is a loop between service minidlna and toshiba if stopped
insserv: loop involving service toshiba at depth 2
insserv: loop involving service minidlna at depth 1
insserv: Stopping toshiba depends on minidlna 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 fake-hwclock (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up hddtemp (0.3-beta15-52) ...
insserv: warning: script 'toshiba' missing LSB tags and overrides
insserv: There is a loop between service minidlna and toshiba if stopped
insserv: loop involving service toshiba at depth 2
insserv: loop involving service minidlna at depth 1
insserv: Stopping toshiba depends on minidlna 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 hddtemp (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 samba
 wolfram-engine
 proftpd-basic
 proftpd-mod-vroot
 fake-hwclock
 hddtemp
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@orangepi:/etc/init.d# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libgail-3-0
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up samba (2:3.6.6-6+deb7u7) ...
insserv: warning: script 'toshiba' missing LSB tags and overrides
insserv: There is a loop between service minidlna and toshiba if stopped
insserv: loop involving service toshiba at depth 2
insserv: loop involving service minidlna at depth 1
insserv: Stopping toshiba depends on minidlna 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 samba (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up wolfram-engine (10.0.2+2015020304) ...
ln: failed to create symbolic link `/usr/share/icons/nuoveXT2/32x32/mimetypes/application-mathematica.png': File exists
dpkg: error processing wolfram-engine (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up proftpd-basic (1.3.4a-5+deb7u3) ...
insserv: warning: script 'toshiba' missing LSB tags and overrides
insserv: There is a loop between service minidlna and toshiba if stopped
insserv: loop involving service toshiba at depth 2
insserv: loop involving service minidlna at depth 1
insserv: Stopping toshiba depends on minidlna 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 proftpd-basic (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of proftpd-mod-vroot:
 proftpd-mod-vroot depends on proftpd-basic (>= 1.3.4~rc2-2~); however:
  Package proftpd-basic is not configured yet.
 proftpd-mod-vroot depends on proftpd-abi-1.3.4a; however:
  Package proftpd-abi-1.3.4a is not installed.
  Package proftpd-basic which provides proftpd-abi-1.3.4a is not configured yet.

dpkg: error processing proftpd-mod-vroot (--configure):
 dependency problems - leaving unconfigured
Setting up fake-hwclock (0.8) ...
insserv: warning: script 'toshiba' missing LSB tags and overrides
insserv: There is a loop between service minidlna and toshiba if stopped
insserv: loop involving service toshiba at depth 2
insserv: loop involving service minidlna at depth 1
insserv: Stopping toshiba depends on minidlna 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 fake-hwclock (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up hddtemp (0.3-beta15-52) ...
insserv: warning: script 'toshiba' missing LSB tags and overrides
insserv: There is a loop between service minidlna and toshiba if stopped
insserv: loop involving service toshiba at depth 2
insserv: loop involving service minidlna at depth 1
insserv: Stopping toshiba depends on minidlna 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 hddtemp (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 samba
 wolfram-engine
 proftpd-basic
 proftpd-mod-vroot
 fake-hwclock
 hddtemp
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

ty czytasz to co wyskakuje z konsoli? czy walisz na pałe? przecież wszystko pisze

jest jeszcze kilka komunikatów o nie skonfigurowanych pakietach ale tego już sam poszukaj i wykonaj na nich polecenie “apt-get reinstall” i piszesz nazwy pakietów do przeinstalowania

mogę ci podpowiedzieć co robić ale nie szukać nazw pakietów za ciebie i czytać za ciebie co pisze “biało na czarnym”