Error while installing new packages in ubuntu 04 and I was trynna install a Screen recorder in my ubuntu. I installed SimpleScreenRecorder and when I was trying to record the files there was this error &quot;H.264 decoder is required to play this file.&quot; So I tried to fix it by using commands : &quot;sudo apt-get install ubuntu-restricted-extras&quot; Link to the website I got to know about SimpleScreenRecorder:  Link to the command I got for solving the problem:  After I did the command I found out that the command I ran was for ubuntu 18 so maybe that's why the problem is coming. Now i have this thing on my notification: &quot;An error occurred, please run package manager from the right-click menu or apt-get in a terminal to see what is wrong. Error: Broken count&gt;0. This usually happens when you install packages that have unmet dependencies.&quot; Problems that is occurring when i try to install any package from terminal: E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 11285 (apt-get) N: Be aware that removing the lock file is not a solution and may break your system. E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?  Note: I am super new with Linux and i don't know anything, please have patience with me. Thank you
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) I'm trying to run this command in the terminal:  sudo apt install software-properties-common   This is the error message I get:  E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)   E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend),     is another process using it?
Python Argument Binders How can I bind arguments to a Python method to store a nullary functor for later invocation?  Similar to C++'s boost::bind.  For example:  def add(x, y):     return x + y  add_5 = magic_function(add, 5) assert add_5(3) == 8 Prove that if b is coprime to 6 then $b^2 \equiv 1 $ (mod 24) Let $\gcd(b,6) = 1$. Prove that $b^2 \equiv 1 $ (mod 24).  Now I have that as $\gcd(b,6) = 1$, we know that  $3\nmid b $ and $2\nmid b$ (else the GCD would be 3 or 2 resp.)  So as $2\nmid b$, $b$ must be odd. Hence $b^2$ is also odd.  Then I'm not sure where to take it from here? Maybe I've gone down the wrong path to start with, and should be looking more along the lines of the Chinese Remainder Theorem? I'm not sure. NMI watchdog: BUG: soft lockup - CPU#2 stuck for 23s! [plymouthd:305] I get this error message   NMI watchdog: BUG: soft lockup - CPU#2 stuck for 23s! [plymouthd:305]    on the startup of my system (even with live-cd).  My PC is a dell inspiron 7559 with intel graphic and nvidia.  UPDATE - this issue also happens when attempting to install ubuntu 18.10 using LiveUSB Is it possible to remove a terminal command? For example, if there was a command call lookup (not an alias), how would I go about removing it? I flagged a post today, typed out a fairly thorough explanation, clicked the button... and got told that I'd already flagged this post (for something else, which I'd forgotten about) so this flag wasn't allowed.  (This happens if the first flag is still active.)  The dialogue with my explanation was gone at this point, so if I wanted to communicate with the moderators about that, I was going to have to start over.  (In case you're wondering how this could happen, one flag was related to the post itself and one was related to the user -- there being no way to flag a user directly, you have to hang it off of a post.  But I've also seen this with cases where the first flag hangs around unhandled for a week or two and I've forgotten about it.)  Since the system is going to detect that I've already flagged a post and reject a second flag, can it do that after I click the "flag" link instead of waiting until the end of the process?  (Or gray out the link so I can't click it in the first place?)  2015-12-18: someone suggested to me in chat today that this had been implemented, so I tested again.  The behavior has not changed: I flagged a post using "other", then flagged it again (also "other") before the first flag was handled, and the flag was rejected only after I'd typed the message.  (I did this on a site where I'm a moderator so I could then clean up after myself.) How to install a Brother dcp-135c printer? Recently moved over onto Ubuntu. First time for anything like this for me as I'm coming from Windows but I'm here and ready to learn. The only problems Ive experienced so are saving in Libre office doc as a word doc file and then losing the formatting upon receival via email. However the more pressing issue is getting my old Brother DCP 135 c to work. Ive scanned a few help blogs and have found them frankly quite frightening.  Would it be possible for someone to write u a step by step guide (including explanations of terminology)  For those of us new to this magic world? What's the most efficient way to get experience? Now that experience does something besides render regions of a server uninhabitable due to  orb lag, what's the most efficient and safe way to get those excellent enchants?  A mob farmer may rank highly, but what about without tons of setup? Why does ( exit 1 ) not exit the script? What are Click packages? I noticed that Ubuntu SDK recently had some updates and it installed a program named "Click". I would like to know what they are and how to use them.  Also, would they make Debian packaging easier? What does the "RW" logo mean in a DVD+R? If you look at this product:    you can clearly see that it is a DVD+R, i.e. once it is written, it cannot be erased/rewritten.  Then what does the "RW" logo (in the lower right corner) mean? I thought it stood for ReWritable, but experimenting with the medium shows that it is not. prove that : $\cos x \cdot \cos(x-60^{\circ}) \cdot \cos(x+60^{\circ})= \frac14 \cos3x$ I should prove this trigonometric identity. I think I should get to this point : $\cos(3x) = 4\cos^3 x - 3\cos x $ But I don't have any idea how to do it (I tried solving $\cos(x+60^{\circ})\cos(x-60^{\circ})$ but I got nothing) Why does latex stretch small sections across the whole page vertically? I'm writing my bachelor-thesis and have a couple of small sub-sub-sections explaining conversions, like in the following  \subsubsection*{Assignment}  This document only explains non-compound assignments. The other kind, i.e \texttt{a += b}, is supported by the language too, but is not yet implemented.   \begin{itemize} \item If the first is an \texttt{auto} variable, no conversion takes place when assigning       the right hand side to the variable designated by the left hand side.  \item Otherwise, an assignment conversion takes place converting the given value to the type       of the designated variable.  \item Assignment requires an lvalue as the left hand side, and yields an lvalue result.  \end{itemize}  \subsubsection*{Multiplication} % ...   But latex renders it quite ugly with much space in between the items. I think it does so to fit the whole page. How can I tell it not to do so? Is what I'm doing right at all? Can anybody explain the UNABLE_TO_LOCK_ROW error? The number of permutations of $\{1,2,\ldots,n\}$ that have exactly one ascent (rise). Sloane's  counts the number of $n$-permutations with exactly one ascent.  For example $a(3)=4$ because we have: $1\wedge32$, $21\wedge3$, $2\wedge31$, $31\wedge2$ where I have marked the unique ascent with $\wedge$.  The same sequence also counts the number of length $n$ binary words that contain at least two $1$'s. For example $a(3)=4$ because we have: $011, 101, 110, 111.$  Is there a simple bijection between these two classes?  The formula for the sequence is $a(n) = 2^n - n - 1$.  I see how this counts the number of such binary words.  Is there a combinatorial derivation of this formula demonstrating that it counts the number of such n-permutations?  Both the exponential and ordinary generating functions of the sequence are given.  Again, I understand their symbolic derivation for enumeration of such binary words but can these functions be derived symbolically by considering the structure of such n-permutations? Combining multirow and multicolumn When combining multirow and multicolumn in the same cell of a table I am getting extra vertical lines:  \documentclass[plain]{article} \usepackage{multirow} \pagestyle{empty}  \begin{document}  \begin{tabular}{|l|l|l|l|}\hline   \multirow{10}{*}{numeric literals} &amp; \multirow{5}{*}{integers} &amp; in decimal &amp; \verb|8743| \\ \cline{3-4}   &amp; &amp; \multirow{2}{*}{in octal} &amp; \verb|0o7464| \\ \cline{4-4}   &amp; &amp; &amp; \verb|0O103| \\ \cline{3-4}   &amp; &amp; \multirow{2}{*}{in hexadecimal} &amp; \verb|0x5A0FF| \\ \cline{4-4}   &amp; &amp; &amp; \verb|0xE0F2| \\ \cline{2-4}   &amp; \multirow{5}{*}{fractionals} &amp; \multirow{5}{*}{in decimal} &amp; \verb|140.58| \\ \cline{4-4}   &amp; &amp; &amp; \verb|8.04e7| \\ \cline{4-4}   &amp; &amp; &amp; \verb|0.347E+12| \\ \cline{4-4}   &amp; &amp; &amp; \verb|5.47E-12| \\ \cline{4-4}   &amp; &amp; &amp; \verb|47e22| \\ \cline{1-4}   \multicolumn{3}{|l|}{\multirow{3}{*}{char literals}} &amp; \verb|'H'| \\ \cline{4-4}   &amp; &amp; &amp; \verb|'\n'| \\ \cline{4-4}   &amp; &amp; &amp; \verb|'\x65'| \\ \cline{1-4}   \multicolumn{3}{|l|}{\multirow{2}{*}{string literals}} &amp; \verb|"bom dia"| \\ \cline{4-4}   &amp; &amp; &amp; \verb|"ouro preto\nmg"| \\ \cline{1-4} \end{tabular}  \end{document}     Notice the vertical lines in the char literals and string literals cells (which should span three columns). How can they be avoided? What does ** (double star/asterisk) and * (star/asterisk) do for parameters? In the following method definitions, what does the * and ** do for param2?  def foo(param1, *param2): def bar(param1, **param2): Javascript - alert("zoo">"house") returns true With arrays, why is it the case that a[5] == 5[a]? As Joel points out in , in  (aka: K &amp; R), there is mention of this property of arrays in C: a[5] == 5[a]  Joel says that it's because of pointer arithmetic but I still don't understand. Why does a[5] == 5[a]? Cosmological constant doubts Defrosting meat/fish in warm water I have found warm water to be a great way to quickly defrost meat and fish as opposed to just letting it sit outside the freezer, which is what my mom does.  But I wonder if there are any negative side effects to the method, as in, for example, compromised taste or compromised food safety.  I do understand that the water shouldn't be too hot as to avoid actually cooking the frozen food.