diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-09-28 14:50:38 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-09-28 14:50:38 +0200 |
commit | 24fd9c0645b34ebb433588582d4e593cfcc5427a (patch) | |
tree | e91550ddf8b6791a8ea98fba57874f2e0d5a11b4 /test/integration/test-bug-686346-package-missing-architecture | |
parent | 6fdb6892cbc333b6be5ff6a3cc55879a17f78430 (diff) | |
parent | 173c98da4cfa28ccde70c4d503fcdf6230b9085f (diff) |
merged from lp:~donkult/apt/sid
Diffstat (limited to 'test/integration/test-bug-686346-package-missing-architecture')
-rwxr-xr-x | test/integration/test-bug-686346-package-missing-architecture | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/integration/test-bug-686346-package-missing-architecture b/test/integration/test-bug-686346-package-missing-architecture index b0e0aa3c4..b2c9ec9ee 100755 --- a/test/integration/test-bug-686346-package-missing-architecture +++ b/test/integration/test-bug-686346-package-missing-architecture @@ -85,3 +85,25 @@ The following packages have unmet dependencies: pkgg : Conflicts: pkgb but 2 is installed Conflicts: pkgb:none but 1 is installed E: Unmet dependencies. Try using -f." aptget check + +# check that dependencies are generated for none-packages +rm rootdir/var/lib/dpkg/status +insertinstalledpackage 'pkgx' 'none' '1' +insertinstalledpackage 'pkgy' 'none' '1' 'Depends: pkgz, pkgx (>= 1)' +insertinstalledpackage 'pkgz' 'none' '1' +testequal 'Reading package lists... +Building dependency tree... +Reading state information... +The following packages will be REMOVED: + pkgx:none* pkgy:none* +0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. +Purg pkgy:none [1] +Purg pkgx:none [1]' aptget purge pkgx -s +testequal 'Reading package lists... +Building dependency tree... +Reading state information... +The following packages will be REMOVED: + pkgy:none* pkgz:none* +0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. +Purg pkgy:none [1] +Purg pkgz:none [1]' aptget purge pkgz -s |