test-bug-601961-install-info 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/bin/sh
  2. set -e
  3. TESTDIR="$(readlink -f "$(dirname "$0")")"
  4. . "$TESTDIR/framework"
  5. setupenvironment
  6. configarchitecture "i386"
  7. setupaptarchive
  8. testfailureequal 'Reading package lists...
  9. Building dependency tree...
  10. The following packages will be REMOVED:
  11. findutils
  12. WARNING: The following essential packages will be removed.
  13. This should NOT be done unless you know exactly what you are doing!
  14. findutils
  15. 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
  16. After this operation, 1745 kB disk space will be freed.
  17. E: Trivial Only specified but this is not a trivial operation.' aptget remove findutils --trivial-only
  18. testfailureequal 'Reading package lists...
  19. Building dependency tree...
  20. The following packages will be REMOVED:
  21. install-info
  22. 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
  23. After this operation, 262 kB disk space will be freed.
  24. E: Trivial Only specified but this is not a trivial operation.' aptget remove install-info --trivial-only
  25. testfailureequal 'Reading package lists...
  26. Building dependency tree...
  27. The following packages will be REMOVED:
  28. essentialpkg findutils
  29. WARNING: The following essential packages will be removed.
  30. This should NOT be done unless you know exactly what you are doing!
  31. findutils essentialpkg (due to findutils)
  32. 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
  33. After this operation, 2007 kB disk space will be freed.
  34. E: Trivial Only specified but this is not a trivial operation.' aptget remove essentialpkg --trivial-only