[issue99] A package name only change list

Richard Bos at Labix Tracker tracker at labix.org
Sun Jan 22 13:18:30 PST 2006


New submission from Richard Bos <radoeka at xs4all.nl>:

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 at i586   
    Upgrades:   
      gramps-2.0.9-0.suse1000.rb0 at i586 (upgraded)   
    Requires:   
      python-gnome-extras-2.11.3-3 at i586 (installed)   
   
Installed packages (8):   
  gtksourceview-1.4.1-2 at i586   
    Required By:   
      python-gnome-extras-2.11.3-3 at i586 (installed)   
   
So this would suffice:   
  
  
linux:~ # smart install --some-new-query-option <package>  
gramps gramps-2.0.9-0.suse1000.rb0 at i586  
python-gnome-extras python-gnome-extras-2.11.3-3 at i586  
gtksourceview gtksourceview-1.4.1-2 at i586  
python-gnome-extras python-gnome-extras-2.11.3-3 at 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

----------
messages: 266
nosy: rbos
priority: wish
project: smart
status: unread
title: A package name only change list

_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue99>
_______________________________________



More information about the Smart mailing list