Bug 1154098 - Bad debian sources.list configuration in multiarch context
Summary: Bad debian sources.list configuration in multiarch context
Keywords:
Status: NEW
Alias: None
Product: Gluster-Documentation
Classification: Community
Component: Other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Anjana Suparna Sriram
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-17 14:06 UTC by Yann Richard
Modified: 2023-01-04 04:36 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Yann Richard 2014-10-17 14:06:19 UTC
Description of problem:

In some documentation to how to configure debian repository :
http://download.gluster.org/pub/gluster/glusterfs/3.3/3.3.2/Debian/README
http://download.gluster.org/pub/gluster/glusterfs/3.3/3.3.1/Debian/readme.txt
http://download.gluster.org/pub/gluster/glusterfs/3.4/3.4.0/Debian/README

Theirs configuration cause error when multi-arch ios enabled and this new arch are not provided in gluster repository. 

Actual results:

If multi-arch is enabled for i386 (or any arch non managed in gluster repository)

There is error when "apt-get update" :

W: Failed to fetch http://download.gluster.org/pub/gluster/glusterfs/3.3/LATEST/Debian/apt/dists/wheezy/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)


Expected results:

no error

How to fix : 

Only add [arch=amd64] after deb if you provide only amd64 binary. Exemple :

echo "deb [arch=amd64] http://download.gluster.org/pub/gluster/glusterfs/3.4/3.4.1/Debian/apt wheezy main" > /etc/apt/sources.list.d/gluster.list


Note You need to log in before you can comment on or make changes to this bug.