Problem adding apt repo in Ubuntu
Moderator: SourceGear
Problem adding apt repo in Ubuntu
I am trying to install DiffMerge in Ubuntu following the instructions here: https://sourcegear.com/diffmerge/webhel ... buntu.html.
I've created the sourcegear.list file with the indicated content.
I've also added the GPG key as instructed.
However when I run sudo apt-get update I get a 403 Forbidden error.
Here's the full output:
mikesigs@ubuntu-virtualbox:/etc/apt/sources.list.d$ ls -la
total 16
drwxr-xr-x 2 root root 4096 Dec 1 15:11 .
drwxr-xr-x 6 root root 4096 Dec 1 15:12 ..
-rw-r--r-- 1 root root 52 Dec 1 15:10 sourcegear.list
-rw-r--r-- 1 root root 144 Dec 1 15:05 webupd8team-brackets-trusty.list
mikesigs@ubuntu-virtualbox:/etc/apt/sources.list.d$ cat sourcegear.list
deb http://debian.sourcegear.com/ubuntu trusty main
mikesigs@ubuntu-virtualbox:/etc/apt/sources.list.d$ sudo wget -O -
http://debian.sourcegear.com/SOURCEGEAR-GPG-KEY | sudo apt-key add -
--2014-12-01 15:40:40-- http://debian.sourcegear.com/SOURCEGEAR-GPG-KEY
Resolving debian.sourcegear.com (debian.sourcegear.com)... 54.231.8.52
Connecting to debian.sourcegear.com (debian.sourcegear.com)|54.231.8.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1735 (1.7K) [binary/octet-stream]
Saving to: ‘STDOUT’
100%[==============================================================================================>] 1,735 --.-K/s in 0s
2014-12-01 15:40:40 (274 MB/s) - written to stdout [1735/1735]
OK
mikesigs@ubuntu-virtualbox:/etc/apt/sources.list.d$ sudo apt-get update
Ign http://debian.sourcegear.com trusty InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://ca.archive.ubuntu.com trusty InRelease
Ign http://debian.sourcegear.com trusty Release.gpg
Hit http://security.ubuntu.com trusty-security Release.gpg
Ign http://ca.archive.ubuntu.com trusty-updates InRelease
Ign http://debian.sourcegear.com trusty Release
Ign http://extras.ubuntu.com trusty InRelease
Hit http://security.ubuntu.com trusty-security Release
Ign http://ca.archive.ubuntu.com trusty-backports InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ca.archive.ubuntu.com trusty Release.gpg
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://ca.archive.ubuntu.com trusty-updates Release.gpg
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://ca.archive.ubuntu.com trusty-backports Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://ca.archive.ubuntu.com trusty Release
Hit http://extras.ubuntu.com trusty Release
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://ca.archive.ubuntu.com trusty-updates Release
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://ppa.launchpad.net trusty Release
Hit http://ca.archive.ubuntu.com trusty-backports Release
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://ca.archive.ubuntu.com trusty/main Sources
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://ca.archive.ubuntu.com trusty/restricted Sources
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://ca.archive.ubuntu.com trusty/universe Sources
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://ca.archive.ubuntu.com trusty/multiverse Sources
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://ca.archive.ubuntu.com trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://ca.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://ca.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ca.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://ca.archive.ubuntu.com trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://ca.archive.ubuntu.com trusty/restricted i386 Packages
Err http://debian.sourcegear.com trusty/main amd64 Packages
403 Forbidden
Err http://debian.sourcegear.com trusty/main i386 Packages
403 Forbidden
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Ign http://debian.sourcegear.com trusty/main Translation-en_CA
Hit http://ca.archive.ubuntu.com trusty/universe i386 Packages
Ign http://debian.sourcegear.com trusty/main Translation-en
Hit http://ca.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://ca.archive.ubuntu.com trusty/main Translation-en_CA
Hit http://ca.archive.ubuntu.com trusty/main Translation-en
Hit http://ca.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://ca.archive.ubuntu.com trusty/restricted Translation-en
Hit http://ca.archive.ubuntu.com trusty/universe Translation-en_CA
Ign http://extras.ubuntu.com trusty/main Translation-en_CA
Hit http://ca.archive.ubuntu.com trusty/universe Translation-en
Hit http://ca.archive.ubuntu.com trusty-updates/main Sources
Hit http://ca.archive.ubuntu.com trusty-updates/restricted Sources
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit http://ca.archive.ubuntu.com trusty-updates/universe Sources
Hit http://ca.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://ca.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://ca.archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://ca.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://ca.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://ca.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://ca.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://ca.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://ca.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://ca.archive.ubuntu.com trusty-backports/main Sources
Hit http://ca.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://ca.archive.ubuntu.com trusty-backports/universe Sources
Hit http://ca.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://ca.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://ca.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://ca.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://ca.archive.ubuntu.com trusty-backports/universe Translation-en
Ign http://ca.archive.ubuntu.com trusty/multiverse Translation-en_CA
Ign http://ca.archive.ubuntu.com trusty/restricted Translation-en_CA
W: Failed to fetch http://debian.sourcegear.com/ubuntu/dis ... 4/Packages 403 Forbidden
W: Failed to fetch http://debian.sourcegear.com/ubuntu/dis ... 6/Packages 403 Forbidden
E: Some index files failed to download. They have been ignored, or old ones used instead.
I've created the sourcegear.list file with the indicated content.
I've also added the GPG key as instructed.
However when I run sudo apt-get update I get a 403 Forbidden error.
Here's the full output:
mikesigs@ubuntu-virtualbox:/etc/apt/sources.list.d$ ls -la
total 16
drwxr-xr-x 2 root root 4096 Dec 1 15:11 .
drwxr-xr-x 6 root root 4096 Dec 1 15:12 ..
-rw-r--r-- 1 root root 52 Dec 1 15:10 sourcegear.list
-rw-r--r-- 1 root root 144 Dec 1 15:05 webupd8team-brackets-trusty.list
mikesigs@ubuntu-virtualbox:/etc/apt/sources.list.d$ cat sourcegear.list
deb http://debian.sourcegear.com/ubuntu trusty main
mikesigs@ubuntu-virtualbox:/etc/apt/sources.list.d$ sudo wget -O -
http://debian.sourcegear.com/SOURCEGEAR-GPG-KEY | sudo apt-key add -
--2014-12-01 15:40:40-- http://debian.sourcegear.com/SOURCEGEAR-GPG-KEY
Resolving debian.sourcegear.com (debian.sourcegear.com)... 54.231.8.52
Connecting to debian.sourcegear.com (debian.sourcegear.com)|54.231.8.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1735 (1.7K) [binary/octet-stream]
Saving to: ‘STDOUT’
100%[==============================================================================================>] 1,735 --.-K/s in 0s
2014-12-01 15:40:40 (274 MB/s) - written to stdout [1735/1735]
OK
mikesigs@ubuntu-virtualbox:/etc/apt/sources.list.d$ sudo apt-get update
Ign http://debian.sourcegear.com trusty InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://ca.archive.ubuntu.com trusty InRelease
Ign http://debian.sourcegear.com trusty Release.gpg
Hit http://security.ubuntu.com trusty-security Release.gpg
Ign http://ca.archive.ubuntu.com trusty-updates InRelease
Ign http://debian.sourcegear.com trusty Release
Ign http://extras.ubuntu.com trusty InRelease
Hit http://security.ubuntu.com trusty-security Release
Ign http://ca.archive.ubuntu.com trusty-backports InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ca.archive.ubuntu.com trusty Release.gpg
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://ca.archive.ubuntu.com trusty-updates Release.gpg
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://ca.archive.ubuntu.com trusty-backports Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://ca.archive.ubuntu.com trusty Release
Hit http://extras.ubuntu.com trusty Release
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://ca.archive.ubuntu.com trusty-updates Release
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://ppa.launchpad.net trusty Release
Hit http://ca.archive.ubuntu.com trusty-backports Release
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://ca.archive.ubuntu.com trusty/main Sources
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://ca.archive.ubuntu.com trusty/restricted Sources
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://ca.archive.ubuntu.com trusty/universe Sources
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://ca.archive.ubuntu.com trusty/multiverse Sources
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://ca.archive.ubuntu.com trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://ca.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://ca.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ca.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://ca.archive.ubuntu.com trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://ca.archive.ubuntu.com trusty/restricted i386 Packages
Err http://debian.sourcegear.com trusty/main amd64 Packages
403 Forbidden
Err http://debian.sourcegear.com trusty/main i386 Packages
403 Forbidden
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Ign http://debian.sourcegear.com trusty/main Translation-en_CA
Hit http://ca.archive.ubuntu.com trusty/universe i386 Packages
Ign http://debian.sourcegear.com trusty/main Translation-en
Hit http://ca.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://ca.archive.ubuntu.com trusty/main Translation-en_CA
Hit http://ca.archive.ubuntu.com trusty/main Translation-en
Hit http://ca.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://ca.archive.ubuntu.com trusty/restricted Translation-en
Hit http://ca.archive.ubuntu.com trusty/universe Translation-en_CA
Ign http://extras.ubuntu.com trusty/main Translation-en_CA
Hit http://ca.archive.ubuntu.com trusty/universe Translation-en
Hit http://ca.archive.ubuntu.com trusty-updates/main Sources
Hit http://ca.archive.ubuntu.com trusty-updates/restricted Sources
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit http://ca.archive.ubuntu.com trusty-updates/universe Sources
Hit http://ca.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://ca.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://ca.archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://ca.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://ca.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://ca.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://ca.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://ca.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://ca.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://ca.archive.ubuntu.com trusty-backports/main Sources
Hit http://ca.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://ca.archive.ubuntu.com trusty-backports/universe Sources
Hit http://ca.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://ca.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://ca.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://ca.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://ca.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://ca.archive.ubuntu.com trusty-backports/universe Translation-en
Ign http://ca.archive.ubuntu.com trusty/multiverse Translation-en_CA
Ign http://ca.archive.ubuntu.com trusty/restricted Translation-en_CA
W: Failed to fetch http://debian.sourcegear.com/ubuntu/dis ... 4/Packages 403 Forbidden
W: Failed to fetch http://debian.sourcegear.com/ubuntu/dis ... 6/Packages 403 Forbidden
E: Some index files failed to download. They have been ignored, or old ones used instead.
Re: Problem adding apt repo in Ubuntu
I'm investigating this. This will take me into tomorrow.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Problem adding apt repo in Ubuntu
Thanks Beth! I appreciate the prompt reply to let me know you're looking into it.
Re: Problem adding apt repo in Ubuntu
Is installing from a Debian file an option for you?
Installing from the DEB:
After downloading the most recent DEB file, install DiffMerge using the following command:
sudo dpkg -i diffmerge_4.2.0.*.deb
This completely installs DiffMerge; this includes an executable in /usr/bin/diffmerge, a man page, and a menu item in the Ubuntu Application | Programming menu.
To uninstall, type the following:
sudo dpkg -r diffmerge
Installing from the DEB:
After downloading the most recent DEB file, install DiffMerge using the following command:
sudo dpkg -i diffmerge_4.2.0.*.deb
This completely installs DiffMerge; this includes an executable in /usr/bin/diffmerge, a man page, and a menu item in the Ubuntu Application | Programming menu.
To uninstall, type the following:
sudo dpkg -r diffmerge
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Problem adding apt repo in Ubuntu
Thanks Beth. I don't mind doing it that way, if that's the only option. Everything else I've installed so far has been through apt though, so I was just hoping to keep it consistent. Any idea what the issue is?
Re: Problem adding apt repo in Ubuntu
It looks like it's a case of where we would need something specific for Ubuntu Trusty. We don't have a build particular to that version of Ubuntu.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Problem adding apt repo in Ubuntu
I've since upgraded to utopic and the same problem exists.
Re: Problem adding apt repo in Ubuntu
Aren't the versions of Linux you're using virtual machines?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Problem adding apt repo in Ubuntu
Yes. I was originally using VirtualBox + Ubuntu 14.04LTS but I was having various issues with that setup and have since switched to VMware (Player) and upgraded to Ubuntu 14.10.
Also, I haven't yet installed DiffMerge using the deb package. So if there is a fix for the apt solution, that'd still be nice to have.
Also, I haven't yet installed DiffMerge using the deb package. So if there is a fix for the apt solution, that'd still be nice to have.