Message266

Author rbos
Recipients smart-list-disabled
Date 2006-01-22.21:18:29
Content
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
History
Date User Action Args
2006-01-22 21:18:31rbossetmessageid: <1137964710.44.0.86097362301.issue99@labix.org>
2006-01-22 21:18:31rbossetrecipients: + smart-list-disabled
2006-01-22 21:18:31rboslinkissue99 messages
2006-01-22 21:18:31rboscreate