Whenever I try to run sudo apt-get -f install I get this error. Here is all of the output of sudo apt-get -f install:  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following extra packages will be installed:   codeblocks-contrib codeblocks-dev gamin libcodeblocks0 libgamin0   libwxsmithlib-dev Recommended packages:   valgrind The following packages will be REMOVED:   codeblocks-headers The following NEW packages will be installed:   gamin libgamin0 libwxsmithlib-dev The following packages will be upgraded:   codeblocks-contrib codeblocks-dev libcodeblocks0 3 upgraded, 3 newly installed, 1 to remove and 20 not upgraded. 5 not fully installed or removed. Need to get 0 B/5,309 kB of archives. After this operation, 1,163 kB of additional disk space will be used. Do you want to continue? [Y/n] Y (Reading database ... 174515 files and directories currently installed.) Preparing to unpack .../codeblocks-dev_13.12-3_amd64.deb ... Unpacking codeblocks-dev (13.12-3) over (13.12-1) ... dpkg: error processing archive /var/cache/apt/archives/codeblocks-dev_13.12-3_amd64.deb (--unpack):  trying to overwrite '/usr/include/codeblocks/externaldepsdlg.h', which is also in package codeblocks-headers 13.12-1 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing:  /var/cache/apt/archives/codeblocks-dev_13.12-3_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   Does anyone think they can help me solve this problem?
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.
Nesting quotes in JavaScript/HTML I've been given a proof that shows the following:  If $f:[a,b]\to \mathbb C$ is a continuous function and $f(t)=u(t)+iv(t)$ then $$\left| \int_a^b f(t) dt \right| \leq \int_a^b \left| f(t) \right| dt$$ The proof begins by letting $\theta$ be the principle argument of the complex number $\int_a^b f(t)dt$ and there is one step in the proof I don't understand; can anyone explain to me why $$\int_a^b e^{-i\theta}f(t) dt=\Re\bigg(\int_a^be^{-i\theta}f(t)dt\bigg)$$  Would this not imply that the imaginary part of the left hand side is equal to $0$? I'm not sure why the LHS and RHS would be equal here. So in the documentation for the DescribeFieldResult.getDefaultValue , it says:     Returns the default value for this field   There is a related method called getDefaultValueFormula whose description reads:     Returns the default value specified for this field if a formula is not used.   What is the difference between these methods? I have a field with a default value. When I call getDefaultValue, I get null. When I call getDefaultValueFormula, I get back "This is the default value" (with quotes). I don't understand why getDefaultValue returns null. Objects disappear when looking through camera Let $a, b$ be elements of a group $G$. Suppose that a has order $5$ and that $a^3b = ba^3$. I want to show that that $ab = ba$.  Here is what I think:   We know that we have $a^1, a^2, a^3, a^4, a^5 = 1$. So, $a^4 = a^{-1}$ and $a^3 = a^{-2}$ and $a^{2} = a^{-4}$. Now,   $a^3b = ba^3$ then $a^{-2}b = ba^{-2}$ then $ba^2 = a^2b$ then $ba^{-4} = a^{-4}b$ then $a^{-1}b = ba^{-1}$ then multiply on the left and right by $a$ to get $ba=ab$. Is this correct or is there a simpler approach? How can I create documents in LaTeX using a calligraphic first letter for chapters? I am going to start a phd at the US with an F1 visa. University told me that I could enter the US only 30 days before the date on I-20. Since English is not my first language (and this would be a big change in my life) I would like to go there by June.  The thing is that I have an European passport with a valid ESTA. My plan would be to arrive with this passport, stay 4-6 weeks , go to Canada for a short vacation (maybe flight maybe by land) and come back to the USA with F1 visa.  I have two questions about this:  1) is this possible?   2) If yes, how could I justify knowing I will lose my come-back flight during my first entry? (I would purchase round trip because one-way are too expensive, probably with less than 90 days difference) Placement of question mark when terminal quote has no question mark but sentence does Possible Duplicate:          If I'm quoting something someone said and the quote does not have a question mark, but I want to end the sentence with a question mark, would it be     Are you sure she said "Spicy?"   or       Are you sure she said "Spicy"? I watch a lot of old movies, and I've noticed that American actors of the 1930s and 1940s often spoke in a quasi-generic-posh-British accent.  Katherine Hepburn's accent would be the perfect example. It seems exaggerated, and I imagine it was not common off the stage and screen. What was that? Was it just an accent or was it a dialect? Did real people actually speak that way? Is $\bar X$ a minimum variance unbiased estimator of $\theta$ in an exponential distribution? I proceeded by finding $\operatorname E(\bar X).$ I considered $\bar X$ as a constant and simply got the term itself. This should suggest that $\bar X$ is not an unbiased estimator of $\theta$. That's obvious too cuz it's a constant(from what I assumed). However, I'm also aware that $\mu = \theta$ so that's probably not right.  I have to demonstrate first that $\bar X$ is an unbiased estimator of $\mu$. Is the Eel immortal? Regex to validate date format dd/mm/yyyy Identify a story about a teen boy who learns to use magic with his lizard companion How can I `alias sudo !!`? I'm trying to set an alias for sudo !! in Bash. I tried alias sbb='sudo !!', but it interprets that as a literal  !! and prints   sudo: !!: command not found   If I use double quotes, it substitutes the double bang in the string itself, so that doesn't work.  Is there any way to make this work? Or an alternative alias? ` Command-line-friendly full-text indexing? Is there such a thing as a full-text indexing engine, that can be queried from the command line and ideally wouldn't require using a gui at all ?  I'm especially interested in indexing my ebooks and papers, so that's a mixture of pdf, epub and a few djvu. (Open)Office docs would be nice, but much lower on my list. I have ubuntu 12.04 (original) installed on a server.  How do I upgrade this to 12.04.03? 32 bit or 64 bit OS on a 512 mb VPS? I am planning to rent a VPS service with following basic specification:   512mb of RAM 1 CPU 20gb HDD (4gb of it is swap) Ubuntu 10.10 server   I am able to choose between a 32 bit or 64 bit install of Ubuntu server as the operating system.   My question is would it be better to chose a 32 bit operating system since I will have only 512mb of RAM, rather than using a 64 bit operating system and dealing with the additional overheads?  edit:  I have installed Ubuntu server 10.10 32 bit and 64 bit on VirtualBox. After a minimalistic installation with only ssh server, the 32 bit installation consumes 63mb of RAM when first boot up and 64 bit consumes 85mb of RAM.  After installing and running  daemon, 32 bit consumes 99mb of RAM when first boot up and 64 bit consumes 128mb. Is there any scientific experiment that can lead us to conclude we live in 3 spatial dimensions without the premise of the conception of limited dimensions?  Thank you all who helped in the improvement of this question (which was not clear at first).   EDIT:  I know that this can be a little philosophical, but it is also a scientific question.  Let's consider the scenario where the mankind was not ever able to see.  Let's also consider that this limitation could be surpassed thus not limiting us to reach a scientific and technological knowledge "similar" to what we have today.  Would this civilization of blind people reach the conclusion that they are living in a 3D spatial world?  Is the sense of touch enough to reach that conclusion? Is there any scientific experiment that can lead us to that conclusion without the premise of the conception of limited dimensions?  Would it be easier, harder, or just different to reach a conclusion predicted by the M-Theory? (please do not focus only on this last question) Why I can't connect to VPS after changing OS from CentOS to Ubuntu? What is the best indicator in finding out whether a database is utilized or accessed?  I tried index statistics and  based on I/O utilization but none seem to be a good indicator.   Problem: I have a lot of databases on a development environment and due to space issues we are trying to decommission those that are not used without actually messing with the ones that are really needed.