Skip to content

Install Failures With Raspbian Jessie #695

Closed

Description

@mtippett

On attempting to install on raspbian jessie, the following errors are found, they actually appear three times during the different apt-get update stages.

Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
W: Failed to fetch http://repo.saltstack.com/apt/debian/latest/dists/jessie/InRelease  Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
 * ERROR: Failed to run install_debian_8_deps()!!!

The installation fails with the final message.

Activity

  1. mtippett commented on Nov 24, 2015

    @mtippett
    Author

    Note that sh ./install_salt.sh -P -b git v2015.8.1 does work

  2. changed the title [-]Install Failures With Raspbian Jesse[/-] [+]Install Failures With Raspbian Jessie[/+] on Nov 24, 2015
  3. wolfpackmars2 commented on Dec 4, 2015

    @wolfpackmars2
    Contributor

    Doesn't appear the newer repository has the ARM packages available.

    The old repository doesn't have the new release of Salt (past 2015.5)

    The workaround is to install from Git. Depending on the level of support for Raspbian, the bootstrapper either needs to be updated to handle Raspbian Jessie to install from git or the ARMHF packages need to be added to the repository.

    Old repo:
    http://debian.saltstack.com/debian/dists/

    New Repo:
    http://repo.saltstack.com/apt/debian/8/

  4. dmurphy18 commented on Dec 4, 2015

    @dmurphy18
    Contributor

    @wolfpackmars2 At present SaltStack is only building Intel based packages for repo.saltstack.com. There is a new layout, with backwards support for the previous layout (tried to make sure we didn't break it this time). Older versions are archived, e.g. http://repo.saltstack.com/staging/apt/debian/8/amd64/archive/2015.5.6

    It is intended that other architectures shall be supported (hence the architecture field - amd64) eventually, but we need to complete the build automation tool and release it as open-source before that can occur.

  5. vutny commented on Feb 24, 2016

    @vutny
    Contributor

    @dmurphy18 I think we should mention explicitly in documentation the fact, that Salt binary dependencies for Debian only provided for amd64 architecture from corporate repo.

  6. dmurphy18 commented on Feb 24, 2016

    @dmurphy18
    Contributor

    @vutny I shall bring the issue up. It also applies for Ubuntu as well.

  7. self-assigned this
    on Feb 24, 2016
  8. vutny commented on Feb 25, 2016

    @vutny
    Contributor

    @dmurphy18 I've submitted couple of PRs with documentation update for Debian and Ubuntu. One of them is already merged, but the site still contains the old version: https://docs.saltstack.com/en/latest/topics/installation/debian.html
    Should it be updated automatically or not?

  9. vutny commented on Feb 25, 2016

    @vutny
    Contributor

    @vim-zz As I see, Raspbian Stretch distribution (current testing) also includes recent Salt version like main Debian archive. Great. At least we could update the documentation to reflect this. Maybe installing packages from testing on stable as well...

  10. vutny commented on Feb 26, 2016

    @vutny
    Contributor

    @mtippett @vim-zz Unfortunately, current salt-bootstrap doen't support installation on Raspbian, but at least we got documentation updated with salt-minion installation instructions for Jessie from official Raspbian repo (Stretch package). Check it out (should be updated on the site soon): https://github.com/saltstack/salt/blob/2015.8/doc/topics/installation/debian.rst

  11. vim-zz commented on Feb 28, 2016

    @vim-zz

    @vutny great

  12. vutny commented on Feb 29, 2016

    @vutny
    Contributor

    Small corrections from PR saltstack/salt#31536 should be applied...

  13. rallytime commented on Jul 6, 2016

    @rallytime
    Contributor

    @mtippett We recently added Rasbian packages to repo.saltstack.com. I am curious as to how the bootstrap script will run now. #905 is similar to this issue and I'll be working with @Ch3LL to test the bootstrap script out and see what updates need to happen to the bootstrap script.

  14. jeremywillden commented on Oct 11, 2016

    @jeremywillden

    Not exactly solved, but found the source of the problem that I outline below. Turns out the minions I was testing this on have a distribution of Raspbian older than the current one. While it would be nice if the dependencies existed in the older distro, it will be easier to upgrade the distro than try to get the newer version of salt to work on the older distro (I think). Leaving the rest of the comment below for the benefit of others who run into the same issue.

    Still having trouble installing even when using the armhf repo:
    (used modified version of the instructions at https://repo.saltstack.com/#debian changing armhf out for amd64

    pi@raspberry-pi> sudo apt-get install salt-minion
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     salt-minion : Depends: python-crypto (>= 2.6.1) but 2.6-4+deb7u3 is to be installed
                   Depends: python-zmq (>= 13.1.0) but 2.2.0-1 is to be installed
                   Depends: salt-common (= 2016.3.3+ds-1) but 0.10.1-3 is to be installed
                   Recommends: dmidecode but it is not installable
    E: Unable to correct problems, you have held broken packages.
    
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions