I'm trying to update to Ubuntu 15.04 from 14.04. I created a live usb, booted to it, and chose to upgrade to 15.04 in the install menu. It's been stuck on "Removing conflicting operating system files" for around 5 hours so far. Is it supposed to take this long? If not, what can I do about it?

marked as duplicate by Eric Carvalho, user535733, Zanna, karel, Eliah Kagan Mar 7 '18 at 15:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • You do not jump between releases except from LTS to LTS. You have to upgrade to 14.10 first. – xangua Apr 25 '15 at 3:33

This error was common while trying out 12.04.

It happened when you want to keep your old /home partition. Chances are you’ve come across the installation hanging on a process

Removing conflicting operating system files

This seems to be a common bug and there’s a pretty easy work around.

Continue with the installation, without asking for the /home partition to be mounted. Only set the root partition (/) and your swap space.

Once the installation is complete, reboot and load it up.

Now, you’ll want to find the partition that /home is mounted under, this will likely be /dev/sdxN, where x is the drive letter and N is the partition number.

If you’re unsure, you can list the possible drives using the following command:

ls /dev/

And then you can mount each drive under in a temp directory and check what’s in there:

mkdir temp
mount /dev/sda1 temp

Once you know which partition you want, it’s time to edit your /etc/fstab/

sudo nano /etc/fstab

For those who don’t go digging around in the config files of Linux, this may look pretty daunting, but it's quite straightforward. All you really need to do is add a new line to mount your home partition. Here’s mine:

 /dev/sda5  /home/      ext4    defaults    0   2

The first part is the label of the partition that’s being used, next the mount point, /home. It is followed by the file system type, ext4 in this case. Finally there are the options default dump and pass values.

Once you’ve saved this file with the appended line, reboot your system. Now you should find your old home partition is mounted normally and you can get on with your install.

For further information visit this article.

  • Thanks for replying. There's something I don't understand in your answer. You say to "Continue with the installation" in the third paragraph. How can I do this if I'm stuck on "Removing conflicting operating system files"? – That Dalek Apr 25 '15 at 3:36
  • @ThatDalek In 12.04 if you didnot mount the home partition the installation continued without showing any error. – Kolappan Nathan Apr 25 '15 at 3:39
  • @ThatDalek Use try something else option. – Kolappan Nathan Apr 25 '15 at 3:40
  • 1
    @ Kolappan There probably was, but I already chose to upgrade to 15.04, and I can't go back. – That Dalek Apr 25 '15 at 3:46
  • 1
    @ Kolappan NP, thanks for trying. I appreciate it. – That Dalek Apr 25 '15 at 3:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.