What does it mean it can't access this file? user@chrubuntu:~$ sudo apt-get update     [sudo] password for user:      user     Sorry, try again.     [sudo] password for user:      E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)     E: Unable to lock directory /var/lib/apt/lists/     E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)     E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?      user@chrubuntu:~$ sudo apt-get -f install     E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)     E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?     user@chrubuntu:~$    I'm trying to install Wine1.6 and i'm using the terminal. When I try to do it otherwise, it says that there are packages that are missing or uninstallable, what does that mean? Am I not able to download Wine?
Unable to lock the administration directory (/var/lib/dpkg/) is another process using it? I get this error when trying to use apt-get:  E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?     How can I fix this?
Is it possible to keep publishing under my professional (maiden) name, different from my married legal name? Is it possible to prevent DHCP service on SBS 2003 from shutting down due to rogue DHCP server? nginx location match issue auth_basic I have this configuration :  location / {     root /etc/nginx/euchet; }  location /app/ {     proxy_pass http://172.16.184.2:8080;     proxy_redirect off;     proxy_set_header Host $host;     proxy_set_header X-Real-IP $remote_addr;     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;     proxy_set_header REMOTE_ADDR $remote_addr; }   And I need to add another location with auth_basic enabled only for the request: /app/f?p=3000  I tried with rexexp:     location ~ \/appt\/f\?p=3000 {             auth_basic "Hello! Enter password";             auth_basic_user_file /etc/nginx/euchet.htpasswd;              proxy_pass http://172.16.184.2:8080;             proxy_redirect off;              proxy_set_header Host $host;             proxy_set_header X-Real-IP $remote_addr;             proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;             proxy_set_header REMOTE_ADDR $remote_addr;     }   Nginx use previous location /app/.  I tried another way:  location ~* /euchet/f {      if ($arg_p = "4550") {         return 403;     }      error_page 403 = @hidden; }     location @hidden {             auth_basic "Hello! Enter password";             auth_basic_user_file /etc/nginx/euchet.htpasswd;              proxy_pass http://172.16.184.2:8080;             proxy_redirect off;              proxy_set_header Host $host;             proxy_set_header X-Real-IP $remote_addr;             proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;             proxy_set_header REMOTE_ADDR $remote_addr; }   And I get 403 error on f?p=3000, and 404 errors on f?p=&lt;another_number&gt;  How can I fix this problem? I'd like to be able to select a region (either with a graphical utility or command line) and be able to switch one block type with another, e.g. change all cobblestone in the region to stone. Does a program/mod exist that can do this? Cyrillic monospaced font in XeLaTeX I've installed full TexLive 2011 using "install-tl" script in Ubuntu 12.04.  When I was using TexLive 2009 from repositories the following file was compiled without any errors.  \documentclass{article} % XeLaTeX \usepackage{xltxtra} \usepackage{xunicode}  % Fonts \setmainfont{Arial} \newfontfamily\cyrillicfont{Arial} \setmonofont{Courier New}  % Lang \usepackage{polyglossia} \setmainlanguage{russian} \setotherlanguage{english}  \begin{document} English normal.  \texttt{English monospace}.  Русский обычный.  \texttt{Русский моноширинный}.  % Text in Russian \end{document}   But XeLaTeX from TexLive 2011 gives this error:     ERROR: Package polyglossia Error:       --- TeX said ---   The current roman font does not contain the Cyrillic script!   Please define \cyrillicfont with \newfontfamily.      See the polyglossia package documentation for explanation.   Type  H   for immediate help.    ...                                                    l.17 ...nglish normal.  \texttt{English monospace}                                                     .   In spite of this error the output PDF is correct.  The error remains if comment out \setmonofont{Courier New}.  Using Courier New as main font gives no error on normal text (without \texttt, \textbf and so on).  Using DejaVu Sans Mono as monospaced font gives no error too.  I've been searching for solution few hours but there aren't any.  Maybe this is a bug in Polyglossia or Fontspec? Why split the  tag when writing it with document.write()? Why do some sites (or advertisers that give clients javascript code) employ a technique of splitting the &lt;script&gt; and/or &lt;/script&gt; tags up within document.write() calls?  I noticed that Amazon does this as well, for example:  &lt;script type='text/javascript'&gt;   if (typeof window['jQuery'] == 'undefined') document.write('&lt;scr'+'ipt type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/01/javascripts/lib/jquery/jquery-1.2.6.pack._V265113567_.js"&gt;&lt;/sc'+'ript&gt;'); &lt;/script&gt; Source shell script automatically in terminal How can I automatically source a particular shell script when I open a terminal window by right clicking somewhere and choosing "open in terminal"?  For example, every time I open a terminal I need to run the following command line:  source myscript   How can I make it so that I don't have to type this automatically?  My script is written in tsch:  #!/bin/tcsh setenv DISPLAY 127.0.0.1:10.0 cd /ast/dcm/data   I'm using CentOS 7. Is dimensionality reduction almost always useful for classification? Is there a way to fake a dual (second) monitor Is there a way to fake a dual monitor for testing.    I have only one monitor and I have to make an application that is suitable for two monitors.  The second monitor screen should appear as a window on my primary monitor. Suppose you have 2 circles that intersect each other in such a way that each circle passes through the other's center. What is the area between the circle(or common area) i.e. area between the centres of the circles? Does the Draconic Bloodline sorcerer's Elemental Affinity feature apply to the spell Dragon's Breath? The  feature Elemental Affinity states:     [When] you cast a spell that deals damage of the type associated with your draconic ancestry, you can add your Charisma modifier to one damage roll of that spell.   The  spell (XGtE, p. 154) incorporates a damage roll, but it is not a direct consequence of the spell:     Until the spell ends, the creature can use an action to exhale energy of the chosen type in a 15-foot cone. Each creature in that area must make a Dexterity saving throw, taking 3d6 damage of the chosen type on a failed save, or half as much damage on a successful one.   Would one of these exhalations qualify for the application of the Elemental Affinity feature? If so, is only one eligible or every one throughout the duration of dragon's breath If $A$ is compact, is then $f(A)$ compact? How to forbid keyboard shortcut stealing by websites in Firefox Many websites, especially everything involving rich text editing (this site is guilty as well), steal keyboard shortcuts normally used to control Firefox and make them do something else instead. It is totally infuriating when I press something like Cmd-number, Cmd-L, Cmd-T, or Cmd-K and it doesn't do what I want it to. Can I make it stop?  Actually, it would probably be for the best if I could forbid stealing of all Cmd-* shortcuts. I've never seen them used for anything useful. Is it possible? What happens if my shield breaks? This is a canonical question and answer developed by the community to help address common questions. If you've been directed here, or your question has been closed as a duplicate, please look through the resources here and use them to shape more specific questions. To browse all canonical questions and answers, including more unit test resources, navigate to the  tag.  How do I unit test code that includes a SOAP or REST-based callout, or indirectly calls code that makes a callout? I'm getting an error saying that callouts are not supported. As seen in this video: (Skip to 5:53)  When a player is slain, they drop an Enchanting Table on top of their inventory.  How was this achieved and how can I build a system (using command blocks) that does that? Come to think of it, what happens to a player's location when he/she dies? Does it reset to the spawnpoint? Stay the same (where they died) until they respawn? Or becomes a null value until they respawn? Usage of: 'since', 'for' and 'in' Suppose that I create Material001  and Material002  in Material Properties and set them to some color. Can I use this 2 items in other buttons like Texture Properties, Object Data Properties etc. ? Where and how do I intertwine them with this button ? What is the resolution of tapping a blocking creature? Stars and pins are retained when chat messages are moved!