I am facing a havoc situation, I choose install Ubuntu in place of Windows 10, and now I don't have any OS on my computer and Installation of Ubuntu showing error 5 every time I reached out to install it.  It shows Errno 5 input/output error message and suddenly installation gets stop.  Type of installation: through Bootable USB drive 16 Gb  Hard drive of computer: 78 Gb RAM of computer: 2 Gb  What to do?  😢😢😢😢😢 I don't have any other computer, I tried it so many times but nothing works.  Now I have a pc which is not more than a Brick.
Today I downloaded Ubuntu for my laptop. It runs great from a bootable USB, but when I tried to install it, I got the following error message: The installer encountered an error copying files to the hard disk:  [Errno 5] Input/output error  This is often due to a faulty CD/DVD disk or drive, or a faulty hard    disk. It may help to clean the CD/DVD, to burn the CD/DVD at a lower   speed, to clean the CD/DVD drive lens (cleaning kits are often    available from electronics suppliers), to check whether the hard disk   is old and in need of replacement, or to move the system to a cooler   environment.     I tried everything to install it on my laptop including redownloading the Ubuntu ISO image, but nothing worked.
Is it bad to marinate meat for too long? From my experience it is always best to marinate meat for a decent amount of time, so the meat can "soak" up the marinade and be more flavourful.  However, I came across this recipe here:   In the directions, it says: Add pork and marinade for a minimum of 6 hours or overnight, but no longer than 12 hours.  I was wondering, why does it say "no longer than 12 hours"? Isn't it good to let meat marinate for as long as possible?  Thanks. Avoid synchronized(this) in Java? Whenever a question pops up on SO about Java synchronization, some people are very eager to point out that synchronized(this) should be avoided. Instead, they claim, a lock on a private reference is to be preferred.  Some of the given reasons are:    (very popular this one, also has an "accidentally" variant)     Other people, including me, argue that synchronized(this) is an idiom that is used a lot (also in Java libraries), is safe and well understood. It should not be avoided because you have a bug and you don't have a clue of what is going on in your multithreaded program. In other words: if it is applicable, then use it.  I am interested in seeing some real-world examples (no foobar stuff) where avoiding a lock on this is preferable when synchronized(this) would also do the job.  Therefore: should you always avoid synchronized(this) and replace it with a lock on a private reference?      Some further info (updated as answers are given):   we are talking about instance synchronization both implicit (synchronized methods) and explicit form of synchronized(this) are considered if you quote Bloch or other authorities on the subject, don't leave out the parts you don't like (e.g. Effective Java, item on Thread Safety: Typically it is the lock on the instance itself, but there are exceptions.) if you need granularity in your locking other than synchronized(this) provides, then synchronized(this) is not applicable so that's not the issue Resize partition without affecting other OSes in dual-boot I wanted to resize (increase or decrease the partition size) the existing Ubuntu partition without affecting it and the other OS(es) installed in the machine. Hamiltonian Monte Carlo for dummies Could you provide a step-by-step for dummies explanation of how Hamiltonian Monte Carlo work?  PS: I've already read the answers here, , and here, , and here,  and they do not address it in a step-by-step way. Homology Groups of $S^n$ Seven-sided dice from five-sided dice with finite rolls I have a 5-sided dice, and I want to use it to simulate a 7-sided dice. Is there a way to do this with a finite number of rolls? Help with null hypothesis Access denied when creating keystore for Android app Multiple tables join in SQL for this scenario System of congruences with variable Is the vector cross product only defined for 3D? Apt "Connection failed" Since installing Ubuntu I have been unable to install new packages, it has even failed to update. Below is a dump of connection error I see when I tried to install Wine:  E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/unixodbc/odbcinst1debian2_2.3.1-4.1_amd64.deb  Connection failed [IP: 91.189.88.152 80]  E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/f/fonts-wqy-microhei/ttf-wqy-microhei_0.2.0-beta-2_all.deb  Connection failed [IP: 91.189.88.162 80]  E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Pivot in sql server update-alternatives --install says it needs link name path priority? I typed:  sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/ jdk1.8.0/bin/java" 1   It's says alternatives --install needs link name path priority I have this annoying problem in Gmail. Spammers are by-passing the Gmail spam filters and are so clever that I am not able to create a manual filter of my own to block them. They are sending me junk mails from e-mail IDs of the form:  Jewelskart@greatestjewels.in via watchstore.cleanmail.in  Shoppingkart@shoppers.in via watchstore.cleanmail.in   In general,  something@somethingelse.in via watchstore.cleanmail.in   Now, I cant set a filter for each and every mail as they are from different IDs. The common part is the via address which is watchstore.cleanmail.in. But when I try creating a filter with watchstore.cleanmail.in in From field, Gmail doesn't list these emails. In short, the filter is not able to detect via addresses.  Report Spam/Unsubscribe options aren't working.  How can I get rid of these annoying spammers? Is it lenses which make your photographs, not camera bodies? Should I upgrade my body or lens first? I have an entry-level Nikon DSLR, and I cant decide if I should upgrade my camera body or upgrade from a  AF-S DX Nikkor 18-200mm to whatever else might be recommended? How can I migrate a Windows 10 from BIOS/MBR boot to UEFI/GPT without reinstalling? The standard files/tools that report memory seem to have different formats on different Linux distributions. For example, on Arch and Ubuntu.   Arch  $ free               total        used        free      shared  buff/cache   available Mem:        8169312     3870392     2648348       97884     1650572     4110336 Swap:      16777212      389588    16387624   $ head /proc/meminfo  MemTotal:        8169312 kB MemFree:         2625668 kB MemAvailable:    4088520 kB Buffers:          239688 kB Cached:          1224520 kB SwapCached:        17452 kB Active:          4074548 kB Inactive:        1035716 kB Active(anon):    3247948 kB Inactive(anon):   497684 kB  Ubuntu  $ free              total       used       free     shared    buffers     cached Mem:      80642828   69076080   11566748    3063796     150688   58358264 -/+ buffers/cache:   10567128   70075700 Swap:     20971516    5828472   15143044   $ head /proc/meminfo  MemTotal:       80642828 kB MemFree:        11565936 kB Buffers:          150688 kB Cached:         58358264 kB SwapCached:      2173912 kB Active:         27305364 kB Inactive:       40004480 kB Active(anon):    7584320 kB Inactive(anon):  4280400 kB Active(file):   19721044 kB    So, how can I portably (across Linux distros only) and reliably get the amount of memory—excluding swap—that is available for my software to use at a particular time? Presumably that's what's shown as "available" and "MemAvailable" in the output of free and cat /proc/meminfo in Arch but how do I get the same in Ubuntu or another distribution? What does 'Ign' , `Get` or 'Hit' mean when running an apt-get update? I had a bunch of errors in the output of sudo apt-get update:  duplicate entries and 404 not found errors.  Figured those out, I hope: I removed PPAs that didn't have any packages associated with them, then I removed out a duplicate entry in /etc/apt/sources.list.  It seems I have royally buggered it up.  Now most of the lines say Ign when I do sudo apt-get update.  How do I go about straightening out what I have screwed up?  I need to get rid of these Igns that are all over the place.  There are about 50% (eyeball guess) Igns!