Error while installing from terminal

Hi, when i try to install a packet from terminal i get this error

root@volumio:~# sudo apt-get install xinput-calibrator Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: libsystemd-daemon-dev : Depends: libsystemd-dev (= 215-17+deb8u5) but it is not going to be installed systemd-sysv : Depends: systemd (= 215-17+deb8u4) but 215-17+deb8u5 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). root@volumio:~# sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following extra packages will be installed: libsystemd-dev systemd-sysv The following NEW packages will be installed: libsystemd-dev The following packages will be upgraded: systemd-sysv 1 upgraded, 1 newly installed, 0 to remove and 72 not upgraded. 8 not fully installed or removed. Need to get 0 B/2701 kB of archives. After this operation, 133 kB of additional disk space will be used. Do you want to continue? [Y/n] y debconf: delaying package configuration, since apt-utils is not installed dpkg: error processing package systemd (--configure): package systemd is not ready for configuration cannot configure (current status `half-installed') Errors were encountered while processing: systemd E: Sub-process /usr/bin/dpkg returned an error code (1)

what i can do to solve this? i have to install xinput-calibrator to calibrate a touchscreen and shairplay to enable airplay support. Thanks

Make it a bit easier for us please: PI, Odroid, Cubox, x86??
Platform Volumio 1.55 or Volumio 2?
Did you do sudo apt-get update before?

Sorry, x86 (eeepc 4g). yes done sudo apt-get update and upgrade as first thing in terminal

volumio@volumio:~$ sudo apt-get update Ign http://ftp.it.debian.org jessie InRelease Hit http://ftp.it.debian.org jessie Release.gpg Hit http://ftp.it.debian.org jessie Release Hit http://ftp.it.debian.org jessie/main Sources Hit http://ftp.it.debian.org jessie/contrib Sources Hit http://ftp.it.debian.org jessie/non-free Sources Hit http://ftp.it.debian.org jessie/main i386 Packages Hit http://ftp.it.debian.org jessie/contrib i386 Packages Hit http://ftp.it.debian.org jessie/non-free i386 Packages Hit http://ftp.it.debian.org jessie/contrib Translation-en Hit http://ftp.it.debian.org jessie/main Translation-en Hit http://ftp.it.debian.org jessie/non-free Translation-en Reading package lists... Done volumio@volumio:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: libsystemd-daemon-dev : Depends: libsystemd-dev (= 215-17+deb8u5) but it is not installed systemd-sysv : Depends: systemd (= 215-17+deb8u4) but 215-17+deb8u5 is installed E: Unmet dependencies. Try using -f.

better :slight_smile:
Not really sure where you are intending to install from. We’re on debian jessie 8.x, are you sure your package is in the official debian repo?

oh on second reading, not so sure if apt-get upgrade was a good idea.
With that you might be overwriting critical Volumio OS packages.

Could you re-try without the upgrade?
(May not help much, but it is just to make sure we’re not looking in the wrong direction)

do you mean to rewrite the image and try to install without do the initial apt-get upgrade ?

yes [edit] please :wink:

apt-get upgrade is NOT suggested: might break your system and OTA updates will not work properly.

I’m sure you can install calibrator in some way. As per shairport, it’s already included

Yes! All ok with your help!! Installed xinput-calibrator and shairport! Thanks! But now trying to create the calibration file on ‘/etc/X11/xorg. conf.d/99-calibration.conf’ with nano seems that the folder structure is missing starting from x11 (no such folder message) but i Can see it via winscp. Is there any block or am i doing something wrong? Thanks

I suggested WITHOUT upgrade, few post back and I meant it, sorry

I’ve understood ‘without’ indeed doing that all went fine