1

I was trying to install playonlinux on ubuntu 15.10 64-bit, so that I could install adobe ps cc. I have already installed wine from the software center, but I got some errors, here I am attaching the snap.


1st snap of the error.


Continuation of snap1.


Talking about the last few lines in second image, "errors were encountered while processing:"

  1. runit
  2. git-daemon-run

These are the errors I get after I try to install any application on ubuntu. How ca I fix this issue?

11
  • Do you get these errors while installing any application? (also, from time to time is good to run apt-get autoremove)
    – user308164
    Feb 29, 2016 at 9:47
  • Any errors when you run "sudo dpkg --configure -a"
    – DnrDevil
    Feb 29, 2016 at 11:41
  • @luchonach Yeah the runit and git-daemon error, I get this everytime. Ad what does apt-get autoremove do? Feb 29, 2016 at 11:44
  • @DneDevil I would be happy to tell you the output of sudo dpkg --configure -a as soon as I switch to Ubuntu, currently I am working on windows. Feb 29, 2016 at 11:45
  • @DnrDevil Yes when I run the command there is an error, it says failed to connect to socket/com/ubuntu/upstart: Connection refused. Here is the snap of the error: i64.tinypic.com/2iqdl0.png Feb 29, 2016 at 16:26

1 Answer 1

0

You cant run dpkg and need to unlock it.

Try using

sudo apt-get -f install

(This will probably tell you to run dpkg) If not run updates with

sudo update-manager 

If it does run

sudo rm /var/lib/dpkg/lock

This will unlock dpkg Next run updates using

sudo apt-get update && sudo apt-get upgrade

Then reboot your computer

sudo reboot 

After you have rebooted reopen the terminal and clean old pakages

sudo apt-get autoremove

Hopefully theses steps will also fix

runit

If not run:

sudo apt-get purge git-daemon-run

Then:

sudo dpkg -r runit

Not the answer you're looking for? Browse other questions tagged .