I am trying to install git-all using the following commands:  sudo apt update sudo apt install git-all   and I get the following results:  jonathan@Aristotle:~$ sudo apt install git-all Reading package lists... Done Building dependency tree        Reading state information... Done git-all is already the newest version (1:2.7.4-0ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 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 runit (2.1.2-3ubuntu1) ... start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused dpkg: error processing package runit (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of git-daemon-run:  git-daemon-run depends on runit; however:   Package runit is not configured yet.  dpkg: error processing package git-daemon-run (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                                                                                                           Errors were encountered while processing:  runit  git-daemon-run E: Sub-process /usr/bin/dpkg returned an error code (1)   I found this response to a similar question:  but none of the solutions mentioned in it worked for me. Any ideas on how I can proceed from here?
I am trying to install php curl like so:  sudo apt-get update sudo apt-get install php5-curl   But I keep getting an error.  Reading package lists... Done Building dependency tree        Reading state information... Done php5-curl is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 2 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 runit (2.1.2-3ubuntu1) ... start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused dpkg: error processing package runit (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of git-daemon-run:  git-daemon-run depends on runit; however:   Package runit is not configured yet.  dpkg: error processing package git-daemon-run (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                           Errors were encountered while processing:  runit  git-daemon-run E: Sub-process /usr/bin/dpkg returned an error code (1)   when I try sudo dpkg --configure -a I get:  dpkg: dependency problems prevent configuration of git-daemon-run:  git-daemon-run depends on runit; however:   Package runit is not configured yet.  dpkg: error processing package git-daemon-run (--configure):  dependency problems - leaving unconfigured Errors were encountered while processing:  git-daemon-run   when I try sudo apt-get install --reinstall runit I get:  Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 8 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. E: Internal Error, No file name for runit:amd64   when I try sudo apt-get install runit I get:  Reading package lists... Done Building dependency tree        Reading state information... Done runit is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. 2 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 runit (2.1.2-3ubuntu1) ... start: Job is already running: runsvdir dpkg: error processing package runit (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of git-daemon-run:  git-daemon-run depends on runit; however:   Package runit is not configured yet.  dpkg: error processing package git-daemon-run (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                                                                                                           Errors were encountered while processing:  runit  git-daemon-run E: Sub-process /usr/bin/dpkg returned an error code (1)   when I try sudo apt-get install --reinstall git-daemon-run I get:  Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 8 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. E: Internal Error, No file name for git-daemon-run:amd64   How can I fix this?  System Specs:  Processor: Intel® Core™ i7-3630QM CPU @ 2.40GHz × 8 Graphics: Gallium 0.4 on AMD TURKS (DRM 2.43.0, LLVM 3.6.2) OS Type: Ubuntu 15.10 64-bit
Resources for Blender Where does Google Chrome automatically save pages? I opened the following page:   When disconnecting WiFi and even after rebooting the mobile phone, the page can still be read due to being saved automatically.  Left to the URL bar, an indicator looks like this:  This also shows up when opening manually saved pages, which are saved as MHTML files in the default download folder.  However, an automatically saved page can not be re-downloaded manually to get to the download folder, because the arrow is greyed out.I wish to copy some automatically saved pages into the download folder.  Where are the files of automatically saved pages stored? What are review tests (audits) and how do they work? In Shakespeare's Macbeth, the Third Witch says to Banquo: "Thou shalt get kings, though thou be none" (1.3.65); if I want to quote that line and write it in the third person singular, how should I conjugate the verbs "shall" and "be" correctly? How to assign symbols to functions Is the word tenfold a misnomer? Why do some Kree have white skin? This seems bizarre to me.  All the Kree we've seen thus far (MCU based) were blue skinned... Ronan the Accuser being the most famous  What do Kree people look like?  Is there anything concrete with their appearance?  It seems odd that Danvers (Captain Marvel) and Jude Law's character (Yon-Rog?) and the "Supreme Intelligence" are all white skinned. I am stuck in a question where energy conservation is failing and momentum conservation is correct. I think I might be doing something wrong, that's why I'm asking this question. The problem is as follows:     A bullet of mass $25\,g$ is fired horizontally into a ballistic pendulum of mass $5.0\,kg$ and gets embedded in it. If the centre of pendulum rises by a distance of $10\,cm$, find the speed of the bullet.   (H.C. Verma, Centre of Mass, Q47)     Let the mass of the bullet be $m=25\,g$. Let the mass of the pendulum be $M=5\,kg$. Let the peak height be $h=0.1\,m$. Let the initial and final velocities be $u$ and $v$ respectively.  Method 1: (Momentum Conservation)  $$mu=(M+m)v \implies v=\frac{mu}{M+m}\\ \text{Also, }\frac{1}{2}(M+m)v^2=(M+m)gh\\ \implies u^2=2\biggl(\frac{M+m}{m}\biggr)^2gh\\ \implies u=201\sqrt2 \text{ m/s}$$  Method 2: (Energy Conservation)  Since both the masses move together after the collision, and because the velocity at highest point is null, therefore: $$\frac{1}{2}mu^2=\frac{1}{2}(M+m)v^2=(M+m)gh\\ \implies u^2=2gh\biggl(\frac{M+m}{m}\biggr) \implies u=\sqrt{402}$$    To summarize myself, I am curious about the following: Why do the results differ? Shouldn't the energy be conserved as well as the momentum? Since it should be, then what is the flaw in my calculations? The product of $n$ consecutive integers is divisible by $n$ factorial How can we prove that the product of $n$ consecutive integers is divisible by $n$ factorial?     Note: In this  and the comments here the OP has clarified that he seeks a proof that "does not use the properties of binomial coefficients". Please post answers in said newer thread so that this incorrectly-posed question may be closed as a duplicate. How do you compute the earth's radius at a given geodetic latitude? When a new tag is created, should there be some kind of notification to the user?  This could serve a dual purpose:   To make the user check that this tag is really required.  Is it spelt right? Might there be a more appropriate tag to use instead? - See  To promote the creation of tag wikis.   These are both beneficial to the site.  Making users think twice about their tags reduces the amount of retagging edits that are needed and reduces noise.  Promoting tag wikis means that more new tags would come with explainations, making them more user-friendly for others.  Creating a new tag is a privilidge earned at 1500 reputation.  Hopefully the user has gained a feel for the ethos of SO by this point, and is either enjoying being a contributer or is mainly asking good, well recieved questions.  The user is probably also wanting to contribute to the site further (even if just to gain reputation), and so it makes sense to me that there should be a gentle push towards taking a little bit of time to write a short wiki for the tag you just created.  By no means should this be mandatory, and the precise format of this gentle push is more in the scope of UX guys to think up, but I wanted to see how people felt about some kind of discreet notification.  I thought of two forms this notification could take:  Option 1 - at the time of tagging      Option 2 - after posting      Update: Raphael has suggested in the comments that this could be implemented as a 10K user tool.  While I think that's a good idea on its own, I don't think it should be used instead.  I think that encouraging users with less than 10K to complete wikis for their own tags is likely to get some wikis written because there is a sense of ownership over your own tag, and by giving it a wiki you are giving it a better start in life. As with a child, users will want to equip their tag with the tools it will need to survive in the big wide world. Why is "idea" sometimes pronounced as "idear"? I know that idea is pronounced as /aɪˈdiə/, but I've meet several people in real life who put an 'r' at the end of the word. How come? How to convert an array into comma separated strings in smarty template? Is it OK to require users to have a third party login account? For a web app I'm developing I was dreading having to   Require users to create yet another account / password to keep in mind. Handle retrieval of lost passwords etc.   What many sites (like this one for instance) has started offering is to use a third party account to create an account.   What I wonder is whether it would be considered OK to require having third party account, i.e. Proof on Catalan numbers Can Raise Dead revive a character with zero maximum Hit Points? So, a character died from Draining Kiss of a succubus and his Max HP is 0. Can he be restored by Raise Dead, or does he need a higher level spell? Or a Greater Restoration cast on his lifeless body before Raise dead? I'm probably interested in RAW interpretation, since the character is in Adventurerer's league. Can you cast Mirror Image twice on successive turns and have 6 duplicates of yourself instead of 3? (PHB, pg. 260) is a spell that has a casting time of 1 action, and a duration of 1 minute. My question is, can you cast Mirror image twice on successive turns, gaining 6 images by turn 2?  Sample Turns:  Turn 1: Mirror Image (3 images)  Turn 2: Mirror Image again (6 images, with 3 of them lasting 1 turn less)  Since Mirror Image doesn't require concentration, there should be no interference between the 2 casts in terms of concentration. I know that this could be up to DM Fiat, but I was wondering if there was a proper interpretation of the printed rules for this situation. How can I work with file uploads during a Webdriver test? This is a canonical question, intended to provide a comprehensive answer to many related questions  During the course of a Webdriver test, I want to upload files. However, this opens a native file picker, which Webdriver doesn't seem to support interacting with. How do I interact with it? What are the uses of Unicorns? What different uses does the unicorn have?  Other than the delicious taste of them coming off the grill.   At Wit's End #221 Search using symbols is broken We used to be able to , but that now appears to be broken.  I'd expect a  to return a result, but instead the search engine appears to put quotes around the whole request; the search box shows the search has been replaced with "[python] += list" and the  I was looking for doesn't appear among the returned questions.  Using quotes around the symbols do not seem to help here;  returns an empty result.