Installed Debian 8 x64 on Vmware 11.0.0

For no reason at all, an error occurred during the download and during the configuration of some packages.

enter image description here

The contents of these directories:

enter image description here

How to fix this error?

I read about systemd-sysv-generator. It is used for some kind of script compatibility. But I did not understand this in detail, and in his opinion rc*.d should be scripts. As I understand it ... But they are directories.

The dpkg -S /etc/init.d/rc1.d command gives the answer:

 dpkg-query: no path found matching pattern /etc/init.d/rc1.d 

And so to all directories

  • where did all these directories come from? What packages do they belong to? ( dpkg -S /путь/к/файлу/или/каталогу ). // The text should be attached to the question / answer as text, not as a picture: it is more convenient to read and search by text works. - aleksandr barakin
  • Completed the output of the command - CJ1
  • just now saw the word vmware in the file names. deal with this program - for what purpose it "shat" to you inside the virtual machine. // I would just remove all this garbage. - aleksandr barakin
  • These are demons vmware tools. Thanks to them, insert and shared folders work with Windows. Deleting it all stops working - CJ1

1 answer 1

there are actually no errors: there should be no directories in /etc/init.d .

rather, an error is present in the program that created these files and directories.

such scripts should be located in /etc/rc*.d , and not in /etc/init.d/rc*.d .

if you really need these scripts, try moving them from /etc/init.d/rc0.d to /etc/rc0.d and so on, and delete the /etc/init.d/rc*.d directories.

only note that these may not be files, but soft links to files ( symlinks ), and if the paths to the files in these links are not absolute, but relative, they will need to be corrected after moving.

  • You are right, it helped. Just why in this book it is said that these directories are placed in /etc/init.d/rc*.d books.google.kz/… - CJ1
  • probably because the name of the book contains the name of a completely different distribution. - aleksandr barakin
  • Clear! So I collected from the source code of another VMWare tools distribution. That explains everything, it was just said there that these sources are for debian too. Thanks for the help! - CJ1