weird yum behavior with provides and install

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications weird yum behavior with provides and install
# 1  
Old 10-24-2011
weird yum behavior with provides and install

Why could whatprovides not lookup this info for over 10 minutes, but install could install that package in less than a minute?


Code:
[bob@hi ~]$ yum whatprovides */lsb_release
Loaded plugins: langpacks, presto, refresh-packagekit, versionlock
^Cupdates/group           18% [==           ] 3.1 kB/s | 360 kB     08:28 ETA 
 Current download cancelled, interrupt (ctrl-c) again within two seconds
to exit.

^Cupdates/group           80% [==========   ] 527 kB/s | 1.5 MB     00:00 ETA 

Exiting on user cancel
[bob@hi ~]$ ^C
[bob@hi ~]$ sudo yum install redhat-lsb
[sudo] password for bob: 
Loaded plugins: langpacks, presto, refresh-packagekit, versionlock
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package redhat-lsb.i686 0:4.0-6.fc15 will be installed
--> Processing Dependency: /bin/gettext for package: redhat-lsb-4.0-6.fc15.i686
--> Processing Dependency: /usr/bin/msgfmt for package: redhat-lsb-4.0-6.fc15.i686
--> Processing Dependency: /usr/bin/pax for package: redhat-lsb-4.0-6.fc15.i686
--> Processing Dependency: /usr/bin/patch for package: redhat-lsb-4.0-6.fc15.i686
--> Processing Dependency: /usr/bin/ar for package: redhat-lsb-4.0-6.fc15.i686
--> Processing Dependency: /usr/bin/strip for package: redhat-lsb-4.0-6.fc15.i686
--> Running transaction check
---> Package binutils.i686 0:2.21.51.0.6-6.fc15 will be installed
---> Package gettext.i686 0:0.18.1.1-8.fc15 will be installed
--> Processing Dependency: libgettextlib-0.18.1.so for package: gettext-0.18.1.1-8.fc15.i686
--> Processing Dependency: libgettextsrc-0.18.1.so for package: gettext-0.18.1.1-8.fc15.i686
---> Package patch.i686 0:2.6.1-9.fc15 will be installed
---> Package pax.i686 0:3.4-10.fc12 will be installed
--> Running transaction check
---> Package gettext-libs.i686 0:0.18.1.1-8.fc15 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================
 Package            Arch       Version                  Repository     Size
============================================================================
Installing:
 redhat-lsb         i686       4.0-6.fc15               fedora         25 k
Installing for dependencies:
 binutils           i686       2.21.51.0.6-6.fc15       updates       3.3 M
 gettext            i686       0.18.1.1-8.fc15          updates       1.0 M
 gettext-libs       i686       0.18.1.1-8.fc15          updates       232 k
 patch              i686       2.6.1-9.fc15             fedora         97 k
 pax                i686       3.4-10.fc12              fedora         67 k

Transaction Summary
============================================================================
Install       6 Package(s)

Total download size: 4.8 M
Installed size: 18 M
Is this ok [y/N]: Y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 4.8 M
(1/6): binutils-2.21.51.0.6-6.fc15.i686.rpm          | 3.3 MB     00:01     
(2/6): gettext-0.18.1.1-8.fc15.i686.rpm              | 1.0 MB     00:00     
(3/6): gettext-libs-0.18.1.1-8.fc15.i686.rpm         | 232 kB     00:00     
(4/6): patch-2.6.1-9.fc15.i686.rpm                   |  97 kB     00:00     
(5/6): pax-3.4-10.fc12.i686.rpm                      |  67 kB     00:00     
(6/6): redhat-lsb-4.0-6.fc15.i686.rpm                |  25 kB     00:00     
----------------------------------------------------------------------------
Total                                       1.5 MB/s | 4.8 MB     00:03     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : pax-3.4-10.fc12.i686                                     1/6 
  Installing : gettext-libs-0.18.1.1-8.fc15.i686                        2/6 
  Installing : gettext-0.18.1.1-8.fc15.i686                             3/6 
  Installing : patch-2.6.1-9.fc15.i686                                  4/6 
  Installing : binutils-2.21.51.0.6-6.fc15.i686                         5/6 
  Installing : redhat-lsb-4.0-6.fc15.i686                               6/6 

Installed:
  redhat-lsb.i686 0:4.0-6.fc15                                              

Dependency Installed:
  binutils.i686 0:2.21.51.0.6-6.fc15      gettext.i686 0:0.18.1.1-8.fc15    
  gettext-libs.i686 0:0.18.1.1-8.fc15     patch.i686 0:2.6.1-9.fc15         
  pax.i686 0:3.4-10.fc12                 

Complete!

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Installation of virt-manager while yum update and yum install rhvm does not work

I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal. I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies

2. UNIX for Dummies Questions & Answers

Weird behavior of Vi

Hi there, I am a bit puzzled by a weird behavior of Vi. I very simply would like to add increased numbers in some files. Since I have many thousands entries per file and many files, I would like to macro it in vi. To do this, I enter the first number ("0001") on the first line and then yank... (4 Replies)
Discussion started by: hypsis
4 Replies

3. UNIX for Advanced & Expert Users

Weird TR behavior. Replacing two instance

Can someone please explain what's wrong with the command i use below? tr -c '\11\12\40-\176' ' '< $TEMP_FILE > $TEMP_FILE2 The invalid character/s is replaced with two spaces, the string2 only have 1 space in it. Please help. Sample output: 333243,333244c333243,333244 < ... (1 Reply)
Discussion started by: Jin_
1 Replies

4. UNIX for Dummies Questions & Answers

Weird behavior of backslash, please help!!

Hi I am getting absurd behavior of escape character in echos as followed:oinlcso003{arsadm} #: echo "\as shdd" \as shdd oinlcso003{arsadm} #: echo "Well, isn't that \"special\"?" Well, isn't that "special"? oinlcso003{arsadm} #: echo "Well, isn't that \special\?" Well, isn't that \special\?... (3 Replies)
Discussion started by: nixhead
3 Replies

5. Shell Programming and Scripting

awk print behavior weird

Hi Experts I am facing a weird issue while using print statement in awk. I have a text file with 3 fields shown below: # cat f1 234,abc,1000 235,efg,2000 236,jih,3000 # When I print the third column alone, I dont face any issue as shown below: # awk '{print $3 }' FS=, f1 1000 2000... (5 Replies)
Discussion started by: guruprasadpr
5 Replies

6. UNIX for Dummies Questions & Answers

Weird home key behavior

Hi there, I'm using putty to connect to several servers. On every remote machine, the home key takes me at the beginning of a command line. Exept on one machine where a press on the home key outputs the tilde sign (~). Is there any place where I can override this behavior, I really prefer my... (6 Replies)
Discussion started by: chebarbudo
6 Replies

7. UNIX for Dummies Questions & Answers

Weird Behavior of a Script

ok, there's a script i'm working on written in shell programming. #!/bin/sh this script is written to spit out the contents of certain variables inside of it so the output looks something like this: server01=89 server02=69 server03=89 server04=76 now, when i run this script from the... (4 Replies)
Discussion started by: SkySmart
4 Replies

8. OS X (Apple)

Weird rsync behavior

I use rsync to keep a directory in synchronization betwen a Linux box with the hostname brutal and a Mac running OS X 10.5 (Leopard) with the hostname cooper. When I run the following command on my Linux machine: rsync -avz --delete myuserid@cooper:/Library/WebServer/Documents... (2 Replies)
Discussion started by: scotbuff
2 Replies

9. Shell Programming and Scripting

weird behavior of grep -P

I met a problem in using grep -P. There is a text file, temp.txt, whose content is: dddd abc I ran the command: grep -P "\s*abc" temp.txt The result I expected is: abc But, the actual result is: dddd abc Could anyone tell me what is wrong? Thanks. (2 Replies)
Discussion started by: pankai
2 Replies

10. Solaris

Weird behavior on a Sun Fire V120 running solaris 10.

All, After a power loss I went to power on our sun fire v120 that is running solaris 10 and now it will not boot. I tried power cycling it from the lom and pulling the cord but nothing works. All it does is after a power cycle it will start to boot and then start to spit out a bunch of hex... (2 Replies)
Discussion started by: jsandova
2 Replies
Login or Register to Ask a Question