summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2025-02-11 22:13:27 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2025-02-14 19:08:45 +0100
commit9028df1955a914230ba772776bac7fa0fb530ecf (patch)
tree0ba438cb51aa2bd28bca777943ef1114e5d9bc01
parent47b227a6dd609528a9f9f5c46d74f95919e21826 (diff)
test-ubuntu-bug-614993: Avoid implicit upgrade-by-source requirement
This allows it to work with solver3 before that feature is implemented. This essentially reverts the change to that test made in 119a8d0ed19a4e946591b9aef7d662e14ca7ece5
-rw-r--r--test/integration/solver3.broken1
-rwxr-xr-xtest/integration/test-ubuntu-bug-61499318
2 files changed, 8 insertions, 11 deletions
diff --git a/test/integration/solver3.broken b/test/integration/solver3.broken
index 235872b96..b196bc22a 100644
--- a/test/integration/solver3.broken
+++ b/test/integration/solver3.broken
@@ -7,4 +7,3 @@ test-prevent-markinstall-multiarch-same-versionscrew
test-resolve-by-keep-new-recommends
test-resolve-by-keep-obsolete-removals
test-ubuntu-bug-1304403-obsolete-priority-standard # TBD: Solver3 here happily removes 10 deps to upgrade a package
-test-ubuntu-bug-614993
diff --git a/test/integration/test-ubuntu-bug-614993 b/test/integration/test-ubuntu-bug-614993
index c65c394c8..564c5a860 100755
--- a/test/integration/test-ubuntu-bug-614993
+++ b/test/integration/test-ubuntu-bug-614993
@@ -12,9 +12,8 @@ allowremovemanual
UPGRADE="Reading package lists...
Building dependency tree...
The following additional packages will be installed:
- libdrm-intel1 libdrm-nouveau1 libdrm-radeon1 libdrm2 libmtdev1
- libutouch-grail1 libx11-xcb1 libxcb-aux0 libxcb-dri2-0 libxfont1
- xserver-common xserver-xorg-core xserver-xorg-input-all
+ libdrm-intel1 libdrm-nouveau1 libmtdev1 libutouch-grail1 libx11-xcb1
+ libxcb-aux0 libxcb-dri2-0 libxfont1 xserver-common xserver-xorg-core
xserver-xorg-input-evdev xserver-xorg-input-mouse
xserver-xorg-input-synaptics xserver-xorg-input-vmmouse
xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-apm
@@ -34,9 +33,8 @@ The following packages will be REMOVED:
The following NEW packages will be installed:
libmtdev1 libutouch-grail1 libx11-xcb1 libxcb-aux0 libxcb-dri2-0
The following packages will be upgraded:
- libdrm-intel1 libdrm-nouveau1 libdrm-radeon1 libdrm2 libxfont1
- xserver-common xserver-xorg xserver-xorg-core xserver-xorg-input-all
- xserver-xorg-input-evdev xserver-xorg-input-mouse
+ libdrm-intel1 libdrm-nouveau1 libxfont1 xserver-common xserver-xorg
+ xserver-xorg-core xserver-xorg-input-evdev xserver-xorg-input-mouse
xserver-xorg-input-synaptics xserver-xorg-input-vmmouse
xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-apm
xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips
@@ -50,9 +48,9 @@ The following packages will be upgraded:
xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident
xserver-xorg-video-tseng xserver-xorg-video-vesa xserver-xorg-video-vmware
xserver-xorg-video-voodoo
-44 upgraded, 5 newly installed, 1 to remove and 0 not upgraded.
-Need to get 0 B/5561 kB of archives.
-After this operation, 3027 kB disk space will be freed.
+41 upgraded, 5 newly installed, 1 to remove and 3 not upgraded.
+Need to get 0 B/5505 kB of archives.
+After this operation, 2294 kB disk space will be freed.
E: Trivial Only specified but this is not a trivial operation."
-testfailureequal "$UPGRADE" aptget install xserver-xorg --trivial-only
+testfailureequal "$UPGRADE" aptget install xserver-xorg --trivial-only -o APT::Get::Upgrade-By-Source-Package=0