blob: 040f0b3fd30ff1dedce1448a92f182179dba0b7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
#!/bin/sh
set -e
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
insertinstalledpackage 'pkg0' 'all' '1'
insertinstalledpackage 'pkg1' 'all' '1'
insertinstalledpackage 'depends' 'all' '1' 'Depends: pkg0 (= 1), pkg1 (= 1)'
insertpackage 'unstable' 'pkg0' 'all' '2'
insertpackage 'unstable' 'pkg1' 'all' '2'
insertpackage 'unstable' 'depends' 'all' '2' 'Depends: pkg0 (= 2), pkg1 (= 2)'
configarchitecture 'arm64'
setupaptarchive
noprogress() {
"$@" | sed /^Progress/d
}
testsuccessequal "Reading package lists...
Building dependency tree...
Upgrading: depends:arm64 < 1 | 2 @ii uH Ib > due to depends:arm64 Depends on pkg0:arm64 < 1 -> 2 @ii puU > (= 1)
MarkInstall pkg0:arm64 < 1 -> 2 @ii puU > FU=1
MarkInstall depends:arm64 < 1 -> 2 @ii uU Ib > FU=0
Installing pkg1:arm64 as Depends of depends:arm64
MarkInstall pkg1:arm64 < 1 -> 2 @ii uU > FU=0
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following additional packages will be installed:
depends pkg1
The following packages will be upgraded:
depends pkg0 pkg1
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Inst depends [1] (2 unstable [all]) []
Inst pkg0 [1] (2 unstable [all]) []
Inst pkg1 [1] (2 unstable [all])
Conf depends (2 unstable [all])
Conf pkg0 (2 unstable [all])
Conf pkg1 (2 unstable [all])" aptget install pkg0 -o debug::pkgdepcache::marker=1 -o Debug::pkgProblemResolver=1 -o Debug::pkgDepCache::AutoInstall=1 -s
testsuccessequal "Percentage: 0
Message: Start up solver…
Percentage: 1
Message: Read request…
Percentage: 5
Message: Read scenario…
Percentage: 50
Message: Apply request on scenario…
Percentage: 60
Message: Call problemresolver on current scenario…
Percentage: 95
Message: Write solution…
Install: 66284
Package: udev:arm64
Version: 249.11-0ubuntu3.4
Install: 66185
Package: systemd-timesyncd:arm64
Version: 249.11-0ubuntu3.4
Install: 65031
Package: libpam-systemd:arm64
Version: 249.11-0ubuntu3.4
Install: 65263
Package: libsystemd0:arm64
Version: 249.11-0ubuntu3.4
Install: 65023
Package: libnss-systemd:arm64
Version: 249.11-0ubuntu3.4
Install: 65264
Package: libudev-dev:arm64
Version: 249.11-0ubuntu3.4
Install: 66181
Package: systemd:arm64
Version: 249.11-0ubuntu3.4
Install: 65265
Package: libudev1:arm64
Version: 249.11-0ubuntu3.4
Install: 66184
Package: systemd-sysv:arm64
Version: 249.11-0ubuntu3.4
Percentage: 100
Message: Done
" noprogress runapt "${APTHELPERBINDIR}/solvers/apt" < $TESTDIR/edsp-ubuntu-bug-1974196
|