I am using Linux Mint. When I try to update packages using the command
sudo apt-get update, I get this problem:
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
There is no
trusly distro but there is a
trusty ("Trusty Tahr", aka Ubuntu 14.04)(and
http://download.virtualbox.org/virtualbox/debian/dists/trusty is a valid URL). And AFAIK there is no Ubuntu distribution called "rafaela" (the "r" distro is "Raring Ringtail" aka Ubuntu 13.04).
So, check your URLs.
When I copy/paste the URL in your comments (I couldn't do that with your initial question, since it's a screenshot) and use it with wget, I get:
wget http://archive.canonical.com/ubuntu/dists/rafaela/partner/binary-amd64/Packages --2017-07-07 09:56:29-- http://archive.canonical.com/ubuntu/dists/rafaela/partner/bi%E2%80%8C%E2%80%8Bnary-amd64/Packages Resolving archive.canonical.com (archive.canonical.com)... 2001:67c:1360:8c01::16, 2001:67c:1360:8c01::1b, 188.8.131.52, ... Connecting to archive.canonical.com (archive.canonical.com)|2001:67c:1360:8c01::16|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2017-07-07 09:56:29 ERROR 404: Not Found.
If you wonder what
%E2%80%8C%E2%80%8B are doing in the URL, they are the bytes of the UTF-8 encodings of two special characters:
U+200C ZERO WIDTH NON-JOINER and
U+200B ZERO WIDTH SPACE. These characters are really in your post/comment... here the source of the SE page I'm reading:
Failed to fetch http://archive.canonical.com/ubuntu/dists/rafaela/partner/bi‌​nary-amd64/Packages
So the question is: did you copy/paste these URLs from a Word document? If so copy them to something that only accepts ASCII (a really basic editor) and clean the mess.