It would be nice if smart could output a package name only change list.
This comes in handy when for example an upgrade crashes. If the list with
to be upgrade/installed/removed packages would be saved before the (crashed)
upgrade operation, the install could be continued with for example:
# smart install $(cat <saved packages file>)
The output could be similar to the --explain output, but than less verbose:
linux:~ # smart install --explain gramps
Loading cache...
Updating cache... ######################################## [100%]
Computing transaction...
Upgrading packages (1):
gramps-2.0.9-0.suse1000.rb1@i586
Upgrades:
gramps-2.0.9-0.suse1000.rb0@i586 (upgraded)
Requires:
python-gnome-extras-2.11.3-3@i586 (installed)
Installed packages (8):
gtksourceview-1.4.1-2@i586
Required By:
python-gnome-extras-2.11.3-3@i586 (installed)
So this would suffice:
linux:~ # smart install --some-new-query-option <package>
gramps gramps-2.0.9-0.suse1000.rb0@i586
python-gnome-extras python-gnome-extras-2.11.3-3@i586
gtksourceview gtksourceview-1.4.1-2@i586
python-gnome-extras python-gnome-extras-2.11.3-3@i586
More or less similar to:
linux:~ # apt -s install gramps | grep Inst | awk '{print $2}'
gtksourceview
gtkspell
libgtop
nautilus-cd-burner
mjpegtools
gstreamer-plugins-default
gstreamer-plugins-extra
libnvtv
totem
python-gnome-extras
gramps |