For any install in ubuntu  It is giving the same error. How can I remove all these gstreamer package errors?  The error is   installArchives() failed: dpkg: dependency problems prevent configuration of gstreamer0.10-plugins-bad: gstreamer0.10-plugins-bad depends on libdirectfb-1.2-0; however: Package libdirectfb-1.2-0 is not installed. gstreamer0.10-plugins-bad depends on libiptcdata0; however: Package libiptcdata0 is not installed. gstreamer0.10-plugins-bad depends on libjack0 (&gt;= 0.118+svn3796); however: Package libjack0 is not installed. gstreamer0.10-plugins-bad depends on libmodplug0c2 (&gt;= 1:0.7-4.1); however: Package libmodplug0c2 is not installed. gstreamer0.10-plugins-bad depends on libmpcdec3; however: Package libmpcdec3 is not installed. gstreamer0.10-plugins-bad depends on libmusicbrainz4c2a (&gt;= 2.1.5); however: Package libmusicbrainz4c2a is not installed. gstreamer0.10-plugins-bad depends on libsoundtouch1c2 (&gt;= 1.3.1); however: Package libsoundtouch1c2 is not installed. gstreamer0.10-plugins-bad depends on libssl0.9.8 (&gt;= 0.9.8k-1); however: Package libssl0.9.8 is not installed. gstreamer0.10-plugins-bad depends on libwildmidi0; however: Package libwildmidi0 is not installed.  libgstreamer-plugins-bad0.10-0 (0.10.22.3-2ubuntu2.2) breaks gstreamer0.10-plugins-bad (&lt;&lt; 0.10.22.3-2) and is installed.  Version of gstreamer0.10-plugins-bad to be configured is 0.10.18-1ubuntu1. gstreamer0.10-plugins-good (0.10.31-1ubuntu1.2) breaks gstreamer0.10-plugins-bad (&lt;&lt; 0.10.21.2) and is installed.  Version of gstreamer0.10-plugins-bad to be configured is 0.10.18-1ubuntu1. dpkg: error processing gstreamer0.10-plugins-bad (--configure):  dependency problems - leaving unconfigured No apport report written because MaxReports is reached already Errors were encountered while processing: gstreamer0.10-plugins-bad Error in function:
dpkg --configure -a  Setting up linux-image-3.13.0-35-generic (3.13.0-35.62) ... Running depmod. update-initramfs: deferring update (hook will be called later) The link /initrd.img is a dangling linkto /boot/initrd.img-3.13.0-35-generic vmlinuz(/boot/vmlinuz-3.13.0-35-generic ) points to /boot/vmlinuz-3.13.0-35-generic  (/boot/vmlinuz-3.13.0-35-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.13.0-35-generic.postinst line 491. Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-35-generic /boot/vmlinuz-3.13.0-35-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-35-generic /boot/vmlinuz-3.13.0-35-generic update-initramfs: Generating /boot/initrd.img-3.13.0-35-generic  gzip: stdout: No space left on device E: mkinitramfs failure cpio 141 gzip 1 update-initramfs: failed for /boot/initrd.img-3.13.0-35-generic with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.13.0-35-generic.postinst line 1025. dpkg: error processing package linux-image-3.13.0-35-generic (--configure):  subprocess installed post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-35-generic:  linux-image-extra-3.13.0-35-generic depends on linux-image-3.13.0-35-generic; however:   Package linux-image-3.13.0-35-generic is not configured yet.  dpkg: error processing package linux-image-extra-3.13.0-35-generic (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-image-generic:  linux-image-generic depends on linux-image-3.13.0-35-generic; however:   Package linux-image-3.13.0-35-generic is not configured yet.  linux-image-generic depends on linux-image-extra-3.13.0-35-generic; however:   Package linux-image-extra-3.13.0-35-generic is not configured yet.  dpkg: error processing package linux-image-generic (--configure):  dependency problems - leaving unconfigured Errors were encountered while processing:  linux-image-3.13.0-35-generic  linux-image-extra-3.13.0-35-generic  linux-image-generic
IF statement inside a LINQ SELECT How do we control web page caching, across all browsers? Our investigations have shown us that not all browsers respect the HTTP cache directives in a uniform manner.  For security reasons we do not want certain pages in our application to be cached, ever, by the web browser. This must work for at least the following browsers:   Internet Explorer 6+ Firefox 1.5+ Safari 3+ Opera 9+ Chrome   Our requirement came from a security test. After logging out from our website you could press the back button and view cached pages. We are a team with three orgs. Development, UAT and Production.  We are trying to move away from changesets and manual copying and use various deploy mechanisms or scratch orgs but we cannot deploy org wide email addresses since it is not supported in the metadata api.   The problem is that since addresses cannot be deployed, workflows referencing them cannot either. And if we dont deploy all workflows some tests will fail and the environment will be wrong.  I would appreciate any help with this issue, thanks How do I add newlines between lines printed on the command line? Mail logs are incredibly difficult to read. How could I output a blank line between each line printed on the command line? For example, say I'm grep-ing the log. That way, multiple wrapped lines aren't being confused. What can $E=mc^2$ do? touchdown held down libgdx If $2^n - 1$ is prime from some integer $n$, prove that n must also be prime. Selecting ARIMA orders based on ACF-PACF vs. auto.arima Best Place to put Feature Requests? Why are my sauces splitting? Recently all my attempts at sauces are splitting and I'm not sure what's going wrong. Tonight I tried a balsamic vinegar reduction / chicken stock / pan juices recipe to go with my lamb chops, but once again the dreaded split occurred. My wife is patient and forgiving, but I feel like I must be missing something fundamental to get this wrong so often.  Two questions.   What could I be doing wrong to cause these sauces to split? What can I do to recover when it happens again?   UPDATE: The Pan juices contained a tbsp or two of olive oil, and some of the fresh herb rub I'd coated the lamb chops in (thyme, rosemary, and mint). I did not drain the pan before starting the sauce. It has crossed my mind that perhaps there was too much oil / fats in the pan at that point?  For completeness, I should point out that I also sauteed some chopped shallots in the pan juices immediately before adding the vinegar. I was just wondering whether or not there have been mistakes in mathematics. Not a conjecture that ended up being false, but a theorem which had a proof that was accepted for a nontrivial amount of time before someone found a hole in the argument. Does this happen anymore now that we have computers? I imagine not. But it seems totally possible that this could have happened back in the Enlightenment.   Feel free to interpret this how you wish! How does one change the Attribute table view on QGIS 3? An initial answer says to use the Switch to Table view button but I can't seem to find this button. How to find regression coefficients $\beta$ in ridge regression? In ridge regression, the objective function to be minimized is: $$\text{RSS}+\lambda \sum\beta_j^2.$$   Can this be optimized using the Lagrange multiplier method? Or is it straight differentiation? New database server hardware and software inserts slower than old setup An $n \times n$ matrix $M$ of integers has the property that $M_{ab} = M_{xy}$ iff $a+b=x+y$. How many distinct elements are there in $M$? How can I make a tool drop blocks with CanPlaceOn tag In Adventure mode, I'm trying to let a player get blocks that he can place later, is there a way to do it directly or do I have to change them in his inventory?  Situation: The player gets a tool that will allow him to clear a boulder blocking the road. Further down the path, he encounters a broken bridge, and I want him to use the blocks he gathered before to rebuild it.  At the moment, if I build the boulder with blocks having the CanPlaceOn tag, the tag disappear when the player destroys them and they go in its inventory. I am using the following code to play a sound file using the java sound API.      Clip clip = AudioSystem.getClip();     AudioInputStream inputStream = AudioSystem.getAudioInputStream(stream);     clip.open(inputStream);     clip.start();   The method call to the Clip.start() method returns immediately, and the system playbacks the sound file in a background thread. I want my method to pause until the playback has completed.  Is there any nice way to do it?  EDIT: For everyone interested in my final solution, based on the answer from Uri, I used the code below:  private final BlockingQueue&lt;URL&gt; queue = new ArrayBlockingQueue&lt;URL&gt;(1);  public void playSoundStream(InputStream stream) {     Clip clip = AudioSystem.getClip();     AudioInputStream inputStream = AudioSystem.getAudioInputStream(stream);     clip.open(inputStream);     clip.start();     LineListener listener = new LineListener() {         public void update(LineEvent event) {                 if (event.getType() != Type.STOP) {                     return;                 }                  try {                     queue.take();                 } catch (InterruptedException e) {                     //ignore this                 }         }     }; clip.addLineListener(listener ); } Validity of naively computing the de Broglie wavelength of a macroscopic object Many introductory quantum mechanics textbooks include simple exercises on computing the de Broglie wavelength of macroscopic objects, often contrasting the results with that of a proton, etc.  For instance, this example, taken from a textbook:     Calculate the de Broglie wavelength for      (a) a proton of kinetic energy 70 MeV      (b) a 100 g bullet moving at 900 m/s   The pedagogical motivation behind these questions is obvious: when the de Broglie wavelength is small compared to the size of an object, the wave behaviour of the object is undetectable.  But what is the validity of the actual approach of applying the formula naively? Of course, a 100g bullet is not a fundamental object of 100g but a lattice of some $10^{23}$ atoms bound by the electromagnetic force. But is the naive answer close to the actual one (i.e. within an order of magnitude or two)? How does one even calculate the de Broglie wavelength for a many body system accurately? Pacman option to assume "yes" to every question? When installing software in debian systems we can put something like this:   sudo apt-get install -y chromium-browser  that way the installation occurs automatically, whitout asking to confirm installation [Y/n]. Can i do the same with pacman? where is `cd` located?