testsuccessequal 'Reading package lists...
Building dependency tree...
Reading state information...
-b is already the newest version.
+b is already the newest version (1.0).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.' aptget install b --only-upgrade
testmarkedauto 'b'
testsuccessequal 'Reading package lists...
Building dependency tree...
Reading state information...
-b is already the newest version.
+b is already the newest version (1.0).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.' aptget install b -d
testmarkedauto 'b'
testsuccessequal 'Reading package lists...
Building dependency tree...
Reading state information...
-b is already the newest version.
+b is already the newest version (1.0).
b set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.' aptget install b
testmarkedauto