[Yum] Yum notification

David Timms dtimms at iinet.net.au
Sun Jul 15 14:47:56 UTC 2007


Randy wrote:
> On 9/07/2007 at 1:56 PM Randy wrote:
>> Yum used to report when it couldn't find a package, or if it was already
>> installed.
>>
>> I have played with the Tolerant, Errorlevel and Debuglevel settings to no
>> avail.
>>
>> Is there a way to get the old behaviour back?
>>
>> I get frustrated when I try to install multiple packages, then have to go
>> and manually check to see if each one was actually installed, as Yum no
>> longer advises me.
 > Anybody got any suggestions?
 >
 > Yum 3.0.5-1 on Centos 5

Doesn't it give an output like:
# yum -d 4 install non-existent samba-client rar unrar
Loading "downloadonly" plugin
Loading "installonlyn" plugin
Loading "skip-broken" plugin
Running "config" handler for "downloadonly" plugin
Running "config" handler for "installonlyn" plugin
Running "config" handler for "skip-broken" plugin
Yum Version: 3.2.1
COMMAND: yum -d 4 install non-existent samba-client rar unrar
Installroot: /
Ext Commands:

    non-existent
    samba-client
    rar
    unrar
Setting up Install Process
Parsing package install arguments
Setting up Package Sacks
Running "postreposetup" handler for "downloadonly" plugin
Checking for virtual provide or file-provide for non-existent
Reading Local RPMDB
Searching pkgSack for dep: non-existent
No other rar installed, adding to list for potential install
No other unrar installed, adding to list for potential install
reduced installs :
    unrar.i386 0:3.7.4-1.fc7
Building updates object
    rar.i386 0:3.7.0-0.1.beta1.fc6
Resolving Dependencies
1184510350.53
Running "preresolve" handler for "skip-broken" plugin
--> Running transaction check
---> Package rar.i386 0:3.7.0-0.1.beta1.fc6 set to be updated
---> Package unrar.i386 0:3.7.4-1.fc7 set to be updated
Running "postresolve" handler for "installonlyn" plugin

Dependencies Resolved
1184510350.63

=============================================================================
  Package                 Arch       Version          Repository 
Size
=============================================================================
Installing:
  rar                     i386       3.7.0-0.1.beta1.fc6  freshrpms 
     258 k
  unrar                   i386       3.7.4-1.fc7      freshrpms 
101 k

Transaction Summary
=============================================================================
Install      2 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 359 k
Is this ok [y/N]: y
Downloading Packages:
using local copy of rar - 3.7.0-0.1.beta1.fc6.i386
using local copy of unrar - 3.7.4-1.fc7.i386
Running "postdownload" handler for "downloadonly" plugin
Running Transaction Test
Adding Package rar - 3.7.0-0.1.beta1.fc6.i386 in mode u
Adding Package unrar - 3.7.4-1.fc7.i386 in mode u
Finished Transaction Test
Transaction Test Succeeded
Adding Package rar - 3.7.0-0.1.beta1.fc6.i386 in mode u
Adding Package unrar - 3.7.4-1.fc7.i386 in mode u
Running Transaction
   Installing: unrar                        ######################### [1/2]
   Installing: rar                          ######################### [2/2]

Installed: rar.i386 0:3.7.0-0.1.beta1.fc6 unrar.i386 0:3.7.4-1.fc7
Complete!

Even without the debug, it still {on f7} tells me that it is installing 
2 packages, and details that process.
samba-client was already installed, so it didn't need to do anything.
non-existent didn't exist so it couldn't do anything.

In what version of yum was the missing or already installed situation 
handled differently ?

DaveT.



More information about the Yum mailing list