]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-613420-new-garbage-dependency
Ensure that no by-hash file for "Release/InRelease is written"
[apt.git] / test / integration / test-bug-613420-new-garbage-dependency
CommitLineData
c8b98973
DK
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture "i386"
8
9insertpackage 'unstable' 'libreoffice' 'all' '1:3.3.1~rc1-2' 'Depends: libreoffice-core'
10insertpackage 'unstable' 'libreoffice-core' 'all' '1:3.3.1~rc1-2' 'Conflicts: openoffice.org-core'
11insertpackage 'unstable' 'libreoffice-officebean' 'all' '1:3.3.1~rc1-2' 'Depends: libreoffice-core'
12insertpackage 'unstable' 'openoffice.org-officebean' 'all' '1:3.3.0-5' 'Depends: libreoffice-officebean'
13
14
15setupaptarchive
16
17touch rootdir/var/lib/apt/extended_states
0440d936 18testsuccess aptmark markauto openoffice.org-officebean
c8b98973
DK
19testmarkedauto openoffice.org-officebean
20
25b86db1 21testfailureequal "Reading package lists...
c8b98973
DK
22Building dependency tree...
23Reading state information...
24The following packages were automatically installed and are no longer required:
fdfdba56 25 libreoffice-officebean openoffice.org-officebean
c8b98973 26Use 'apt-get autoremove' to remove them.
e7ebb414 27The following additional packages will be installed:
c8b98973
DK
28 libreoffice-core libreoffice-officebean openoffice.org-officebean
29The following packages will be REMOVED:
30 openoffice.org-core
31The following NEW packages will be installed:
32 libreoffice libreoffice-core libreoffice-officebean
33The following packages will be upgraded:
34 openoffice.org-officebean
351 upgraded, 3 newly installed, 1 to remove and 0 not upgraded.
36After this operation, 126 MB disk space will be freed.
37E: Trivial Only specified but this is not a trivial operation." aptget install libreoffice --trivial-only
a0c19a21
DK
38testequal "Reading package lists...
39Building dependency tree...
40Reading state information...
412 packages were automatically installed and are no longer required.
42Use 'apt-get autoremove' to remove them.
e7ebb414 43The following additional packages will be installed:
a0c19a21
DK
44 libreoffice-core libreoffice-officebean openoffice.org-officebean
45The following packages will be REMOVED:
46 openoffice.org-core
47The following NEW packages will be installed:
48 libreoffice libreoffice-core libreoffice-officebean
49The following packages will be upgraded:
50 openoffice.org-officebean
511 upgraded, 3 newly installed, 1 to remove and 0 not upgraded.
52After this operation, 126 MB disk space will be freed.
53E: Trivial Only specified but this is not a trivial operation." aptget install libreoffice --trivial-only -o APT::Get::HideAutoRemove=small