pkgng/pkgng — Issue #119: pkg upgrade acts strangely when degrading packages
Author: toddnni
Created: 2011-12-12 17:48:02+00:00
State: open

When upgrading
# pkg upgrade
The following packages will be upgraded:
Upgrading perl: 5.12.4_2 -> 5.12.4_3
Upgrading glib: 2.28.8_1 -> 2.28.8_2
Upgrading pixman: 0.22.2 -> 0.24.0
Upgrading jasper: 1.900.1_9 -> 1.900.1_10
Upgrading net-snmp: 5.7_4 -> 5.7.1_1
Upgrading postfix: 2.8.5,1 -> 2.8.7,1

the upgrade will require 342 KB more space
19 MB to be downloaded

When degrading
# pkg upgrade
The following packages will be upgraded:
Installing perl: 5.12.4_2
Installing glib: 2.28.8_1
Installing pixman: 0.22.2
Installing jasper: 1.900.1_9
Installing net-snmp: 5.7_4
Installing postfix: 2.8.5,1

the upgrade will require 93 MB more space
19 MB to be downloaded

I don't know what pkg upgrade does: does it replace packages or degrade them properly. Maybe the message is just wrong?.

Tested on 1.0-alpha2.zip