]>
git.saurik.com Git - apt.git/blob - test/integration/test-bug-723586-any-stripped-in-single-arch
   4 TESTDIR
=$(readlink -f $(dirname $0)) 
   7 configarchitecture 
'amd64' 
   9 insertinstalledpackage 
'python3' 'all' '3.2.3-6' 
  11 insertpackage 
'unstable' 'python3' 'amd64' '3.3.2-16' 'Multi-Arch: allowed' 
  12 insertpackage 
'stable' 'python3-gnupg' 'all' '0.3.5-2' 'Depends: python3:any (>= 3.2.3-3~)' 
  14 insertpackage 
'unstable' 'python-mips' 'amd64' '3' 'Depends: python3:mips' 
  18 INSTALLLOG
='Reading package lists... 
  19 Building dependency tree... 
  20 The following additional packages will be installed: 
  22 The following NEW packages will be installed: 
  24 The following packages will be upgraded: 
  26 1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 
  27 Inst python3 [3.2.3-6] (3.3.2-16 unstable [amd64]) 
  28 Inst python3-gnupg (0.3.5-2 stable [all]) 
  29 Conf python3 (3.3.2-16 unstable [amd64]) 
  30 Conf python3-gnupg (0.3.5-2 stable [all])' 
  32 FAILLOG
='Reading package lists... 
  33 Building dependency tree... 
  34 Some packages could not be installed. This may mean that you have 
  35 requested an impossible situation or if you are using the unstable 
  36 distribution that some required packages have not yet been created 
  37 or been moved out of Incoming. 
  38 The following information may help to resolve the situation: 
  40 The following packages have unmet dependencies: 
  41  python-mips : Depends: python3:mips but it is not installable 
  42 E: Unable to correct problems, you have held broken packages.' 
  44 testsuccessequal 
"$INSTALLLOG" aptget 
install python3
-gnupg -s 
  45 aptcache showpkg python3 
> showpkg.log
 
  46 testfailureequal 
"$FAILLOG" aptget 
install python
-mips -s 
  48 # same test, but this time in a multi-arch environment 
  49 configarchitecture 
'amd64' 'armhf' 
  50 rm rootdir
/var
/cache
/apt
/*.bin
 
  52 testsuccessequal 
"$INSTALLLOG" aptget 
install python3
-gnupg -s 
  53 testsuccessequal  
"$(cat showpkg.log)" aptcache showpkg python3
 
  54 testfailureequal 
"$FAILLOG" aptget 
install python
-mips -s