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.
 
 
 
 
 
 

39 lines
1.5 KiB

  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