I have upgraded my Ubuntu version from 16.04 to 18.04. After that wine programs stopped working. I have re-installed wine and now I'm getting the following error:  The following packages have unmet dependencies:  wine32:i386 : Depends: libwine:i386 (= 3.0-1ubuntu1) but it is not going to be installed  wine64 : Depends: libwine (= 3.0-1ubuntu1) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).   I can't even install FileZilla from software center.  How can I resolve this?
I've been using Ubuntu for a few years now, but I just installed Version 16.04, and I've been having a lot of issues. I'm not a command line expert, but I tried to install some software last night, and it is creating issues (and also not working properly).   When I run sudo apt-get -f install, I see the following message:  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following additional packages will be installed:   lua-event lua-expat lua-filesystem lua-sec lua-socket lua5.1 prosody Suggested packages:   lua-zlib lua-dbi-postgresql lua-dbi-mysql lua-dbi-sqlite3 The following packages will be REMOVED:   jitsi-meet-tokens The following NEW packages will be installed:   lua-event lua-expat lua-filesystem lua-sec lua-socket lua5.1 prosody 0 upgraded, 7 newly installed, 1 to remove and 22 not upgraded. 3 not fully installed or removed. Need to get 0 B/413 kB of archives. After this operation, 2,296 kB of additional disk space will be used. Do you want to continue? [Y/n] Y (Reading database ... 176266 files and directories currently installed.) Removing jitsi-meet-tokens (1.0.962-1) ... dpkg: error processing package jitsi-meet-tokens (--remove):  subprocess installed post-removal script returned error exit status 10 Errors were encountered while processing:  jitsi-meet-tokens E: Sub-process /usr/bin/dpkg returned an error code (1)   Can someone help me figure out what I need to do to get this resolved? I'm fine with deleting jitsi, but I'm not sure if that will correct the problem.   Currently there is a red circle with a line through it in the upper right corner that indicates there may be installed packages with unmet dependencies.
Split file into multiple files based on pattern I have a large file that's a couple hundred lines long. This file is partitioned into many parts by a specific identifier, lets say 'ABC'. This line 'ABC' appears 6 times so I want 6 output files. I'm familiar with split and awk but can't seem to create a command line that will do what I've described, any ideas?  Here's an example  ABC line 1 line 2 line 3 ABC line 1 line 2 ABC line1   I'd like three files where ABC is the first line in the new file and it ends before the next ABC is encountered. REST API composite query: How do I use the result of a query subrequest in the referenceId of another subrequest? How do you show monotonicity of the $\ell^p$ norms? I can't seem to work out the inequality $(\sum |x_n|^q)^{1/q} \leq (\sum |x_n|^p)^{1/p}$ for $p \leq q$ (which I'm assuming is the way to go about it). "How" vs. "that" in "You know how we have pizza on Thursdays, right?" From time to time I hear sentences like this:      You know how we have pizza on Thursdays, right?   Here, how doesn't mean exactly how those guys eat pizza, it is something like "that" in this context.   So what is the difference between using how, that or just skipping the conjunction? Suppose we have $x^2+4x+3=0$  We differentiate both sides to get $2x+4=0$.  So $x=-2$  But $(-2)^2+4(-2)+3=0$   $4-8+3=-1$ is not equal to $0$.  Which tells that we cannot differentiate equalities. But in many proofs, like in integral calculus, differentiating both sides occurs. So, where is the fallacy? Restricting T to string and int? I have built myself a generic collection class which is defined like this.   public class StatisticItemHits&lt;T&gt;{...}   This class can be used with int and string values only. However this  public class StatisticItemHits&lt;T&gt; where T : string, int {...}   won't compile. What am I doing wrong? Some sort of battle school (no, not Ender's Game), where teens are being trained as military commanders.   The control system for their army hinges around some sort of system that requires extremely fine motor control -- being able to "push" around digital representations of military units using a special interface that interprets minute finger movements.  The boy protagonist eventually meets a girl in the battle school, and is astonished to learn that most people do not live as well as he does -- for instance, he gets a fresh jumpsuit outfit every day and disposes of the old one; this is a luxury.  One scene I recall is them kissing for a moment in some sort of underground passageway; the boy protagonist notes the exact length of the kiss, as he has been trained to have heightened time perception.  I don't recall much about other commander characters; I think they have different special abilities, and one other major character might have physical deformities, possibly because of postwar-radiation-related birth defects.  They have been training for an upcoming, prearranged final battle between all the existing national governments; the military units are very possibly robotic or entirely digital in nature, so as to avoid wasting materiel / human life.    They ultimately win the battle, just barely; I think the girl protagonist gives them an edge in the competition by hacking the timing / control system in favor of their team, causing a discrepancy which only the boy protagonist notices due to his heightened perceptions.  It was agreed that the winning government gets dominion over one of the few islands of land left that was not irradiated in some previous war; the protagonists get to live there as a reward for their victory.  I believe the boy protagonist later realizes he's gradually losing his ability to exactly quantify the passage of time.  Published no later than 2004, likely somewhere between 1980-2000, probably sometime in the '90s. How to recover/reset forgotten Gnome Keyring Password? How can I explain to a non-native why the plural of a noun isn't used adjectivally? How can I explain to a non-native speaker that while this is correct:     The felling of trees.    And this is also correct:     tree felling   This is not:     *trees felling   To a non-native it seems very reasonable that since many trees are being felled and given that the felling of trees uses the plural, the inverse form would also use the plural and become trees felling.  To a native speaker such as myself, the latter is very obviously wrong, but I couldn't figure out how to formalize this into a rule that a non-native can understand. Show that an operation being commutative is a structural property Shooting many bullets toward the mouse position I try to shoot a bullet toward the mouse position by this code.  float deltaX = mousePosition.x - (aircraft.getPosition().x + aircraft.getLocalBounds().width / 2); float deltaY = mousePosition.y - (aircraft.getPosition().y + aircraft.getLocalBounds().height / 2); float angleRadian = (float)(std::atan2(deltaY, deltaX)); float angleDegree = (float)(angleRadian * 180 / PI);   It works fine with one bullet but when I add another one bullet to shoot together I use this code to specify start shooting point of each bullets.  sf::Vector2f offset1(aircraft.getPosition()); offset1.x += -10;//start shooting point first bullet.  sf::Vector2f offset2(aircraft.getPosition()); offset2.x += 10;//start shooting point second bullet.   this is a picture of this problem.   When I rotate aircraft to picture 2 the bullets are not the same as the first picture.  How can I solve this problem? In Germany, crypto-currencies like Bitcoin are all over the news lately, making me aware of the fact I don't know much about them.  A journalistic TV program I was watching yesterday even claimed crypto-currencies are a real investment option... but I'm not so sure about that.  On one hand, I've been reading that across the ocean (USA and Canada), first ATMs have been setup that handle crypto-currencies.  On the other hand, I can not find any information if any crypto-currency is regulated (or even accepted) like common currencies (US dollar, Euro, Yen, etc.) are.  Can crypto-currencies really be regarded as a solid/conservative investment option like with regular currencies, or do I have to think of crypto-currencies like investing in "pork bellies" where risk tends to outrule chance, or are crypto-currencies more like fantasy-football and nothing one would/should seriously consider when it comes to planning an investment strategy?   Where exactly do I categorize crypto-currencies? Can internal forces do work? Cannot add custom launcher to Ubuntu Dock ('Add to Favorites' option does not show up) I have a custom .desktop file: [Desktop Entry] Type=Application Terminal=false Icon[en_US]=/home/alex/bin/idea-IC-173.4127.27/bin/idea.png Name[en_US]=IntelliJ Exec=/home/alex/bin/idea-IC-173.4127.27/bin/idea.sh Name=IntelliJ Icon=/home/alex/bin/idea-IC-173.4127.27/bin/idea.png  Output of ls -lha .local/share/applications/intellij.desktop: -rwx--x--x 1 alex alex 248 Dez 30 10:54 .local/share/applications/intellij.desktop  Answers posted to a previous question () don't work for me. I can find this launcher in Activities and I can double click on that file and IntelliJ will start. Nevertheless, I cannot add this launcher as a favorite to the dock. The option does not show up. Importing 3D DXF file into QGIS with z information as attribute value? I have a dxf file of 3d contours. after import it does have only  layer,x,y attribute and doesn't have Z attribute.  How can I provide Z attribute to create a TIN file? How do I get fan control working? I know there something called fancontrol, that enables you to control the speed of your system's ventilation. I'd like to let my fans spin a bit faster as my laptop is heating up very easilly. All tutorials and stuff I've found are for old versions of Ubuntu and don't seem to be working anymore.  Can anyone explain to me or give me a good link on how I  can get it working on Ubuntu? Something different with the same effect is also fine. "All our X" vs. "all of our X" Is the word "of" optional in this instance? Is either of these considered preferable to the other?        Taste all our delicious treats.   Taste all of our delicious treats. If I would show someone a yellow object and ask them, "is this object yellow?" That person would say "yes".  But I could never know if my perception of the color yellow is the same as that other person's. Because he or she could actually be seeing, what I know to be the color green. But then tells me that its the color yellow because that has been taught to him or her from young age.  So how can you test if people are really seeing the same color?  Question closed and can now be found @ Making tags visible when using a Tumblr theme that doesn't show them #!/bin/bash echo "$(curl -s -I https://google.com|grep Server)" abc   returns:  abcer: gws   and bash -x shows:    ++ grep Server ++ curl -s -I https://google.com ' abco 'Server: gws  abcer: gws   but    echo abc "$(curl -s -I https://google.com|grep Server)"`    returns  abc Server: gws   In other words, if I add text AFTER the curl command, it gets mangled, but it's ok if I add it before curl. What is happening? I cannot figure it out.