lib32bz2-1.0 missing on 16.04 I have tried installing this package (needed for android studio).  This is the error i'm getting  E: Unable to locate package lib32bz2-1.0 E: Couldn't find any package by glob 'lib32bz2-1.0' E: Couldn't find any package by regex 'lib32bz2-1.0'   I have already tried:  sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install lib32bz2-1.0   &amp;  sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install lib32bz2-1.0:i386   I also searched on  and did not find lib32bz2-1.0 for Ubuntu 16.04. So how do i get this package which is available for trusty and precise?
Unable to locate package lib32bz2-1.0 I am trying to install Simplicity studio on Ubuntu 15.04 (64-bit) and I get this error  E: Unable to locate package lib32bz2-1.0 E: Couldn't find any package by regex 'lib32bz2-1.0'   I tried to install lib32bz2-1.0 package, again I get the same error. How to install package lib32bz2-1.0 on Ubuntu 15.04(64-bit)
Dual monitor setup, why does NVidia 340 Prime only detect one monitor? Dimensioning of a technical drawing in TikZ Is there is an easy way to mark dimensions in a technical drawing with TikZ?    Is there a library or something?  Edit  I am using XeLaTeX.  Update  I chose Martin's answer because it serves me well for the moment. Ultimately the best solution would be a library that, in an easy and consistent manner, would allow to change the arrow/dimension lines styles, would support polar coordinates, would allow to choose 2 nodes and the vertical distance that you want the dimension to be typeseted etc. Check if this proof about real numbers with an irrational product is correct. Can anyone confirm if my proof is correct, please?  Claim:- “If $x$ and $y$ are real numbers and their product is irrational, then either $x$ or $y$ must be irrational.”  Proof:-   Assume that both $x$ and $y$ are rational. Now, let $x = \dfrac pq$ and $y = \dfrac mn$ since both of them are rational. $xy =\dfrac pq * \dfrac mn = \dfrac{pm}{qn}$ Thus, if the product $xy$ can be written as a fraction, it's not a irrational number. Therefore if one of $x$ and $y$ is not irrational, then the product is not irrational.  By the principle of proof by contraposition, If $x$ and $y$ are real numbers and their product is irrational, then either $x$ or $y$ must be irrational. Is there a way of conditionally triggering a compile-time error in verilog? I have a parameterised module in verilog, where the parameters are a clock rate and refresh rate, which is used to calculate how many cycles of inactivity are inserted between instances of a repeating operation.  However, it is very easy to set parameters that cannot be attained (because the operation takes a non-trivial length of time, so the repeat would have to occur before it had completed), and at the moment the design does not give any feedback on this.  I was wondering if there was some way I could trigger an error during synthesis (or compilation prior to simulation) if the conditions cannot be met (i.e. if one localparam is less than another)?  Some equivalent of the popular C/C++ compile-time-assert hack, perhaps. 'pagesize' attribute ignored in hot network list Steps to reproduce:   Open  in Guest/Incognito mode or with cookies disabled. This will have 30 questions per page by default. Click the  link and as expected, you'll see questions 1-50 with page size of 50. Go the the  and see the bug: you're in the second page of 30 items per page, i.e. you'll see questions 31-60 instead 51-100 as expected.     It is very annoying. Please fix it.  My user-agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:70.0) Gecko/20100101 Firefox/70.0  There are no plugins installed affecting the site. It happens both when logged in or not.  The mechanism used to work before, but some weeks/months ago it stopped, enough to bother me to post here :)  Here are all modified "privacy" settings from about:support page:  privacy.clearOnShutdown.offlineApps true privacy.clearOnShutdown.openWindows true privacy.clearOnShutdown.siteSettings    true privacy.cpd.offlineApps true privacy.cpd.openWindows true privacy.cpd.passwords   true privacy.cpd.siteSettings    true privacy.donottrackheader.enabled    true privacy.history.custom  true privacy.item.cookies    true privacy.sanitize.migrateClearSavedPwdsOnExit    true privacy.sanitize.migrateFx3Prefs    true privacy.sanitize.pending    [{"id":"shutdown","itemsToClear":["cache","cookies","offlineApps","history","formdata","downloads","sessions","siteSetti privacy.sanitize.sanitizeInProgress ["cache","cookies","offlineApps","history","formdata","downloads","sessions","siteSettings","openWindows"] privacy.sanitize.sanitizeOnShutdown true privacy.sanitize.timeSpan   0 privacy.trackingprotection.enabled  true privacy.trackingprotection.introCount   20 Should I be able to 'manually' rotate the headset? Black holes and positive/negative-energy particles I was reading Brian Greene's "Hidden Reality" and came to the part about Hawking Radiation. Quantum jitters that occur near the event horizon of a black hole, which create both positive-energy particles and negative-energy particles, produce the so-called Hawking radiation. However, I do not understand why only the negative-energy particles are being absorbed into the black hole, while the positive-energy particles shoot outward. Shouldn't there be 50/50 chance that each type of particle is being absorbed by the black hole? Also, the book mentions that a negative-energy particle would appear to an observer inside the black hole as positive. Why? I am not able to install LanguageTool extension for LibreOffice. Getting exception when I try to install it.   p.s. Somebody says that the solution is installing openoffice.org-java-common package but Ubuntu 14.04 does not have this package in its repository.  System details:  OS: Ubuntu 14.04 LTS  LibreOffice: 4.2 (4.2.3.3)  LanguageTool: 2.5  Java: Oracle JDK 1.8.0_05     Exception message: How did the Wampa freeze Luke's feet into the ceiling of the cave? Usually I use beamer  with the Warsaw theme which puts theorems (and other things) in boxes. Now I switched my theme to Marburg but i still want to keep the boxes. How can one do that? How to randomly subset X% of selected points? How to replace ${} placeholders in a text file? I want to pipe the output of a "template" file into MySQL, the file having variables like ${dbName} interspersed. What is the command line utility to replace these instances and dump the output to standard output? split file lines based on first field Can a warlock use one of their Thirsting Blade attacks to grapple or shove? Consider a partial function $f$ that is defined only for a few values of its domain (my exact use case is $\delta$ transition functions in automata). One can 'complete' it by saying $$g(x)=0\iff f(x) \text{ is not defined.}$$  Is there a symbol to mean "undefined"? Would it be correct, or accurate, to write $\nexists f(x)$? If $f:E\rightarrow S$ is an elliptic curve over a scheme $S$ (so $f$ is proper and smooth of relative dimension one with geometrically connected fibers of genus one, equipped with a section $0:S\rightarrow E$), then is the sheaf $\underline{\omega}_{E/S}:=f_*\Omega_{E/S}^1$ actually free of rank one? According to the statement of Grothendieck-Serre duality in Hida's book Geometric Modular Forms and Elliptic Curves, there should be a canonical isomorphism $\underline{\omega}_{E/S}\cong\mathcal{Hom}_{\mathscr{O}_S}(R^1f_*\mathscr{O}_E,\mathscr{O}_S)$, and the first result on elliptic curves in this book is that $R^1f_*\mathscr{O}_E\cong\mathscr{O}_S$. It's also not clear to me whether $S$ is being assumed (locally) Noetherian, but if that's necessary for Grothendieck-Serre duality to hold, then I'm fine with assuming it. I can't find another reference with a statement of Grothendieck-Serre duality in this generality which does not use the language of derived categories (which I unfortunately don't understand).  The reason I'm kind of skeptical about this is that in Hida's book, as well as in Katz-Mazur, it is said that $\underline{\omega}_{E/S}$ is invertible, so that an $\mathscr{O}_S$-basis $\omega$ for $\underline{\omega}_{E/S}$ can be found locally on $S$. If the invertible sheaf in question were really trivial then one would be able to choose a global $\mathscr{O}_S$-basis for $\underline{\omega}_{E/S}$, and there would be no reason to talk about doing so locally. Hida goes on to say that, choosing an $\mathscr{O}_S$-basis $\omega$ locally on $S$ allows one to regard $(\Omega_{E/S}^1,\omega)$ as a relative effective Cartier divisor in $E/S$, which also doesn't make complete sense to me because if we can only find $\omega$ locally, how are we getting a global section $\omega\in H^0(E,\Omega_{E/S}^1)=H^0(S,\underline{\omega}_{E/S})$ (unless $\underline{\omega}_{E/S}$ really is trivial)? proof of binomial identity involving double sum How to change IP address to point to localhost? Why is (sizeof(int) > -1) false? I'm new to Linux and am trying to set up Python / Django on my machine!  I installed Python 3.3 from the source file and it was compiled into /usr/local/bin. Then I created a symbolic link between /usr/bin/python and /usr/local/bin/python3, so that whenever I invoke python from the command line it uses the latest version.  Now I am trying to install MySQL Python and I got the following output:  apt-get install python-mysqldb  Reading package lists... Done Building dependency tree Reading state information... Done python-mysqldb is already the newest version. The following extra packages will be installed:   apt-listchanges python-apt Suggested packages:   python-glade2 python-gtk2 python-apt-dbg python-vte python-apt-doc The following packages will be upgraded:   apt-listchanges python-apt 2 upgraded, 0 newly installed, 0 to remove and 142 not upgraded. 3 not fully installed or removed. Need to get 0 B/394 kB of archives. After this operation, 250 kB of additional disk space will be used. Do you want to continue [Y/n]? Y Traceback (most recent call last):   File "/usr/bin/apt-listchanges", line 28, in &lt;module&gt;     import apt_pkg ImportError: No module named 'apt_pkg'   Any ideas on how to fix this?  Or any tips on how to clean up this install (if this one is too broken)?