403 Forbidden when attempting install on ubuntu 16.04

I searched other issues and couldn’t find anything that I was sure was current and the same issue I am seeing…

$ cat /etc/apt/sources.list
<snip/>
deb http://apt.insynchq.com/ubuntu wily non-free contrib
# deb-src http://apt.insynchq.com/ubuntu wily non-free contrib

$ wget -qO - https://d2t3ff60b2tol4.cloudfront.net/services@insynchq.com.gpg.key | sudo apt-key add -
OK

$ sudo apt-get install insync
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  insync
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 57.3 MB of archives.
After this operation, 165 MB of additional disk space will be used.
Err:1 http://apt.insynchq.com/ubuntu wily/non-free amd64 insync amd64 1.3.6.36076-trusty
  403  Forbidden
E: Failed to fetch http://apt.insynchq.com/ubuntu/pool/non-free/i/insync/insync_1.3.6.36076-trusty_amd64.deb 403  Forbidden

E: Unable to fetch some archives, try running apt-get update or apt-get --fix-missing.

Any suggestions?

Will be tagging our engineer @lpugoy and he will get back to you.

@cmcinroy: Your output shows that you are trying to install the 1.3.6 version. We recently updated our repo to provide 1.3.8 instead, so the 1.3.6 build was removed. Please run sudo apt-get update then retry. Hope this helps.

Worked! Thanks for your help!

Having something similar on ubuntu 14.04:

$ cat /etc/apt/sources.list.d/insync.list
deb http://apt.insynchq.com/ubuntu trusty non-free contrib

$ apt-get update

$ apt-get install insync-dolphin
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
insync-dolphin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,614 B of archives.
After this operation, 1,024 B of additional disk space will be used.
Err http://apt.insynchq.com/ubuntu/ trusty/non-free insync-dolphin all 1.2.8.35136-precise
403 Forbidden
E: Failed to fetch http://apt.insynchq.com/ubuntu/pool/non-free/i/insync-dolphin/insync-dolphin_1.2.8.35136-precise_all.deb 403 Forbidden

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

@DavidDanyi: Similar to @cmcinroy’s case please run sudo apt-get update too. We updated the insync-dolphin package to 1.3.8 so the 1.2.8 version was removed.

Okay, never mind all that.

Appears there was a transparent proxy setup on the company internal network, and that proxy had cached a previous insync Packages.gz file version, refusing to get an update from http://apt.insynchq.com/ubuntu/dists/trusty/non-free/binary-amd64/Packages.gz .

Not sure if you can do anything about stuff like this…maybe add some no-cache headers to the webserver, so proxies don’t cache these important files.

regards
D.

@DavidDanyi: I see. We’ll keep this in mind, thanks.