Apt-get update fails on 'main/binary-amd64/Packages'

I am trying to install the couchbase client using a chef cookbook (https://github.com/urbandecoder/couchbase) on Vagrant using the following box “https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box

When the apt-get update command is executed I get the following error:

STDERR: W: Failed to fetch http://packages.couchbase.com/ubuntu/dists/precise/Release Unable to find expected entry ‘main/binary-amd64/Packages’ in Release file (Wrong sources.list entry or malformed file)

In ‘http://packages.couchbase.com/ubuntu/dists/precise/Release’ I do see:

59735ca79d3ae871cae7cb3723f205e801a08648 4881 precise/main/binary-amd64/Packages

Shouldn’t “precise/” be removed from this path? If I look at a random other file like “http://archive.ubuntu.com/ubuntu/dists/precise/Release” I do not see “precise/” in front of it. That would explain the error. Or am I doing something wrong? Thanks a lot for your help!

show the line about couchbase in your source.list file. are you sure you have followed the instructions here http://www.couchbase.com/communities/c/getting-started

it should be

deb http://packages.couchbase.com/ubuntu precise precise/main