You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pkg install, which can add packages to a system, or change the installed version to a specific (perhaps older!) version or even a version from a specific other publisher
pkg uninstall, which removes packages from the system
Sometimes, when trying to move between production and development bits, it seems that it can be impossible to get from the current state to an intended target state because these two distinct operations may require the transition through an illegal state to get to the legal target state. For example:
a new package (say, newthing) was added to a development version of illumos-gate, which is depended upon by SUNWcs, and version-locked through osnet-incorporation
we want to go back to regular illumos packages, so we use a fully-qualified FMRI for osnet-incorporation
there is no acceptable version of newthing that can be installed, now, because it only exists in the version of the OS bits that we already have
What we would like to be able to do is something like:
This would attempt, as a single operation, to change the osnet-incorporation version (which would also end up changing the version of most OS packages like SUNWcs) and concurrently remove newthing from the image. The target state should then be legal, and there should be no need to move through an invalid intermediate state to get there.
The text was updated successfully, but these errors were encountered:
bloody% pkg list -a pciutils pcitool
NAME (PUBLISHER) VERSION IFO
system/management/pcitool 0.5.11-151043.0 ---
system/pciutils 3.8.0-151043.0 im-
bloody% pfexec pkg install --reject=system/pciutils pcitool
Packages to remove: 1
Packages to install: 1
bloody% pkg list -a pciutils pcitool
NAME (PUBLISHER) VERSION IFO
system/management/pcitool 0.5.11-151043.0 im-
system/pciutils 3.8.0-151043.0 ---
It would still be nice to have a more user friendly interface to this.
At present, we have two distinct operations:
pkg install
, which can add packages to a system, or change the installed version to a specific (perhaps older!) version or even a version from a specific other publisherpkg uninstall
, which removes packages from the systemSometimes, when trying to move between production and development bits, it seems that it can be impossible to get from the current state to an intended target state because these two distinct operations may require the transition through an illegal state to get to the legal target state. For example:
newthing
) was added to a development version of illumos-gate, which is depended upon bySUNWcs
, and version-locked throughosnet-incorporation
osnet-incorporation
newthing
that can be installed, now, because it only exists in the version of the OS bits that we already haveWhat we would like to be able to do is something like:
This would attempt, as a single operation, to change the
osnet-incorporation
version (which would also end up changing the version of most OS packages likeSUNWcs
) and concurrently removenewthing
from the image. The target state should then be legal, and there should be no need to move through an invalid intermediate state to get there.The text was updated successfully, but these errors were encountered: