]>
git.saurik.com Git - apt.git/blob - test/integration/test-parse-all-archs-into-cache
   4 TESTDIR
=$(readlink -f $(dirname $0)) 
   7 configarchitecture 
'i386' 
   9 insertpackage 
'unstable' 'bar' 'i386' '1' 'Depends: foo' 
  10 insertpackage 
'unstable' 'foo' 'i386' '1' 'Multi-Arch: foreign 
  12 insertpackage 
'unstable' 'libfoo1' 'i386' '1' 'Multi-Arch: same' 
  13 insertpackage 
'experimental' 'foo' 'i386' '2' 'Multi-Arch: foreign 
  14 Depends: libfoo1 (>= 2)' 
  15 insertpackage 
'experimental' 'libfoo1' 'i386' '2' 'Multi-Arch: same' 
  17 # note: the system has amd64 not configured! 
  18 insertinstalledpackage 
'foo' 'amd64' '1' 'Multi-Arch: foreign 
  23 testfailureequal 
"Reading package lists... 
  24 Building dependency tree... 
  25 You might want to run 'apt-get -f install' to correct these. 
  26 The following packages have unmet dependencies: 
  27  foo:amd64 : Depends: libfoo1:amd64 but it is not installable 
  28 E: Unmet dependencies. Try using -f." aptget check 
-s 
  30 insertinstalledpackage 
'libfoo1' 'amd64' '1' 'Multi-Arch: same' 
  32 testsuccessequal 
'Reading package lists... 
  33 Building dependency tree...' aptget check 
-s 
  35 testsuccessequal 
'Reading package lists... 
  36 Building dependency tree... 
  37 The following additional packages will be installed: 
  39 The following packages will be REMOVED: 
  41 The following NEW packages will be installed: 
  43 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 
  45 Inst libfoo1 (1 unstable [i386]) 
  46 Inst foo (1 unstable [i386]) 
  47 Conf libfoo1 (1 unstable [i386]) 
  48 Conf foo (1 unstable [i386])' aptget 
install foo 
-s 
  50 testsuccessequal 
"Reading package lists... 
  51 Building dependency tree... 
  52 Selected version '2' (experimental [i386]) for 'foo' 
  53 Selected version '2' (experimental [i386]) for 'libfoo1' because of 'foo' 
  54 The following additional packages will be installed: 
  56 The following packages will be REMOVED: 
  57   foo:amd64 libfoo1:amd64 
  58 The following NEW packages will be installed: 
  60 0 upgraded, 2 newly installed, 2 to remove and 0 not upgraded. 
  62 Remv libfoo1:amd64 [1] 
  63 Inst libfoo1 (2 experimental [i386]) 
  64 Inst foo (2 experimental [i386]) 
  65 Conf libfoo1 (2 experimental [i386]) 
  66 Conf foo (2 experimental [i386])" aptget 
install foo
/experimental 
-s 
  68 testsuccessequal 
'Reading package lists... 
  69 Building dependency tree... 
  70 The following additional packages will be installed: 
  72 The following packages will be REMOVED: 
  74 The following NEW packages will be installed: 
  76 0 upgraded, 3 newly installed, 1 to remove and 0 not upgraded. 
  78 Inst libfoo1 (1 unstable [i386]) 
  79 Inst foo (1 unstable [i386]) 
  80 Inst bar (1 unstable [i386]) 
  81 Conf libfoo1 (1 unstable [i386]) 
  82 Conf foo (1 unstable [i386]) 
  83 Conf bar (1 unstable [i386])' aptget 
install bar 
-s 
  85 configarchitecture 
'i386' 'amd64' 
  87 testsuccessequal 
'Reading package lists... 
  88 Building dependency tree... 
  89 The following NEW packages will be installed: 
  91 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 
  92 Inst bar (1 unstable [i386]) 
  93 Conf bar (1 unstable [i386])' aptget 
install bar 
-s