Skip to content
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.

binary-all packages seem to be ignored by apt-get #43

Closed
mzupan opened this issue Jul 17, 2014 · 2 comments
Closed

binary-all packages seem to be ignored by apt-get #43

mzupan opened this issue Jul 17, 2014 · 2 comments

Comments

@mzupan
Copy link

mzupan commented Jul 17, 2014

I'm trying to debug a problem even though the Releases file looks ok. Any binary-all package in my repo generated by deb-s3 isn't picked up

[root@mysql1 /etc/apt]# apt-get update
Ign http://company-apt-trusty.s3.amazonaws.com stable InRelease
Hit http://company-apt-trusty.s3.amazonaws.com stable Release.gpg
Hit http://company-apt-trusty.s3.amazonaws.com stable Release
Hit http://company-apt-trusty.s3.amazonaws.com stable/main amd64 Packages
Hit http://company-apt-trusty.s3.amazonaws.com stable/main i386 Packages
Ign http://company-apt-trusty.s3.amazonaws.com stable/main Translation-en_US
Ign http://company-apt-trusty.s3.amazonaws.com stable/main Translation-en

My Releases file looks like

Mikes-MacBook-Pro:~ mike$ cat Release
Codename: stable
Date: Thu, 17 Jul 2014 02:29:05 UTC
Architectures: all amd64 i386
Components: main
MD5Sum:
 96dc9836059769df3751601db3106016            22376 main/binary-all/Packages
 70d286c2c73dee5efefc79806f59dc7b             6029 main/binary-all/Packages.gz
 315f477e0d604b618a6aa66f69c9701a            17520 main/binary-amd64/Packages
 7a21a6b4a08311743f3c9e39758c19be             4870 main/binary-amd64/Packages.gz
 d41d8cd98f00b204e9800998ecf8427e                0 main/binary-i386/Packages
 5216f264cc0ec4d7f87846910a9e79dc               20 main/binary-i386/Packages.gz
SHA1:
 65062c1f86eb76adc0c70ced023faa94700b7dce            22376 main/binary-all/Packages
 48a4e212fc2d0e9b23227b4762acc078a5eaee4c             6029 main/binary-all/Packages.gz
 59d93bc40d61fbb425f45f267812a7cde78c1e4c            17520 main/binary-amd64/Packages
 6c73cf9843aafe9a21e20619849c294c85b2061d             4870 main/binary-amd64/Packages.gz
 da39a3ee5e6b4b0d3255bfef95601890afd80709                0 main/binary-i386/Packages
 6359d0d0a7927fabc2c7407a5084e82c3e514863               20 main/binary-i386/Packages.gz
SHA256:
 c49cec29c78e104a8b765d552edb4d5e5ed172f3b62b1a6144d1fcd80d27351d            22376 main/binary-all/Packages
 7b7880a8edb631bfa87ad237d2f6814263486fb038d61063b7a07e585c4991bf             6029 main/binary-all/Packages.gz
 1923a7b095259caff3e8c76c17c5d129cb788d10233ff74741907bd9216f3b4b            17520 main/binary-amd64/Packages
 4a0839c6a3b1839c03694e0490b1cfab692b043cf52cb3009eaf69b421c79453             4870 main/binary-amd64/Packages.gz
 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855                0 main/binary-i386/Packages
 6e10437fdf39929b91cff0097600c7e3e76e0545a4320f518ad15c125bf7f7b6               20 main/binary-i386/Packages.gz

Also might want to add this to the help as it is a hacky way to fix my problem. I just told deb-s3 that the packages were amd64

     # validate we have them
      error("No architcture given and unable to determine one for #{file}. " +
            "Please specify one with --arch [i386,amd64].") unless arch

That isn't in the --help at all

Feel free to close this if you think this isn't a deb-s3 issue

@mzupan mzupan changed the title all packages seem to be ignored by apt-get binary-all packages seem to be ignored by apt-get Jul 17, 2014
@krobertson
Copy link
Owner

I had noticed this recently, but haven't written a fix. There is no "binary-all" handling in apt. You can simply upload the image again, and specify "--arch=amd64" or "--arch=i386" for whichever one you need it on, or do both.

I need to add handling where if the arch is all, it needs to update both package lists rather than writing one for "binary-all".

@mzupan
Copy link
Author

mzupan commented Jul 17, 2014

ok that solution works fine then.. I was almost sure it was in apt since everything deb-s3 was generating was valid

@mzupan mzupan closed this as completed Jul 17, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants