Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[arch=amd64] needed in sources file. #327

Open
craffop opened this issue Jan 11, 2021 · 1 comment
Open

[arch=amd64] needed in sources file. #327

craffop opened this issue Jan 11, 2021 · 1 comment
Labels
Bug Something isn't working

Comments

@craffop
Copy link
Contributor

craffop commented Jan 11, 2021

🗣️ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

👻 Brief Description

Everything seemed to be working until around a week ago. Now it seems that the ubuntu server I am running this on does not like the sources file that gets created I get the following error
Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://mariadb.mirrors.ovh.net/MariaDB/repo/10.5/ubuntu focal InRelease' doesn't support architecture 'i386'

It works if I add [arch=amd64] not sure what changed, maybe something on the repo end?

🥞 Cookbook version

mariadb (4.2.0)

👩‍🍳 Chef-Infra Version

version 16.8.14

🎩 Platform details

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"

Steps To Reproduce

Steps to reproduce the behavior:

deploy my app, everything seems fine, it actually deploys it with this repo created by mariadb cookbook.
When I log into server do an apt update I get :
Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://mariadb.mirrors.ovh.net/MariaDB/repo/10.5/ubuntu focal InRelease' doesn't support architecture 'i386'

🚓 Expected behavior

I wonder how I can get the [arch=amd64] into the url, the apt recipe allows for and arch setting which adds this in.

➕ Additional context

@ramereth
Copy link
Contributor

I can confirm this happens if you have i386 enabled on the system:

root@dokken:/# dpkg --add-architecture i386
root@dokken:/# apt update
...
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://mariadb.mirrors.ovh.net/MariaDB/repo/10.3/ubuntu focal InRelease' doesn't support architecture 'i386'

@ramereth ramereth added the Bug Something isn't working label Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants