trying to install git on my ubuntu machine without a luck so far. Tried different things from different threads including below:  sudo apt-get update &amp;&amp; apt-get upgrade &amp;&amp; apt-get dist-upgrade sudo apt-get -f install sudo apt-get install git   Getting following error, when trying to install git with apt install git  The following packages have unmet dependencies:  git : Depends: liberror-perl but it is not installable E: Unable to correct problems, you have held broken packages.
After upgrading from 10.04 to 12.04 I am trying to install different packages.  For instance ia32-libs and skype (4.0).  When trying to install these, I am getting the 'Unable to correct problems, you have held broken packages' error message.   Output of commands:  sudo apt-get install -f Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.   After running this:  sudo dpkg --configure -a foo@foo:~$ sudo apt-get install -f Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
says:  Bash attempts to determine when it is being run with its standard input connected to a network connection, as when executed by the remote shell daemon, usually rshd, or the secure shell daemon sshd. If Bash determines it is being run in this fashion, it reads and executes commands from ~/.bashrc, if that file exists and is readable.  This Bash sources ~/.bashrc: ssh user@host :  But this Bash sources ~/.bash_profile: ssh user@host  I don't see a difference in these two commands according to the spec. Isn't stdin connected to a network connection in both cases? I'd like to be able to find out which process is currently using a certain port in Linux. Is there any way to do this? Where is the .Trash folder? If $p$ and $q$ are distinct primes , prove that $$p^{q-1}+q^{p-1} \equiv 1 \pmod {pq}$$     Using Fermat's Theorem we can get $$p^{q-1} \equiv 1 \pmod q, \qquad q^{p-1} \equiv 1 \pmod p.$$  After that I have no idea at all. Can anyone help me please How to delete all files in a current directory starting with a dot? Can open sets and closed sets of $\mathbb{R}^n$ be homeomorphic? How to make two people play at the same time? My brother owns Skyrim on steam. We use Steam Family Share, but we were wondering how both of us could play it at the same time? Best vehicle for each stage in Hill Climb Racing In Hill Climb Racing we have several vehicles and several stages.  Different vehicles have different performances on the same stage, and I'd like to know what are the best combinations to maximize distance in each stage.    Also, what is the best combination of a vehicle and a stage to get lots of coins? Drop or change automatic migration-rejection based on non-existing tags I believe this feature creates more issues than it solves and thus would like to see it gone. (This is an out-growth of , which I repost here as it concerns several/all sites.)  The main reason why I think so is that there can be numerous reasons other than the subject being off-topic why some tag does not exist on some site, for one thing it could be a spelling, typesetting, or other formalistic reason. For example, for the two sites I know best MathOverflow and Mathematics hardly any of the most popular tags have a strictly matching tag on Mathematics but only because on MO there is the convention that certain tags are formatted in a specific way, which is not in place on Mathematics (for example nt.number-theory vs number-theory).  On top of that a user choosing the wrong site in the first place is likely not too well aware of the tags of the site they are posting too so that the question might be poorly tagged in the first place.         There is an additional detail I do not understand (it is obsolete if the actual request should be followed but in case it is not):   Even if on the source site a tag has a synonym and that synonym exists as a tag on the target site the migration is rejected. I do not understand the logic behind this at all. Possibly this is just an oversight.   I could also think of some other ways to improve the process while keeping the idea, but since I believe that it is best dropped I do not (yet) elaborate on this. Why Java needs Serializable interface? We work heavily with serialization and having to specify Serializable tag on every object we use is kind of a burden. Especially when it's a 3rd-party class that we can't really change.  The question is: since Serializable is an empty interface and Java provides robust serialization once you add  implements Serializable - why didn't they make everything serializable and that's it?    What am I missing? How to reinstall Ubuntu keeping my data intact? I want to reinstall Ubuntu keeping my data intact. I have 160 GB hardrive (sata or pata I don't know but it's slim and made in China) with a 40 GB ext3 partition, a 4GB swap memory and 3 other partition with a FAT32 file system. I have around 4GB space on my drive where Linux is installed.  I'd like to keep the data intact, especially the Downloads folder, desktop, and /var/www; And I no longer have access to any other machines or external storage devices. accounting for LED resistance I get different lightning render with the same scene camera setup.  Cycles render (both experimental and supported feature set) gets weaker lightning and needs more energy.  How can I get the same lightning and reflection setup with EEVEE and Cycles? Schema.org Type for Online Business Add Virtualbox Shortcut in Unity Launcher to boot to a VM Can I create a shortcut to a virtualbox OS in the unity sidebar without it being on the desktop too.  I tried to right click in virtualbox and create shortcut on desktop then move it. but if i do it then delete the desktop shortcut it renders the unity shortcut useless.  Any ideas? Are electrons miniature black holes? Is there a function to round a float in C or do I need to write my own?       float conver = 45.592346543;   I would like to round the actual value to one decimal place, conver = 45.6. Im trying to get my head around complex integration/complex line integrals. Real integration can be thought of as the area under a curve or the opposite of differentiation. Thinking of it geometrically as the area under a curve or the volume under a surface in 3 dimension is very intuitive.   So is there a geometric way of thinking about complex integration? Or should I just be viewing it as process that reverses differentiation? Or has integration other meanings in complex analysis? Here is an example, could someone explain this to me - Here's the definition of the integral along a curve gamma in C, parameterized by $w:[a, b] -&gt;C$ \begin{equation} \int_\gamma f(z)dz = \int_a^b f(w(t)).w{(t)}'dt \end{equation}   So I have -  $\gamma$ is the unit circle with anti-clockwise orientation parameterized by  $w:[0, 2\pi]\to C$  $w(t) = e ^{it} = Cos(t) + iSin(t)$  So if use the definition of the integral,   $\int_\gamma f(z)dz = \int^b_a f(w(t)).w{(t)}&#39;dt$,  and work this out it comes to  $\int^{2\pi}_0 i dt = 2{\pi}i$  So what does this $2{\pi}i$ represent? Does it mean anything geometrically, like if a regular integral works out to be 10 that means the area under the curve between 2 points is 10... I recently purchased a MacBook Pro 13&quot; with the M1 chip and transferred all my data over using a Time Machine backup. Homebrew packages are currently installed in /usr/local/opt/ but it is my understanding that they should be under /opt/homebrew for Apple Silicon Macs. How can I:  Get the list of packages I currently have installed Remove those from /user/local/opt Reinstall them under /opt/homebrew  I kind of assumed Homebrew would be clever enough to do this automatically but apparently it needs some manual maintenance. Here's my Homebrew config if it helps: HOMEBREW_VERSION: 2.7.2 ORIGIN: https://github.com/Homebrew/brew HEAD: dad7dc6a1498b80770d98f2d7cd6fb927c300bbb Last commit: 3 days ago Core tap ORIGIN: https://github.com/Homebrew/homebrew-core Core tap HEAD: 2b1d79d038bffdbfcee93283051d48919a4caf3d Core tap last commit: 16 hours ago Core tap branch: master HOMEBREW_PREFIX: /usr/local HOMEBREW_REPOSITORY: /usr/local/Homebrew HOMEBREW_CELLAR: /usr/local/Cellar HOMEBREW_CASK_OPTS: [] HOMEBREW_MAKE_JOBS: 8 Homebrew Ruby: 2.6.3 =&gt; /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby CPU: octa-core 64-bit arm_firestorm_icestorm Clang: 12.0 build 1200 Git: 2.30.0 =&gt; /usr/local/bin/git Curl: 7.64.1 =&gt; /usr/bin/curl macOS: 11.1-arm64 CLT: 12.3.0.0.1.1607026830 Xcode: N/A Rosetta 2: false  Thanks in advance! Does causation imply correlation?