shakil@shakil-Aspire-5733Z:~$ sudo apt-get -f install [sudo] password for shakil:  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following extra packages will be installed:   linux-tools-common The following NEW packages will be installed:   linux-tools-common 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded. 3 not fully installed or removed. Need to get 0 B/88.0 kB of archives. After this operation, 312 kB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 303158 files and directories currently installed.) Preparing to unpack .../linux-tools-common_3.13.0-53.89_all.deb ... Unpacking linux-tools-common (3.13.0-53.89) ... dpkg: error processing archive /var/cache/apt/archives/linux-tools-common_3.13.0-53.89_all.deb (--unpack):  trying to overwrite '/usr/bin/perf', which is also in package linux-lts-vivid-tools-common 3.19.0-18.18~14.04.1 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing:  /var/cache/apt/archives/linux-tools-common_3.13.0-53.89_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)  shakil@shakil-Aspire-5733Z:~$    I have already tried:   sudo apt-get autoclean  sudo apt-get clean  sudo apt-get autoremove -f  sudo apt-get autoremove  sudo apt-get install -f    Please, can anyone help me?
For example:  $ sudo apt-get install curl 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: bsh : Depends: libjline-java but it is not going to be installed groovy : Depends: libjline-java but it is not going to be installed rhino : Depends: libjline-java but it is not going to be installed E: Unmet dependencies.   Try 'apt-get -f install' with no packages (or specify a solution).   I get the same or similar errors when I attempt to install clojure1.3, leiningen, and several other packages.   When I try the suggestion made in the error message, this is what happens:  $ sudo apt-get -f install  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required:   diffstat linux-headers-3.2.0-26-generic linux-headers-3.2.0-26 dh-apparmor dkms html2text libmail-sendmail-perl libsys-hostname-long-perl Use 'apt-get autoremove' to remove them. The following extra packages will be installed:   libjline-java Suggested packages:   libjline-java-doc The following NEW packages will be installed:   libjline-java 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 23 not fully installed or removed. Need to get 0 B/72.0 kB of archives. After this operation, 129 kB of additional disk space will be used. Do you want to continue [Y/n]? Y (Reading database ... 226243 files and directories currently installed.) Unpacking libjline-java (from .../libjline-java_1.0-1_all.deb) ... dpkg: error processing /var/cache/apt/archives/libjline-java_1.0-1_all.deb (--unpack):  trying to overwrite '/usr/share/java/jline.jar', which is also in package scala 2.9.2-400 Errors were encountered while processing:  /var/cache/apt/archives/libjline-java_1.0-1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)  $ 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:  bsh : Depends: libjline-java but it is not installed  groovy : Depends: libjline-java but it is not installed  rhino : Depends: libjline-java but it is not installed E: Unmet dependencies. Try using -f.
In a Discord call on the desktop app and my voice cannot be heard by others. When I use Discord  through browser I can be heard. Any help appreciated. Zooming to WMS layer after CQL filter in OpenLayers? I created a layer that contains points and I added it to a map as WMS layer in OpenLayers. I did a CQL filter and it works but I'd like to zoom to the selected point when I worked with getextent or getdataextent it doesn't zoom to the right place. It missed with a few Km. Here is my the code of filter:   function filterNom(){             var filterType ="cql";             var filter = document.getElementById('batima').value;             // by default, reset all filters             var filterParams = {cql_filter: null};             if (OpenLayers.String.trim(filter) != "") {                 if (filterType == "cql")                      filterParams["cql_filter"] = "batiment='"+filter+"'";              }             // merge the new filter definitions             wfs_layer.mergeNewParams(filterParams);             var bounds =  new OpenLayers.Bounds             bounds = wfs_layer.getExtent()             map.setCenter(wfs_layer.getExtent(),18);             var center = map.getCenter();             center.transform(new OpenLayers.Projection("EPSG:4326"), new OpenLayers.Projection("EPSG:900913"));             alert(center.toString()); }   and here is the code to add the WMS layer:    wfs_layer = new OpenLayers.Layer.WMS("Patrimoines",         "http:// localhost/geoserver/cite/wms",          {layers: 'cite:patrimoine' , transparent: true },         {isBaseLayer: false, opacity: 1, singleTile: true, visibility: true,          projection: 'EPSG:900913'}); Are there systems in classical mechanics that are provably non-deterministic? Parametric Interpolation of 2D data Taking Seats on a Plane This is a neat little problem that I was discussing today with my lab group out at lunch. Not particularly difficult but interesting implications nonetheless  Imagine there are a 100 people in line to board a plane that seats 100. The first person in line realizes he lost his boarding pass so when he boards he decides to take a random seat instead. Every person that boards the plane after him will either take their "proper" seat, or if that seat is taken, a random seat instead.  Question: What is the probability that the last person that boards will end up in his/her proper seat.  Moreover, and this is the part I'm still pondering about. Can you think of a physical system that would follow this combinatorial statistics? Maybe a spin wave function in a crystal etc... I recently got Minecraft but not from the website, I paid for a code and everything seemed ok. When I tried to play the game a thing came up saying it crashed and then a message popped up saying The game crashed whilst initializing game     Error: java.lang.IllegalStateException: GLFW error 65542: WGL: The driver does not appear to support OpenGL. C# split string but keep split chars / separators I'm splitting a string by three different characters but I want the output to include the characters I split by. Is there any easy way to do this? I run a guest ubuntu 12.04 on a host ubuntu 12.04, with VirtualBox, and the guest is much, much slower than the host (ALT+TAB takes 4-5 secs). I had a look around and I found contradicting opinions on VirtualBox versus VMware (free); so I thought to keep the former.   Both systems are updated, I installed the additions on the guest and I evenly split memory and video memory (64MB) between guest and host. I am running a Toshiba m200 laptop with 4GB ram and shared video memory. The host bios does not include a configuration option for machine virtualization. I have 2 cpus and I can't give them both to the virtual machine.  Is there anything I overlooked that could solve my problem?  Feel free to ask for more info, and thank you for any help.  EDIT Idling with the system monitor open the (single) guest cpu never gets below 55% and could rise to 80 - 90% just by moving the mouse around. Opening Firefox will cause the system monitor to show cpu usage 100% in the guest, while the host shows that both cpus are evenly working around 60%.  My cpu is Intel® Core™2 Duo CPU T5450 @ 1.66GHz × 2.  If this is not a configuration problem, does it mean my machine is too weak for virtualization? I know it's possible to match a word and then reverse the matches using other tools (e.g. grep -v). However, is it possible to match lines that do not contain a specific word, e.g. hede, using a regular expression?   Input:  hoho hihi haha hede   Code:  grep "&lt;Regex for 'doesn't contain hede'&gt;" input   Desired output:  hoho hihi haha This may be a silly question, but I ask it still. If I have declared a shebang  #!/bin/bash    in the beginning of my_shell_script.sh, so do I always have to invoke this script using bash  [my@comp]$bash my_shell_script.sh   or can I use e.g.  [my@comp]$sh my_shell_script.sh   and my script determines the running shell using the shebang? Is it the same happening with ksh shell? I'm using AIX. What is the correct way to punctuate the end of a sentence before a quote that directly supports the statement? I assume either a colon or a semicolon, but I have no idea which is correct.  For example:     Waldo is a better hide-and-seek player than Clem; "Waldo was   the winner of the past ten annual hiding awards" (Where's Waldo 13).      Waldo is a better hide-and-seek player than Clem:  "Waldo was   the winner of the past ten annual hiding awards" (Where's Waldo 13).   (Excuse the silly example, but I didn't have a better one.) Word that describes being "patriotic" for something that is not a country? I'm looking for a word that is similar to patriotic but does not relate to one's country (or state).  For what it's worth, I'm specifically referring to "overly patriotic" in a negative sense, to describe someone who has a overly sentimental/cultural or otherwise less-than-rational attachment or devotion to something and makes it part of their very identity. A common example might be an extremely zealous football fan. Which languages was Gandalf proficient in? I'm a beginner at photography and own a Canon 20D with two lens; a 50mm prime and a 17mm-85mm zoom.  I've purchases all my filters at 67mm to fit my zoom lens and use a  to use them with my prime lens.  I'm looking at buying a . My question is, will the same principal work? Can I buy a 67mm wide angle lens and use it on my 52mm prime without any trouble.  One of the reasons for the purchase of a wide angle is my cropped sensor makes the 50mm prime rather close - I'm hoping the wide angle will make it easier to capture more.  Many thanks for any help in advance. Pete What's the difference between passing by reference vs. passing by value? so someone tells me i need to call a few people.  they send me a vCard called contacts.vcf.  i import it.  i open my phone app and start to dial, but wait...i don't know their names.  How do i look up a recent vCard on my phone?  How do i know who's contact i've been sent?  when i navigate to a .vcf file, i can't open it.  all i can do is import it.  polaris office won't import/open it.  is there an android txt editor i can use to peruse a vCard?  yours truly, Confused by vCards Note 3, kit kat Making adult decisions "is" or "are" really not fun: Which is correct? LaTeX for Microsoft Surface I have my new Microsoft Surface and I was wondering whether it's possible to install pieces of software like MikTeX and TexMaker on this tablet. Does anyone know? What happens if I activate a product key on Steam for a game I already own? I have a Steam product key for Just Cause 2 I got for free with the purchase of my video card. However, I already have a copy of this game attached to my Steam account. What will happen if I try to activate this other key on my account? Will Steam give me a copy of Just Cause 2 to gift to somebody else? Will it simply refuse to add it? Or will it eat the key rendering it worthless?  I don't want to try this only to have the latter happen, but it would be useful to be able to add it and gift it to somebody else. I know someone who just got an Atrix 4G and previously had an iPhone 3GS. I was asked how he could move his contacts from the iPhone/iTunes onto the Android device. I have never owned an iPhone and have had limited interaction with them. Does anyone know the simplest method of getting iPhone contacts onto an Android device?