You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

test-package-reinstallation 867 B

1234567891011121314151617181920212223
  1. #!/bin/sh
  2. set -e
  3. TESTDIR="$(readlink -f "$(dirname "$0")")"
  4. . "$TESTDIR/framework"
  5. setupenvironment
  6. configarchitecture "i386"
  7. insertinstalledpackage 'libc-bin' 'i386' '2.13-8' 'Replaces: libc6'
  8. insertpackage 'unstable' 'libc-bin' 'i386' '2.13-8' 'Replaces: libc6'
  9. insertinstalledpackage 'libc6' 'i386' '2.13-8' 'Depends: libc-bin (= 2.13-8)'
  10. insertpackage 'unstable' 'libc6' 'i386' '2.13-8' 'Depends: libc-bin (= 2.13-8)'
  11. insertinstalledpackage 'apt' 'i386' '0.8.15' 'Depends: libc6'
  12. setupaptarchive
  13. testsuccessequal 'Reading package lists...
  14. Building dependency tree...
  15. 0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
  16. Inst libc-bin [2.13-8] (2.13-8 unstable [i386])
  17. Conf libc-bin (2.13-8 unstable [i386])
  18. Inst libc6 [2.13-8] (2.13-8 unstable [i386])
  19. Conf libc6 (2.13-8 unstable [i386])' aptget install --reinstall libc6 libc-bin -s