GlusterFS Packages for Debian 7 (aka Wheezy) are quite out of date, so it's better to install newer versions from gluster.org repositories. If you hit problems when setting up gluster.org repositories on Wheezy, the following information may help.

Add apt sources for the selected branch of GlusterFS. In this example it is latest version of 3.7. branch.

joe /etc/apt/sources.list.d/gluster.list
deb http://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/Debian/wheezy/apt wheezy main

Run apt-get update after gluster.org repositories were added with following error:

apt-get update

Err http://download.gluster.org wheezy/main amd64 Packages
  302  Found
...
...
100% [Working]W: Failed to fetch http://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/Debian/wheezy/apt/dists/wheezy/main/binary-amd64/Packages: 302  Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Couldn't rebuild package cache

At the time of writing, gluster.org repositories were accessible using SSL connection only, so update the URL in apt sources list.

joe /etc/apt/sources.list.d/gluster.list
deb https://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/Debian/wheezy/apt wheezy main

Give apt-update second try.

apt-get update

E: The method driver /usr/lib/apt/methods/https could not be found.

No. The https transport of apt in Debian Wheezy is not installed by default. In addition, if a single repository is set to https transport in the apt sources and the https transport is not installed on the system, no packages can be installed at all. Comment out the gluster.org repository therefore first in /etc/apt/sources.list.d/gluster.list. Install package apt-transport-https.

apt-get update

apt-get install apt-transport-https

Uncomment gluster.org repo in /etc/apt/sources.list.d/gluster.list :

apt-get update

W: GPG error: https://download.gluster.org wheezy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FE79BB52D5DC52DC

Well. We forget to download and install gluster.org repo GPG key.

wget --no-check-certificate -O - http://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/rsa.pub | apt-key add -

apt-get update

Err https://download.gluster.org wheezy/main amd64 Packages
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
W: Failed to fetch https://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/Debian/wheezy/apt/dists/wheezy/main/binary-amd64/Packages  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

E: Some index files failed to download. They have been ignored, or old ones used instead.

Create the following file. which will turn off the SSL certificates check of apt transport.

joe /etc/apt/apt.conf.d/IgnoreSSLCertERR


Acquire::https {
        Verify-Peer "false";
        Verify-Host "false";
}

After this last edit is the output of apt-get update clean. The repositories are finally functional and you can install the appropriate version of the glusterfs packages.