I am facing a problem as asked in this , I have tried the proposed solution but facing the same issue  When I run locale,  locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=en_US.UTF-8   When I run   sudo locale-gen en_US.UTF-8   I get this error  sudo: unable to resolve host ubuntu /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) Generating locales... en_US.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale:  LC_ALL: cannot change locale (en_US.UTF-8) /usr/sbin/locale-gen: line 243:  8925 Killed localedef $no_archive -i $input -c -f $charset $locale_alias $locale failed Generation complete.   I am running Ubuntu Cloud Image on OpenStack cloud
I want to switch to French locale. So I tried the below command:  myUbundu@myUbundu-desktop:~$ export LC_ALL=fr_FR   But I am getting the warning  -bash: warning: setlocale: LC_ALL: cannot change locale (fr_FR)   How to set the locale to French? Do I need to install additional packages?
Can we set privacy for "last seen" status? Why does an integral change signs when flipping the boundaries? Let us define a very simple integral:   $f(x) = \int_{a}^{b}{x}$    for $a,b\ge 0$.  Why do we have the identity $\int_{a}^{b}{x} = -\int_{b}^{a}{x}$?  I drew the graphs and thought about it but to me integration, at least in two-dimensions, is just taking the area underneath a curve so why does it matter which direction you take the sum? Travelling through the Schengen area with a Refugee Travel Document issued by the USA I just want to double check to make sure I won't run into any issues at the border of entry.  I'm a permanent resident of the USA with a green card and I have a travel document issued by the USA (I-571). Will I have any issues traveling around in the Schegen countries?  Do I need a visa? Do I have to pay any fees? Prove by contradiction (not using a calculator) that $\sqrt6 + \sqrt2 < \sqrt{15}$? What is taking up so much space on my disk, beside the filesystem? I have only one disk in my computer, a 80 GB SSD. It is formatted as a single ext4 partition (no swap), and all the usual folders are installed on it (I keep lots of data on external media, but /home and all the rest is on the SSD).   Today I booted it and I got a message that the drive is full. I opened Disk Usage Analyzer to look at what takes up space. It insists that 67.8 GB of the disk are used, and that / is taking up 36.4 GB. Which leads to the question, where are the missing 30 GB, if not on the file system?!    Just to have a comparison, I added up all the sizes of all readable folders listed in Nautilus as subfolders of / (including the hidden ones). I got 20.9 GB. Trash was unreadable, but I know it has 16.2 GB, so the sum is 36.1 GB, around the same as what Disk Usage Analyzer is reporting. There were some system folders which were unreadable, like proc, but I doubt that they add up to 30 GB - else it wouldn't be possible to install Ubuntu on small disks, and I've seen it run on 2.5 GB. I think they must be the 0.3 GB difference between my calculation and the Disk Usage Analyzer's report.   So I'd like to know, what is eating up these 30 GB and how do I get it to free them?     Edit with answers to CYREX's questions   Booted from Ubuntu 10.10 64-bit live CD (same as my system).  fsck result:   root@ubuntu:~# fsck /dev/sda1 fsck from util-linux-ng 2.17.2 e2fsck 1.41.12 (17-May-2010) /dev/sda1: clean, 265956/4890624 files, 18073343/19537408 blocks  Booted from the SSD. Emptied the trash, and the 16 GB from there are now free. The 30 GB are still missing.    I'm not experienced enough to know what counts as weird in a log. Here are my messages log and my syslog since last boot. Maybe you can find something in them:       Here it got really strange. I plugged in an external 500 GB HDD. Disk Usage Analyzer overreported the available space, then showed space missing (76 GB used, but only 24 in folders).      Booted again from the LiveCD, started the Disk Usage Analyzer from it and got the same results as from the installed Ubuntu, within 1-2 GB.   Edit with answer to CodeMonk:  That would have been a nice solution, but the partition is really 80 GB - I mean 74 GB + marketing "error", anyway the whole disk is formatted. It also shows that over 50 GB are used, so where are the 30 GB if not in files and folders?    GParted also reports the correct size of the external HDD. Proof of $\int_0^\infty \left(\frac{\sin x}{x}\right)^2 \mathrm dx=\frac{\pi}{2}.$ I am looking for a short proof that $$\int_0^\infty \left(\frac{\sin x}{x}\right)^2 \mathrm dx=\frac{\pi}{2}.$$ What do you think?  It is kind of amazing that $$\int_0^\infty \frac{\sin x}{x} \mathrm dx$$ is also $\frac{\pi}{2}.$ Many proofs of this latter one are already in this . I need to find all group homomorphisms of $S_n\to\mathbb{C}^*$ (for $n\ge2$), and also all group homomorphisms of $A_n\to\mathbb{C}^*$ (for $n\ge2$).  Someone on this site, two years ago, seems to have already asked the same question (). I understand what the questioner says there, but I don't understand it when he says:     Therefore there is exactly one $g:\mathbb{Z}/2\mathbb{Z}\to\mathbb{C}^*$, so all elements of $a\in\mathbb{C}^*$ give us $\operatorname{ord}(a)\mid g[\mathbb{Z}/2\mathbb{Z}]$, so $a$ can only be $-1$ or $1$. Now we know that $f:S_n\to\{-1,1\}$ &hellip;   What is he saying there? And how to go on from there? (I do not understand the answer given either &hellip;)  I hope that someone here can help me further. (And if I'm not allowed to ask this question because is has already been asked two years ago, please tell me what to do instead).  Thank you in advance! Currently, when flagging an off-topic question, the following choices are offered.   Questions about general computing hardware and software are off-topic for Stack Overflow. Questions concerning problems with code you've written must describe the specific problem and include valid code to reproduce it. Questions must demonstrate a minimal understanding of the problem being solved. Questions on professional server, networking, or related infrastructure administration are off-topic for Stack Overflow unless they directly involve programming or programming tools. Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. This question belongs on another site in the Stack Exchange network   However, there are some questions that fit in none of these categories.  For example, career advice questions are off-topic here (and on programmers.SE), questions like  are off-topic on pretty much any SE site.    Some questions might also be relevant on another SE site not listed when the "belongs on another site" option is selected.  How should those questions be flagged?  Why isn't there a "it's off-topic because it is" option?  EDIT: just to be clear, I don't have the "Other" option under Off-Topic. This is from problem $8$, Chapter II of Rudin's Real and Complex Analysis.  The problem asks for a Borel set $M$ on $R$, such that for any interval $I$, $M \cap I$ has measure greater than $0$ and less than $m(I)$.  I was thinking of taking the Cantor approach: taking $R$ to be the union of $[a,b]$ with $a$ and $b$ rationals, and for each $[a,b]$ we construct Cantor sets inside it. During theconstruction of each Cantor set, in order to have positive measure on it, we need to take off smaller and smaller intervals from it, namely the proportion goes to $0$. As a result, these Cantor sets are extremely "dense" on their ends. If for an interval $I$ it intersects with the Cantor set on $[a,b]$ while $b-a&gt;&gt;m(I)$, we shall expect the measure of intersection to be rather close to $m(I)$ and then we lose control on these cases.  Is there any way to fix this or shall I consider other approaches?  Thank you Self-deletion and un-deletion without any changes should reinstate the original close/delete votes How to add appendix in thesis using LyX I want to add an appendix (questionnaire etc.) at the end of my thesis after the references. I use the article class and work with LyX: Document -&gt; Start appendix here. But I am not getting it in the TOC.  \documentclass[12pt,english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \setlength{\parskip}{\smallskipamount} \setlength{\parindent}{0pt} \usepackage{color} \definecolor{document_fontcolor}{rgb}{0, 0, 0} \color{document_fontcolor} \usepackage{babel} \usepackage{float} \usepackage{textcomp} \usepackage{pdfpages} \usepackage{tipa} \usepackage{amsmath} \usepackage{graphicx} \usepackage{setspace} \PassOptionsToPackage{normalem}{ulem} \usepackage{ulem} \usepackage[unicode=true,  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,  breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=false]  {hyperref}  \makeatletter  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. %% Because html converters don't know tabularnewline \providecommand{\tabularnewline}{\\} %% A simple dot to overcome graphicx limitations \newcommand{\lyxdot}{.}   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands. \numberwithin{equation}{section}  \@ifundefined{date}{}{\date{}} \@ifundefined{showcaptionsetup}{}{%  \PassOptionsToPackage{caption=false}{subfig}} \usepackage{subfig} \makeatother  \appendix \noindent \begin{center} \textbf{Questionnaire (Case Study 1)} \par\end{center} How to pivot rows into columns MySQL Been looking to pivot rows (progress_check) into columns check 1, check 2 etc... No sum or totals required, just to display the results hopefully... Can anyone help, Thanks Ad A "fast" way for  computing $ \prod \limits_{i=1}^{45}(1+\tan i^\circ) $? Which  is the fastest paper-pencil approach to compute the product $$ \prod  \limits_{i=1}^{45}(1+\tan i^\circ) $$ Could it be that Goldbach conjecture is undecidable? My book says:     For most of the small objects, both are same. But for mammoth ones, they are really different ones. And in a gravity-less environment, COG is absent; COM still exists.   Ok, what's the big deal when things are small and big? How these two :  &amp; ? Existence of minimal $\sigma$-algebra and transfinite induction Ubuntu Software doesn't open in Ubuntu 20.04 If i click on Ubuntu Software, it doesn't open. I have a fresh install of Ubuntu 20.04. I tried try to upgrade all packages, but it doesn't fix this problem.  If I try to run killall software-center there is no process with this name, and software-center returns command not found. If I try to reinstall it with apt I have these results:  $ sudo apt-get --purge --reinstall install software-center Reading package lists... Done Building dependency tree        Reading state information... Done Package oracle-java8-installer is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'software-center' has no installation candidate Why am I getting a NoClassDefFoundError in Java? Can somebody explain "leveraged debt investment positions" and "exposures" in this context for me, please? "The strong bond performance has led to a surge in leveraged debt investment positions that are ultimately funded by the banks' interbank exposures and WMPs. But nobody really knows how levered these positions are, who has financed them, and by how much," S&amp;P said. "The contagion risks for the financial sector could be high."  source: Units and Nilpotents