]>
git.saurik.com Git - apt.git/blob - test/integration/test-bug-590438-broken-provides-thanks-to-remove-order
4 TESTDIR
=$(readlink -f $(dirname $0))
8 configarchitecture
"i386"
11 pkgbasefile
="Package: base-files
12 Status: install ok installed
17 Maintainer: Santiago Vila <sanvila@debian.org>
20 Replaces: base, dpkg (<= 1.15.0), miscutils
22 Filename: pool/main/b/base-files/base-files_5.8_i386.deb
24 MD5sum: 8489687ce10e656babd467c9ee389349
25 Description-de: Verschiedene Dateien für das Basis-System von Debian"
28 cp $TESTDIR/$(echo "$(basename $0)" | sed 's/test-/status-/') rootdir/var/lib/dpkg/status
31 " >> rootdir/var/lib/dpkg/status
32 testequal "Inst gawk
(1:3.1.7.dfsg
-5 localhost
[i386
])
33 Conf gawk
(1:3.1.7.dfsg
-5 localhost
[i386
])
34 Remv mawk
[1.3.3-15]" aptget install gawk mawk- -sqq -o PreDepends=$(echo "$1" | sed 's/ //g')
37 predependsgawk "gawk
| mawk
"
38 predependsgawk "mawk
| gawk
"
40 predependsgawk "aawk
| mawk
| gawk
"
41 predependsgawk "aawk
| gawk
| mawk
"
43 predependsgawk "gawk
| awk"
44 predependsgawk "aawk
| gawk
| awk"
46 predependsgawk "mawk
| awk"
48 predependsgawk "awk | gawk
"
49 predependsgawk "awk | gawk
| aawk
"
51 predependsgawk "awk | mawk
"
53 predependsgawk "aawk
| awk"
54 predependsgawk "awk | aawk
"
59 cp $TESTDIR/$(echo "$(basename $0)" | sed 's/test-/status-/') rootdir
/var
/lib
/dpkg
/status
62 " >> rootdir
/var
/lib
/dpkg
/status
63 testequalor2
"Inst coolstuff (1-1 localhost [all])
64 Conf coolstuff (1-1 localhost [all])
65 Inst gawk2 (1:3.1.7.dfsg-5 localhost [i386])
66 Conf gawk2 (1:3.1.7.dfsg-5 localhost [i386])
67 Remv mawk [1.3.3-15]" "Inst coolstuff (1-1 localhost [all])
68 Inst gawk2 (1:3.1.7.dfsg-5 localhost [i386])
69 Conf coolstuff (1-1 localhost [all])
70 Conf gawk2 (1:3.1.7.dfsg-5 localhost [i386])
71 Remv mawk [1.3.3-15]" aptget
install gawk2 mawk
- -sqq -o PreDepends
=$(echo "$1" | sed 's/ //g')
74 predependsgawk2
"gawk2 | mawk"
75 predependsgawk2
"mawk | gawk2"
77 predependsgawk2
"aawk | mawk | gawk2"
78 predependsgawk2
"aawk | gawk2 | mawk"
80 predependsgawk2
"gawk2 | awk"
81 predependsgawk2
"aawk | gawk2 | awk"
83 predependsgawk2
"mawk | awk"
85 predependsgawk2
"awk | gawk2"
86 predependsgawk2
"awk | gawk2 | aawk"
88 predependsgawk2
"awk | mawk"
90 predependsgawk2
"aawk | awk"
91 predependsgawk2
"awk | aawk"
96 # aptget install gawk2 mawk- -s #-o Debug::pkgOrderList=1 #-o Debug::pkgPackageManager=1