i am running ubuntu 20.04, i tried to install codeblocks for c programming while installing i have entered these follwing commands: sudo apt install gcc g++ gpp   To extract: tar -xf codeblocks Then installed extracted deb-packages  by: sudo dpkg -i *20.03*.deb  after which i faced an error: dpkg: error: unable to create new file '/var/lib/dpkg/info/format-new': No such file or directory E: Sub-process dpkg --set-selections returned an error code (2) E: Couldn't record the approved state changes as dpkg selection states  after this error i tried to solve it by entering these commands: sudo dpkg --configure -a  sudo apt-get install -f sudo apt-get auto remove  sudo apt update   but then also i m stuck in that same problem that my codeblocks ide is not starting ,also my software update is not able to update my applications cause of that error how to rectify this error?
I installed Dev C++ using Wine on Ubuntu 18.04 and the program is compiling but it not showing any output screen.
How to clear Chocolatey cache in the free version? Installation-file-cleaning is currently only available in  () and .  The package installation files can easily take gigabytes of storage space and to my knowledge they only increase in size as the user updates packages and installs new software, with only your hard drive capacity as the upper limit.   I don't know if Chocolatey stores cache in one central location — something is saved to ~\AppData\Local\Temp but the majority is located in the lib* folders in ~\ProgramData\chocolatey. Also the log files in the logs folder total to over 100 MB on my system. Is there any way to fully clear Chocolatey cache without manually deleting directories? What is the method to make files in a USB Flash Drive undeletable? Does these method work with USB 3.0 interface?  (I have surveyed some Flash Drive manufacturers, and I only see undeletable files for USB 2.0 drives, and not 3.0 drives. One manufacturer claimed that USB 3.0 cannot do undeletable file, so I am curious whether the claim is correct...) New install - no network devices available - Realtek Device b822 I just purchased a Lenovo Yoga 730 15" laptop, and installed Ubuntu 16.04 in place of Windows 10. Install seemingly worked fine, but now I have no wifi device available.  Tried a reinstall just to be sure, and the same issue is happening. I don't believe it to be a hardware issue, as wifi was working without issue on Windows before I wiped it out.  When I run rfkill list I see:  0: ideapad_wlan: Wireless LAN Soft blocked: no Hard blocked: no   But when I run lspci I only see one item in the list claiming to be a network device:  3a:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b822 (rev ff)   I have a USB wifi adapter and that gets me connected without issue, but obviously that is not the desired solution.  Does anyone have any insight on what might be causing the issue?  Output from modinfo -p rtl8822be:  fix_rate: (int) debug_level: (int) swenc:Set to 1 for software crypto (default 0) (bool) ips:Set to 0 to not use link power save (default 1) (bool) swlps:Set to 1 to use SW control power save (default 0) (bool) fwlps:Set to 1 to use FW control power save (default 1) (bool) msi:Set to 1 to use MSI interrupts mode (default 1) (bool) dma64:Set to 1 to use DMA 64 (default 0) (bool) aspm:Set to 1 to enable ASPM (default 1) (int) debug:Set debug level (0-5) (default 0) debug_mask:Set debug mask (default 0) (ullong) disable_watchdog:Set to 1 to disable the watchdog (default 0) (bool) Equifax credit score discrepancy in 1 month, why? I just went to Citi Bank's website (which gives free FICO scores from Equifax for users of some credit cards) and I realized that the score I saw there was a whopping ~50 points higher than the number I saw on Mint.com, despite the fact that they both claim to have received the number from Equifax. The only difference is the fact that Mint checked my score at the end of February 2015, whereas Citi checked it at the end of January 2015.  However, nothing unusual has happened to my credit history in between these two. I can confirm on Mint's credit report that nothing seems wrong, so I'm quite confused:   What can cause such a discrepancy? Whom should I contact to understand what is going on -- Mint, Citi, Equifax, or other? How should I contact them -- file a dispute, call them, or go somewhere in person?   Note that I don't feel I'm "disputing" anything, since I don't know if there is any cause for a dispute, and hence I'm not sure it makes sense to open a dispute with Equifax. I just want to know what is going on and why two third-party agencies claim to have received such wildly different numbers from the same agencies in the span of 1 month. What is the best symbol to use for the d'Alembertian? Normally, most people use the symbol $\Box$ to represent the  (including the linked to Wikipedia page).  Recently I wanted to use \hat\Box and \tilde\Box, but they do not render very well.    What is the "best" way to create such symbols?    Aside: The above image is rendered using my local install of pdflatex: pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian). The symbols seem to render fine on some online services: e.g. "" produces    from   \begin{align*} \Box &amp;= \sum_a \partial^a\partial_a \,, &amp; \hat\Box &amp;= \sum_a \mathcal{D}^a\mathcal{D}_a \end{align*} New Chain causing skipping on cassette - will this work itself out or is it unsafe? I just installed a new chain on my 2002 Trek 2200 Road Bike.  The old chain was a Shimano 9 speed that I installed 18 months and about 5000 miles ago.  It had stretched modestly and was full of winter cruft/grime.  The new chain is a SRAM 9 speed, my first time using the gold snap ring system.  I followed instructions and made sure I have the same link count as the chain that came off the bike.  The cassette was new with the old chain, so it has about 5000 miles on it and doesn't appear to have significant wear.  After installation and a clean/wipe/lube/wipe, I took it for a 15 mile easy ride at about 15-16 mph.  It shifts perfectly and I didn't have to make any adjustments to either derailleur.  Three times, however, when putting it under stain (once on a modest hill climb, once starting from a stop sign in a fairly big gear, and once on an acceleration coming out of a sharp turn) it skipped several teeth and caused my foot to slam down hard.  On the hill, it actually hurt as I had my weight off the saddle (not really standing) and I came down hard on the inside of my thigh.  I think all three were on the right side (power train side) pedal stroke, and I don't think they were all in the same gear.  I'm pretty sure it was the rear cassette that skipped, not the front chainring, but it did happen really fast each time.  I will also say that it's not like these were the only three times I put substantial pressure on the pedals in the ride - I wasn't going hard, but I wasn't being tentative or anything.  Also, in case it's relevant, it was cold, about 40 degrees F or about 4 degrees Centigrade.    My question:  Is this going to get me hurt, or will the new chain 'settle in' over a few rides?  I searched here and pretty much got confirmation of what I had previously thought, that you always get a new chain when you get a new cassette, but you should be able to get a few chains out of each cassette.  Thanks! I'm fairly certain this has happened to all of us at some point: You go into a room to get something, but once you're there, you can't remember what you intended to get. It seems like a specific, common phenomenon like this must have a name, but I can't think of it. Does anyone know a name (either formal or slang) for this?  I don't want a general term like forgetfulness or absent-mindedness, which could apply to all sorts of forgetting, or a term for not being able to remember a certain word. I'm looking for a word or phrase that describes this one specific situation of forgetting what you need to get as soon as you go to get it. Influence of the scale factor on the projection Catch Regex too complicated when splitting a string in salesforce I have created a function wherein I split a string from the csv filecsvAsString.split('\n') . It is working when the string is not so big. But when I try to split a very large string, an error will occur      regex too complicated   what I want to do is to catch if an error occur during the split process. How will I do it ? I've tried to use try and catch but the problem still occur. Is there any other possible solution? Why does my user number show up in the search box when clicking my profile information? Hey all-  I just noticed that if you click on your username on the top bar, when your profile shows up, in the search bar at the top you'll find an explicit search for your user account.  For my meta account, for example, I see user:157031 whenever I click on my profile.  Is this deliberate?  If so, can I suggest removing that text?  It means that I have to manually delete the contents of the search field if I want to do a search from my profile screen.  Thanks! Showing that a finite abelian group has a subgroup of order m for each divisor m of n I have made an attempt to prove that a finite abelian group of order $n$ has a subgroup of order $m$ for every divisor $m$ of $n$.     Specifically, I am asked to use a quotient group-induction argument to show this.  I'd appreciate comments on the validity or lack thereof of my attempted proof below.  Let $G$ be a finite abelian group of order $n$ and let $m$ be a divisor of $n$.  The proposition is true for $n=1$, so we'll proceed by induction and assume $n \ge 2$.  Let $p$ be a prime dividing $m$ and let $x$ be an element of order $p$ in $G$ (which exists by Cauchy's Theorem for Abelian Groups).  By the induction hypothesis, $G/\langle x \rangle$ has a subgroup of order $\dfrac{m}{p}$.  This subgroup is of the form $H/\langle x \rangle$ for some $H \le G$.  Since $|H/\langle x \rangle| = \dfrac{m}{p}$, it follows that $H \le G$ has order $m$.  I chose to use a prime divisor of $m$, but I don't see why it wouldn't work to use any proper divisor of $m$.  Am I correct on this point?  Thanks, I appreciate the help. How to prompt for user input and read command-line arguments Can someone please confirm the following? I have a C1/D visa. I worked as a flight attendant (currently unemployed) and entered the US numerous times, and also visited Mexico in December 2017.  I am planning on visiting Mexico again for 3 weeks in due course. Will the C1/D allow for me to transit in the US and visit Mexico or do I need a B1/B2 visa? I had issues with CBP before as it seems to be a very grey area.  According to the Mexican Consulate in South Africa, the type of visa is irrelevant. As long as it is multiple-entry, I am good to go.  Can someone please confirm, as I cannot get a solid answer from anyone?  Thank you! PS4 Controller not connecting to PS4 and won't reset? I was playing my PS4 two days ago and then packed it up with two controllers that were both connected to this PS4.   I got to where I was going, set everything up and now the controllers won't connect. They show pulsing orange when they plug in, but when I hit the PS Button to connect, it blinks white 1-2 times and goes back to orange.   I have tried resetting them both.  Can anyone help? Can the editor for editing tag descriptions get updated to match the normal questions/answers editor? To seek the maximum value of $S=x_1x_2+x_2x_3+\cdots+x_nx_1$ on this domain:  $x_1+x_2+\cdots+x_n=0$ and  $x_1^2+x_2^2+\cdots+x_n^2=1$.  I have made some trivial observations:  1) $S\in[-1,1)$ by the rearrangement inequality.  2) We can make $S$ arbitrarily close to $1$ by increasing $n$.  3) An equivalent problem is to minimise $(x_1-x_2)^2+\cdots+(x_n-x_1)^2$.  But does the maximum have a meaningful closed form  for each $n$? Python List vs. Array - when to use? What does f-stop mean? Is it the same thing when people say "2 stops" for example? Let $1\leq p &lt; \infty$. Suppose that    $\{f_k\} \subset L^p$ (the domain here does not necessarily have to be finite),  $f_k \to f$ almost everywhere, and  $\|f_k\|_{L^p} \to \|f\|_{L^p}$.    Why is it the case that $$\|f_k - f\|_{L^p} \to 0?$$   A statement in the other direction (i.e. $\|f_k - f\|_{L^p} \to 0 \Rightarrow \|f_k\|_{L^p} \to \|f\|_{L^p}$ ) follows pretty easily and is the one that I've seen most of the time. I'm not how to show the result above though. Difference between $ and # in Linux environment