X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/e7ebb41440cbe298b07c7fb7c6b20a64a17200f0..8d1cb6da6e21302c654da3f09de3975af7e4a11f:/test/integration/test-release-candidate-switching diff --git a/test/integration/test-release-candidate-switching b/test/integration/test-release-candidate-switching index 1790e8381..d7f1c90f7 100755 --- a/test/integration/test-release-candidate-switching +++ b/test/integration/test-release-candidate-switching @@ -1,8 +1,8 @@ #!/bin/sh set -e -TESTDIR=$(readlink -f $(dirname $0)) -. $TESTDIR/framework +TESTDIR="$(readlink -f "$(dirname "$0")")" +. "$TESTDIR/framework" setupenvironment configarchitecture "i386" @@ -61,17 +61,17 @@ The following additional packages will be installed: amarok-utils (2.3.1-1+sid) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-xine (4.6.0really4.4.2-1+sid) + phonon-backend-xine (4:4.6.0really4.4.2-1+sid) The following NEW packages will be installed: amarok (2.3.1-1+sid) amarok-common (2.3.1-1+sid) amarok-utils (2.3.1-1+sid) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-xine (4.6.0really4.4.2-1+sid) + phonon-backend-xine (4:4.6.0really4.4.2-1+sid) 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. After this operation, 258 kB of additional disk space will be used. -E: Trivial Only specified but this is not a trivial operation." aptget install amarok --trivial-only -V -q=0 +E: Trivial Only specified but this is not a trivial operation." aptget install amarok --trivial-only -V testfailureequal "Reading package lists... Building dependency tree... @@ -80,17 +80,17 @@ The following additional packages will be installed: amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.3+exp) - phonon-backend-xine (4.6.0+exp) + phonon-backend-xine (5:4.6.0+exp) The following NEW packages will be installed: amarok (2.3.2-2+exp) amarok-common (2.3.2-2+exp) amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.3+exp) - phonon-backend-xine (4.6.0+exp) + phonon-backend-xine (5:4.6.0+exp) 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. After this operation, 258 kB of additional disk space will be used. -E: Trivial Only specified but this is not a trivial operation." aptget install amarok -t experimental --trivial-only -V -q=0 +E: Trivial Only specified but this is not a trivial operation." aptget install amarok -t experimental --trivial-only -V testfailureequal "Reading package lists... Building dependency tree... @@ -102,17 +102,17 @@ The following additional packages will be installed: amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-xine (4.6.0really4.4.2-1+sid) + phonon-backend-xine (4:4.6.0really4.4.2-1+sid) The following NEW packages will be installed: amarok (2.3.2-2+exp) amarok-common (2.3.2-2+exp) amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-xine (4.6.0really4.4.2-1+sid) + phonon-backend-xine (4:4.6.0really4.4.2-1+sid) 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. After this operation, 258 kB of additional disk space will be used. -E: Trivial Only specified but this is not a trivial operation." aptget install amarok/experimental --trivial-only -V -q=0 +E: Trivial Only specified but this is not a trivial operation." aptget install amarok/experimental --trivial-only -V testfailureequal "Reading package lists... Building dependency tree... @@ -124,17 +124,17 @@ The following additional packages will be installed: amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-null (4.20.0+sid) + phonon-backend-null (4:4.20.0+sid) The following NEW packages will be installed: amarok-common (2.3.2-2+exp) amarok-null (2.3.2-2+exp) amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-null (4.20.0+sid) + phonon-backend-null (4:4.20.0+sid) 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. After this operation, 258 kB of additional disk space will be used. -E: Trivial Only specified but this is not a trivial operation." aptget install amarok-null/experimental --trivial-only -V -q=0 +E: Trivial Only specified but this is not a trivial operation." aptget install amarok-null/experimental --trivial-only -V # do not select the same version multiple times testfailureequal "Reading package lists... @@ -148,7 +148,7 @@ The following additional packages will be installed: amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-xine (4.6.0really4.4.2-1+sid) + phonon-backend-xine (4:4.6.0really4.4.2-1+sid) The following NEW packages will be installed: amarok (2.3.2-2+exp) amarok-common (2.3.2-2+exp) @@ -156,10 +156,10 @@ The following NEW packages will be installed: amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-xine (4.6.0really4.4.2-1+sid) + phonon-backend-xine (4:4.6.0really4.4.2-1+sid) 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. After this operation, 301 kB of additional disk space will be used. -E: Trivial Only specified but this is not a trivial operation." aptget install amarok/experimental amarok-null/experimental --trivial-only -V -q=0 +E: Trivial Only specified but this is not a trivial operation." aptget install amarok/experimental amarok-null/experimental --trivial-only -V # … but thighten the version if needed # in theory, the second line is wrong, but printing the right version is too much of a hassle @@ -178,7 +178,7 @@ The following additional packages will be installed: amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-xine (4.6.0+exp) + phonon-backend-xine (5:4.6.0+exp) The following NEW packages will be installed: amarok-common (2.3.2-2+exp) amarok-higher (2.3.2-2+exp) @@ -186,10 +186,10 @@ The following NEW packages will be installed: amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-xine (4.6.0+exp) + phonon-backend-xine (5:4.6.0+exp) 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. After this operation, 301 kB of additional disk space will be used. -E: Trivial Only specified but this is not a trivial operation." aptget install amarok-less/experimental2 amarok-higher/experimental --trivial-only -V -q=0 +E: Trivial Only specified but this is not a trivial operation." aptget install amarok-less/experimental2 amarok-higher/experimental --trivial-only -V # phonon-backend-null can't be used directly, but as it provides it is still fine… testfailureequal "Reading package lists... @@ -202,17 +202,17 @@ The following additional packages will be installed: amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-null (4.20.0+sid) + phonon-backend-null (4:4.20.0+sid) The following NEW packages will be installed: amarok-common (2.3.2-2+exp) amarok-null2 (2.3.2-2+exp) amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-null (4.20.0+sid) + phonon-backend-null (4:4.20.0+sid) 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. After this operation, 258 kB of additional disk space will be used. -E: Trivial Only specified but this is not a trivial operation." aptget install amarok-null2/experimental --trivial-only -V -q=0 +E: Trivial Only specified but this is not a trivial operation." aptget install amarok-null2/experimental --trivial-only -V # if an or-group satisfier is already found, do not set others testfailureequal "Reading package lists... @@ -226,17 +226,17 @@ The following additional packages will be installed: amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-xine (4.6.0+exp) + phonon-backend-xine (5:4.6.0+exp) The following NEW packages will be installed: amarok-common (2.3.2-2+exp) amarok-utils (2.3.2-2+exp) amarok-xine (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-xine (4.6.0+exp) + phonon-backend-xine (5:4.6.0+exp) 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. After this operation, 258 kB of additional disk space will be used. -E: Trivial Only specified but this is not a trivial operation." aptget install amarok-xine/experimental --trivial-only -V -q=0 +E: Trivial Only specified but this is not a trivial operation." aptget install amarok-xine/experimental --trivial-only -V # … but proceed testing if the first doesn't work out testfailureequal "Reading package lists... @@ -250,17 +250,17 @@ The following additional packages will be installed: amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-null (4.20.0+exp) + phonon-backend-null (5:4.20.0+exp) The following NEW packages will be installed: amarok-common (2.3.2-2+exp) amarok-utils (2.3.2-2+exp) amarok-xine2 (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-null (4.20.0+exp) + phonon-backend-null (5:4.20.0+exp) 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. After this operation, 258 kB of additional disk space will be used. -E: Trivial Only specified but this is not a trivial operation." aptget install amarok-xine2/experimental --trivial-only -V -q=0 +E: Trivial Only specified but this is not a trivial operation." aptget install amarok-xine2/experimental --trivial-only -V # sometimes, the second level need to be corrected, too testfailureequal "Reading package lists... @@ -276,7 +276,7 @@ The following additional packages will be installed: intermediatepkg (2.0) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-xine3 (4.6.0+exp) + phonon-backend-xine3 (5:4.6.0+exp) The following NEW packages will be installed: amarok-common (2.3.2-2+exp) amarok-utils (2.3.2-2+exp) @@ -284,10 +284,10 @@ The following NEW packages will be installed: intermediatepkg (2.0) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-xine3 (4.6.0+exp) + phonon-backend-xine3 (5:4.6.0+exp) 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. After this operation, 301 kB of additional disk space will be used. -E: Trivial Only specified but this is not a trivial operation." aptget install amarok-xine3/experimental --trivial-only -V -q=0 +E: Trivial Only specified but this is not a trivial operation." aptget install amarok-xine3/experimental --trivial-only -V # … but proceed testing if the first doesn't work out even in second deep testfailureequal "Reading package lists... @@ -301,17 +301,17 @@ The following additional packages will be installed: amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-null (4.20.0+exp) + phonon-backend-null (5:4.20.0+exp) The following NEW packages will be installed: amarok-common (2.3.2-2+exp) amarok-utils (2.3.2-2+exp) amarok-xine4 (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-null (4.20.0+exp) + phonon-backend-null (5:4.20.0+exp) 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. After this operation, 258 kB of additional disk space will be used. -E: Trivial Only specified but this is not a trivial operation." aptget install amarok-xine4/experimental --trivial-only -V -q=0 +E: Trivial Only specified but this is not a trivial operation." aptget install amarok-xine4/experimental --trivial-only -V # providers can be broken, too testfailureequal "Reading package lists... @@ -325,17 +325,17 @@ The following additional packages will be installed: amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-null (4.20.0+exp) + phonon-backend-null (5:4.20.0+exp) The following NEW packages will be installed: amarok-broken (2.3.2-2+exp) amarok-common (2.3.2-2+exp) amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-null (4.20.0+exp) + phonon-backend-null (5:4.20.0+exp) 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. After this operation, 258 kB of additional disk space will be used. -E: Trivial Only specified but this is not a trivial operation." aptget install amarok-broken/experimental --trivial-only -V -q=0 +E: Trivial Only specified but this is not a trivial operation." aptget install amarok-broken/experimental --trivial-only -V # switch the candidate for recommends too if they should be installed testfailureequal "Reading package lists... @@ -348,17 +348,17 @@ The following additional packages will be installed: amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-xine (4.6.0really4.4.2-1+sid) + phonon-backend-xine (4:4.6.0really4.4.2-1+sid) The following NEW packages will be installed: amarok-common (2.3.2-2+exp) amarok-recommends (2.3.2-2+exp) amarok-utils (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-xine (4.6.0really4.4.2-1+sid) + phonon-backend-xine (4:4.6.0really4.4.2-1+sid) 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. After this operation, 258 kB of additional disk space will be used. -E: Trivial Only specified but this is not a trivial operation." aptget install amarok-recommends/experimental --trivial-only -V -q=0 -o APT::Install-Recommends=1 +E: Trivial Only specified but this is not a trivial operation." aptget install amarok-recommends/experimental --trivial-only -V -o APT::Install-Recommends=1 # … or not if not testfailureequal "Reading package lists... @@ -369,7 +369,7 @@ The following additional packages will be installed: amarok-common (2.3.2-2+exp) Recommended packages: amarok-utils (2.3.1-1+sid) - phonon-backend-xine (4.6.0really4.4.2-1+sid) + phonon-backend-xine (4:4.6.0really4.4.2-1+sid) | phonon-backend libmtp8 (0.3.1+sid) libc6 (2.11.2-7+sid) @@ -378,7 +378,7 @@ The following NEW packages will be installed: amarok-recommends (2.3.2-2+exp) 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. After this operation, 86.0 kB of additional disk space will be used. -E: Trivial Only specified but this is not a trivial operation." aptget install amarok-recommends/experimental --trivial-only -V -q=0 -o APT::Install-Recommends=0 +E: Trivial Only specified but this is not a trivial operation." aptget install amarok-recommends/experimental --trivial-only -V -o APT::Install-Recommends=0 # but broken recommends are not the end of the world # FIXME: the version output for recommend packages is a bit strange… but what would be better? @@ -390,7 +390,7 @@ The following additional packages will be installed: amarok-common (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-xine (4.6.0really4.4.2-1+sid) + phonon-backend-xine (4:4.6.0really4.4.2-1+sid) Recommended packages: amarok-utils (2.3.1-1+sid) The following NEW packages will be installed: @@ -398,10 +398,10 @@ The following NEW packages will be installed: amarok-recommends2 (2.3.2-2+exp) libc6 (2.11.2-7+sid) libmtp8 (0.3.1+sid) - phonon-backend-xine (4.6.0really4.4.2-1+sid) + phonon-backend-xine (4:4.6.0really4.4.2-1+sid) 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. After this operation, 215 kB of additional disk space will be used. -E: Trivial Only specified but this is not a trivial operation." aptget install amarok-recommends2/experimental --trivial-only -V -q=0 -o APT::Install-Recommends=1 +E: Trivial Only specified but this is not a trivial operation." aptget install amarok-recommends2/experimental --trivial-only -V -o APT::Install-Recommends=1 # if one depends doesn't work, we don't need to look deeper… testfailureequal "Reading package lists... @@ -416,4 +416,4 @@ The following information may help to resolve the situation: The following packages have unmet dependencies: uninstallablepkg : Depends: libmtp8 (>= 10:0.20.1) but it is not going to be installed Depends: amarok-utils (= 2.3.2-2+exp) but 2.3.1-1+sid is to be installed -E: Unable to correct problems, you have held broken packages." aptget install uninstallablepkg/experimental --trivial-only -V -q=0 +E: Unable to correct problems, you have held broken packages." aptget install uninstallablepkg/experimental --trivial-only -V