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.            Talking about the last few lines in second image, "errors were encountered while processing:"   runit git-daemon-run     These are the errors I get after I try to install any application on ubuntu. How ca I fix this issue?
I am using 15.04.   So I'm working with git and I installed the standard version. I set up the ssh keys and was able to clone one of my repositories to the correct folder. Everything was working great and then I decided it was a good idea to install more packages. I ran sudo apt-get install git-all. I'm looking at error codes now having to deal with upstart.  start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused No apport report written because the error message indicates its a followup error from a previous failure. 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 Errors were encountered while processing:  runit  git-daemon-run E: Sub-process /usr/bin/dpkg returned an error code (1)   This is what happens when I even update/upgrade my system. At this point all I'm looking to do is be able to install software and update my current software. Is there any way I can potentially reverse this issue or at least correct it?   Edit: Thankfully this issue was solved only a day or two after it happened. The accepted answer worked perfectly and took care of my issue
Remove Actions/Filters added via Anonymous Functions That's a freaking bad practice I must say. Spent last two hours finding a solution to remove actions and filters added via Anonymous functions.    This is the code used on a Parent Theme, and I need to remove it.  /**  * Add custom columns to admin comments grid  *  * Rate that user set.  */ add_filter( 'manage_edit-comments_columns', function( $default ) {     $columns['smr_comment_rate']  = __( 'Rate', 'txtdmn' );      return array_slice( $default, 0, 3, true ) + $columns + array_slice( $default, 2, NULL, true ); });   Got , played with it heavily, but no help. So, is there any other alternative that will remove actions/filters added via anonymous functions?  Thanks How do I create bookmarks with pdfLaTeX? I'm using MiKTeX and using pdfLaTeX. I can generate the PDF, but there are no bookmarks. In the .tex-file it is using:  \chapter \section \subsection   (with labels)  I originally used make with sphinx to output LaTeX. It must work somewhat or I wouldn't get the PDF. When I say bookmarks, I mean when you are in Acrobat and the left side has the Bookmarks panel.  I am reading   But I am not sure where to apply this.  EDIT:  I applied this, \usepackage{bookmark}, and got bookmarks, but I never get the subsection bookmarks. Command run in terminal, not with shortcuts As explain in this , I want to add shortcuts to switch workspaces (in Mate).  I found a way to switch workspace for the terminal: wmctrl -s $(wmctrl -d | grep "*" | awk '{print $1+1}').  But this command line does not work when I add it in the shortcut manager. Does any one know why ? I don't like having the middle mouse button paste, because I often end up with uncompilable code in Eclipse. How can I turn this off (in all programs)? I'm running Fedora. Getting HTTP/2 Working on Apache 2.4.29 on Debian 8 I am trying to update my apache2 (Apache/2.4.29 (Debian 8)) server to support http2 but after enabling http2   with following code, it does not work because of mpm_prefork does not support http2  &lt;IfModule http2_module&gt;     ProtocolsHonorOrder On     Protocols h2 h2c http/1.1 &lt;/IfModule&gt;    since mpm_prefork apache (2.4.29)  does not work with http2, I tried using  mpm_event/mpm_worker but it does not work, so I enable mpm_prefork  sudo a2dismod mpm_event  sudo a2dismod mpm_worker  sudo a2enmod mpm_prefork   Since I am still running php5 what should I do to have http2 support on Debian8?  Will I have to update php5 to php7?  Is there any workaround to use mpm_worker/mpm_event with php5 with http2 support?  apache error log  [http2:warn] [pid 11992] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive. [mpm_prefork:notice] [pid 11992] AH00163: Apache/2.4.29 (Debian) OpenSSL/1.1.0g configured -- resuming normal operations [core:notice] [pid 11992] AH00094: Command line: '/usr/sbin/apache2' What use are Steam Trading Cards? Is it purely a 'gotta-have-them-all' mindset, or do they actually serve some purpose?  I notice that you are able to sell them on a community market. For a test I listed one, and someone bought it for 50p. Not exactly a huge amount, but I don't understand why someone would spend real money on them.  Am I missing something?   Are they redeemable for games or money off vouchers or something 'tangible' that I'm missing? Cannot add PPA: 'ppa:~darklin20/ubuntu/bomi'.     ERROR: '~darklin20' user or team does not exist.   Showing this message when suing this command:    sudo add-apt-repository ppa:darklin20/bomi   please help me. LaTeX seems to be having problems handling nested optional arguments. I've included a minimal code example that generates the error:  \documentclass[12pt,oneside]{book} \begin{document}  \newcommand{\termbad}[2][]{#2#1} \newcommand{\termgood}[2][]{#2#1}  \newcommand{\up}[1]{#1} \newcommand{\dd}[1][]{#1}  \termgood{\up{Tart}}{Pop} \termbad[\up{Tart}]{Pop}      \termgood{\dd[Tart]}{Pop} \termbad[{\dd[Tart]}]{Pop} %\termbad[\dd[Tart]]{Pop}   \end{document}   If you run this code, it works. If you remove the % in the second to last line, it fails with:  Runaway argument?  Tart{Pop} \par \par \end {document}  !File ended while scanning use of \dd.   After further tinkering, I have discovered the problem: LaTeX is reading the ] for the inner optional argument as the end of the outer optional argument and then passing a malformed argument in. So it is passing in \dd[Tart as the optional argument to \termbad instead of \dd[Tart].  This still feels like a bug to me. Nesting braces in arguments works, brackets should as well. The following are workarounds:   Enclose the inner optional argument in braces (as in the line before %). Redefine your inner function to require its argument instead of using optional arguments. Redefine your outer function to require its argument instead of using optional arguments.   Any one of the three works around the issue.  (Reposted here; question was originally posted to stackexchange and then closed instead of being migrated.) Impossible to hide navigation bars in Safari iOS 7 for iPhone/iPod touch If $f$ is entire and $|f|\geq 1$, then show $f$ is constant. Does Find My Mac stop working after the system has been wiped? In Visual Studio, we've all had "baadf00d", have seen seen "CC" and "CD" when inspecting variables in the debugger in C++ during run-time.  From what I understand, "CC" is in DEBUG mode only to indicate when a memory has been new() or alloc() and unitilialized.  While "CD" represents delete'd or free'd memory.  I've only seen "baadf00d" in RELEASE build (but I may be wrong).  Once in a while, we get into a situation of tacking memory leaks, buffer overflows, etc and these kind of information comes in handy.  Would somebody be kind enough to point out when and in what modes the memory are set to recognizable byte patterns for debugging purpose? What happened after the Ring was dropped into Mount Doom? In the Peter Jackson movie, once the One Ring is thrown into the volcano in Mount Doom, why does the mountain and tower collapse, and the ground disappears everywhere where the orcs are standing but not where the humans are? Where are all the orcs running to, what do they do next? Double and triple substitution in bash and zsh Follow-up to the background part in .  In bash I can use ${!FOO} for double substitution, in zsh ${(P)FOO}. In both, the old-school (hack-y) eval \$$FOO works.  So, the smartest and most logical thing for me would be ${${FOO}}, ${${${FOO}}}… for double/triple/n substitution. Why doesn’t this work as expected?  Second: What does the \ do in the eval statement? I reckon it’s an escape, making something like eval \$$$FOO impossible. How to do a triple/n substitution with that that works in every shell? Can we get rid of the threshold of 15 chars for comments? I understand that there is an upper limit. But why do you have to type at least 15 characters to post a comment? It is easy to work around it anyway (like adding dots or other useless things). Splitting all lines in layer at vertices using QGIS Show that $a^{61} \equiv a\pmod{1001}$ for every $a \in \mathbb{N}$ I want to apply for Schengen visa, but employer NOC which is mandatory document for visa is not available with me I have resigned from my current company and will be joining a new company soon.   Hence, I cannot get a leave approval letter from my current company, and if I decide to join a new company and then request a NOC (No Objection Certificate) it will be late for visa process completion because of my traveling dates.   What can I show to the embassy as an alternative to this NOC document? I am trying to set up a wordpress multisite with MAMP Pro that will allow me to have two different domains (one domain for each language): dev.domainenglish.com dev.domainfrench.com I have already set up the primary english virtual host and secondary virtual french host. I have installed the wordpress multi site on the primary English virtual host. Next I created a &quot;sub site&quot; within the primary english domain multi site that has the location  dev.domainenglish.com/french/ Then I tried to use the MU Domain mapping plugin to make it so that when you visit dev.domainfrench.com the theme and content posted on dev.domainenglish.com/french/ will be visible. As of now when you visit dev.domainfrench.com the page loads the standard MAMP Pro index.html instead of my wordpress subsite:  the virtual host was set up successfully. If you can see this page, your new virtual host was set up successfully. Now, &gt;web contents can be added and this placeholder page1 should be replaced or &gt;deleted.&quot;  I understand that this plugin was built for live sites. But is there anyway I can achieve my goal of having two domains under one Wordpress multisite on my localhost? Thank you for your time! I'm a British citizen travelling from London Heathrow (LHR) to the Hartford, Connecticut airport, and have a two hour stopover in Newark, New Jersey (EWR) on my itinerary. At what stage would I clear immigration and customs on arriving in the USA?