test-bug-657695-resolver-breaks-on-virtuals 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #!/bin/sh
  2. set -e
  3. TESTDIR="$(readlink -f "$(dirname "$0")")"
  4. . "$TESTDIR/framework"
  5. setupenvironment
  6. configarchitecture 'amd64'
  7. insertinstalledpackage 'xserver-xorg-core' 'amd64' '2:1.7.6-2ubuntu7.10'
  8. for i in $(seq 1 50); do
  9. insertinstalledpackage "xserver-xorg-video-driver$i" 'amd64' '1.0' 'Provides: xserver-xorg-video-6'
  10. done
  11. insertpackage 'unstable' 'xserver-xorg-core' 'amd64' '2:1.11.3-0ubuntu9' 'Breaks: xserver-xorg-video-6'
  12. setupaptarchive
  13. testfailureequal 'Reading package lists...
  14. Building dependency tree...
  15. Calculating upgrade...
  16. The following packages will be REMOVED:
  17. xserver-xorg-video-driver1 xserver-xorg-video-driver10
  18. xserver-xorg-video-driver11 xserver-xorg-video-driver12
  19. xserver-xorg-video-driver13 xserver-xorg-video-driver14
  20. xserver-xorg-video-driver15 xserver-xorg-video-driver16
  21. xserver-xorg-video-driver17 xserver-xorg-video-driver18
  22. xserver-xorg-video-driver19 xserver-xorg-video-driver2
  23. xserver-xorg-video-driver20 xserver-xorg-video-driver21
  24. xserver-xorg-video-driver22 xserver-xorg-video-driver23
  25. xserver-xorg-video-driver24 xserver-xorg-video-driver25
  26. xserver-xorg-video-driver26 xserver-xorg-video-driver27
  27. xserver-xorg-video-driver28 xserver-xorg-video-driver29
  28. xserver-xorg-video-driver3 xserver-xorg-video-driver30
  29. xserver-xorg-video-driver31 xserver-xorg-video-driver32
  30. xserver-xorg-video-driver33 xserver-xorg-video-driver34
  31. xserver-xorg-video-driver35 xserver-xorg-video-driver36
  32. xserver-xorg-video-driver37 xserver-xorg-video-driver38
  33. xserver-xorg-video-driver39 xserver-xorg-video-driver4
  34. xserver-xorg-video-driver40 xserver-xorg-video-driver41
  35. xserver-xorg-video-driver42 xserver-xorg-video-driver43
  36. xserver-xorg-video-driver44 xserver-xorg-video-driver45
  37. xserver-xorg-video-driver46 xserver-xorg-video-driver47
  38. xserver-xorg-video-driver48 xserver-xorg-video-driver49
  39. xserver-xorg-video-driver5 xserver-xorg-video-driver50
  40. xserver-xorg-video-driver6 xserver-xorg-video-driver7
  41. xserver-xorg-video-driver8 xserver-xorg-video-driver9
  42. The following packages will be upgraded:
  43. xserver-xorg-core
  44. 1 upgraded, 0 newly installed, 50 to remove and 0 not upgraded.
  45. After this operation, 2150 kB disk space will be freed.
  46. E: Trivial Only specified but this is not a trivial operation.' aptget dist-upgrade --trivial-only