test-ubuntu-bug-802901-multiarch-early-remove 718 B

12345678910111213141516171819202122232425
  1. #!/bin/sh
  2. set -e
  3. TESTDIR="$(readlink -f "$(dirname "$0")")"
  4. . "$TESTDIR/framework"
  5. setupenvironment
  6. configarchitecture 'amd64' 'i386'
  7. insertinstalledpackage 'libgl1-mesa-glx' 'amd64' '2.0' 'Multi-Arch: same
  8. Provides: libgl1
  9. Conflicts: libgl1'
  10. insertpackage 'unstable' 'libgl1-mesa-glx' 'i386,amd64' '2.0' 'Multi-Arch: same
  11. Provides: libgl1
  12. Conflicts: libgl1'
  13. setupaptarchive
  14. testsuccessequal 'Reading package lists...
  15. Building dependency tree...
  16. The following NEW packages will be installed:
  17. libgl1-mesa-glx:i386
  18. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  19. Inst libgl1-mesa-glx:i386 (2.0 unstable [i386])
  20. Conf libgl1-mesa-glx:i386 (2.0 unstable [i386])' aptget install libgl1-mesa-glx:i386 -s