copying/deleting files never ends in ubuntu

This is (was) a very annoying bug in Nautilus (package gvfs):

  • https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1571540
  • https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1133477

But just 3 days ago this bug was fixed and the fix version added to repositories.

2017-08-28: This bug was fixed in the package gvfs - 1.28.2-1ubuntu1~16.04.2

Run sudo apt-get update && sudo apt-get upgrade to update to the new version.