{"action":"closed","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/19512","labels_url":"https://api.github.com/repos/saltstack/salt/issues/19512/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/19512/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/19512/events","html_url":"https://github.com/saltstack/salt/issues/19512","id":53730277,"number":19512,"title":"user provided i386 deb package on amd64 with multiarch not correctly reported","user":{"login":"ferreol","id":1639844,"avatar_url":"https://avatars.githubusercontent.com/u/1639844?v=3","gravatar_id":"","url":"https://api.github.com/users/ferreol","html_url":"https://github.com/ferreol","followers_url":"https://api.github.com/users/ferreol/followers","following_url":"https://api.github.com/users/ferreol/following{/other_user}","gists_url":"https://api.github.com/users/ferreol/gists{/gist_id}","starred_url":"https://api.github.com/users/ferreol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferreol/subscriptions","organizations_url":"https://api.github.com/users/ferreol/orgs","repos_url":"https://api.github.com/users/ferreol/repos","events_url":"https://api.github.com/users/ferreol/events{/privacy}","received_events_url":"https://api.github.com/users/ferreol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Info%20Needed","name":"Info Needed","color":"c7def8"}],"state":"closed","locked":false,"assignee":{"login":"pitatus","id":9560004,"avatar_url":"https://avatars.githubusercontent.com/u/9560004?v=3","gravatar_id":"","url":"https://api.github.com/users/pitatus","html_url":"https://github.com/pitatus","followers_url":"https://api.github.com/users/pitatus/followers","following_url":"https://api.github.com/users/pitatus/following{/other_user}","gists_url":"https://api.github.com/users/pitatus/gists{/gist_id}","starred_url":"https://api.github.com/users/pitatus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pitatus/subscriptions","organizations_url":"https://api.github.com/users/pitatus/orgs","repos_url":"https://api.github.com/users/pitatus/repos","events_url":"https://api.github.com/users/pitatus/events{/privacy}","received_events_url":"https://api.github.com/users/pitatus/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/37","html_url":"https://github.com/saltstack/salt/milestones/Blocked","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/37/labels","id":343741,"number":37,"title":"Blocked","description":"Issues which are blocked in some way, whether they need further discussion, clarification, justification, or are blocked for some other reason.","creator":{"login":"basepi","id":702318,"avatar_url":"https://avatars.githubusercontent.com/u/702318?v=3","gravatar_id":"","url":"https://api.github.com/users/basepi","html_url":"https://github.com/basepi","followers_url":"https://api.github.com/users/basepi/followers","following_url":"https://api.github.com/users/basepi/following{/other_user}","gists_url":"https://api.github.com/users/basepi/gists{/gist_id}","starred_url":"https://api.github.com/users/basepi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basepi/subscriptions","organizations_url":"https://api.github.com/users/basepi/orgs","repos_url":"https://api.github.com/users/basepi/repos","events_url":"https://api.github.com/users/basepi/events{/privacy}","received_events_url":"https://api.github.com/users/basepi/received_events","type":"User","site_admin":false},"open_issues":231,"closed_issues":538,"state":"open","created_at":"2013-05-28T22:24:12Z","updated_at":"2015-05-04T01:22:25Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-01-08T09:28:56Z","updated_at":"2015-05-04T01:22:25Z","closed_at":"2015-05-04T01:22:25Z","body":"Hi\r\nI am using latest salt on debian wheezy amd64.\r\nI am installing a commercial i386 package with multiarch, with following script\r\n\r\nit reports is fails install/is not correctly installed, though it installed among with dependencies of package\r\n\r\nI have done sucessfully other scenarios : \r\n- install i386 libc from repo, corretly reported\r\n- install amd64 user provided .deb, installed with source salt://*.deb and correctly reported\r\n```\r\nadd_i386_architecture:\r\n  cmd.run:\r\n    - name: dpkg --add-architecture i386\r\n    - unless: dpkg --print-foreign-architectures | grep i386\r\n\r\nlibc6_i386:\r\n  pkg.installed:\r\n    - name: libc6:i386\r\n\r\nbcompare_i386:\r\n  pkg.installed:\r\n    - name: bcompare:i386\r\n    - sources:\r\n      - bcompare: salt://bcompare/bcompare-4.0.3.19420_i386.deb\r\n```\r\n```\r\nroot@debian:/srv/salt/bcompare# salt 'debian' state.sls bcompare\r\ndebian:\r\n----------\r\n          ID: add_i386_architecture\r\n    Function: cmd.run\r\n        Name: dpkg --add-architecture i386\r\n      Result: True\r\n     Comment: Command \"dpkg --add-architecture i386\" run\r\n     Started: 10:18:30.328552\r\n    Duration: 78.404 ms\r\n     Changes:\r\n              ----------\r\n              pid:\r\n                  3616\r\n              retcode:\r\n                  0\r\n              stderr:\r\n\r\n              stdout:\r\n\r\n----------\r\n          ID: libc6_i386\r\n    Function: pkg.installed\r\n        Name: libc6:i386\r\n      Result: True\r\n     Comment: The following packages were installed/updated: libc6:i386.\r\n     Started: 10:18:30.407738\r\n    Duration: 42088.251 ms\r\n     Changes:\r\n              ----------\r\n              gcc-4.7-base:i386:\r\n                  ----------\r\n                  new:\r\n                      4.7.2-5\r\n                  old:\r\n\r\n              libc6-i686:i386:\r\n                  ----------\r\n                  new:\r\n                      2.13-38+deb7u6\r\n                  old:\r\n\r\n              libc6:i386:\r\n                  ----------\r\n                  new:\r\n                      2.13-38+deb7u6\r\n                  old:\r\n\r\n              libgcc1:i386:\r\n                  ----------\r\n                  new:\r\n                      1:4.7.2-5\r\n                  old:\r\n\r\n----------\r\n          ID: bcompare_i386\r\n    Function: pkg.installed\r\n        Name: bcompare:i386\r\n      Result: False\r\n     Comment: The following packages failed to install/update: bcompare.\r\n     Started: 10:20:42.937088\r\n    Duration: 40374.03 ms\r\n     Changes:\r\n              ----------\r\n              bcompare:i386:\r\n                  ----------\r\n                  new:\r\n                      4.0.3-19420\r\n                  old:\r\n\r\n\r\n              libfontconfig1:\r\n                  ----------\r\n                  new:\r\n                      2.9.0-7.1\r\n                  old:\r\n\r\n       \r\n              libstdc++6:i386:\r\n                  ----------\r\n                  new:\r\n                      4.7.2-5\r\n                  old:\r\n\r\n\r\n[dependencies truncated]\r\n\r\n              uuid-runtime:\r\n                  ----------\r\n                  new:\r\n                      2.20.1-5.3\r\n                  old:\r\n\r\n              zlib1g:i386:\r\n                  ----------\r\n                  new:\r\n                      1:1.2.7.dfsg-13\r\n                  old:\r\n\r\n```\r\n```\r\nroot@debian:/srv/salt/bcompare# salt 'debian' state.sls bcompare\r\ndebian:\r\n----------\r\n          ID: bcompare_i386\r\n    Function: pkg.installed\r\n        Name: bcompare:i386\r\n      Result: False\r\n     Comment: The following packages failed to install/update: bcompare.\r\n     Started: 10:24:42.811137\r\n    Duration: 18146.356 ms\r\n     Changes:\r\n\r\nSummary\r\n------------\r\nSucceeded: 0\r\nFailed:    1\r\n------------\r\nTotal states run:     1\r\nroot@debian:/srv/salt/bcompare# less /var/log/salt/minion\r\nroot@debian:/srv/salt/bcompare# dpkg -l | grep bcompare\r\nii  bcompare                           4.0.3-19420                   i386         Beyond Compare 4\r\n\r\n```\r\n"}}