Re[2]: Yum notification
"Randy" <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
On Centos 4, yum 2.4-3.3, even without debug it would report missing files - see arrow below.
Yum 3.0.5-1 on Centos 5, like your report, won't alert you to missing files, which may be simple mis-spelling, eg http instead of httpd.
I would love to get that behaviour back.
# yum install nope mc httpd httpd-suexec
Setting up Install Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Finished
Parsing package install arguments
No Match for argument: nope <=============
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package httpd-suexec.i386 0:2.0.52-32.3.ent.centos4 set to be updated
---> Package httpd.i386 0:2.0.52-32.3.ent.centos4 set to be updated
--> Running transaction check
*********** REPLY SEPARATOR ***********
On 16/07/2007 at 12:47 AM David Timms wrote:
>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.
>_______________________________________________
>Yum mailing list
>[email protected]
>https://lists.dulug.duke.edu/mailman/listinfo/yum