Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

is there a commandline argument to prevent yum from looking for and downloading updates before installing a package.

the update is taking eternity to happen. I just wish to simply install the already downloaded package

[bharat@Abydos ~]$ sudo yum install Downloads/ipython-0.12-3.fc17.noarch.rpm
Loaded plugins: langpacks, presto, refresh-packagekit
Examining Downloads/ipython-0.12-3.fc17.noarch.rpm: ipython-0.12-3.fc17.noarch
Marking Downloads/ipython-0.12-3.fc17.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package ipython.noarch 0:0.12-3.fc17 will be installed
--> Processing Dependency: pexpect for package: ipython-0.12-3.fc17.noarch
http://jnovy.fedorapeople.org/texlive/2012/packages.fc17/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://jnovy.fedorapeople.org/texlive/2012/packages.fc17/repodata/repomd.xml
Trying other mirror.
updates/primary_db                                        0% [===========                                    ]  505 B/s | 1.9 MB    206:04 ETA 

how to skip updates/primary_db ?? Also, I tried --exclude texlive but it doesnt suppress update searching.

BTW: there is no problem with my internet connection. Other things are downloading fine

share|improve this question

migrated from stackoverflow.com Mar 26 '13 at 2:44

This question came from our site for professional and enthusiast programmers.

use --disablerepo? But the problem isn't that yum is "looking for updates", it's that your ipython rpm says it depends on pexpect and yum has to install that package first. rpm -Uvh Downloads/... is the way to just install a single package, but that would fail if dependencies are not already satisfied (which is what yum is trying to fix). –  Ian Roberts Mar 18 '13 at 15:36
@IanRoberts: Thanks.. any way to suppress the standard updates ?? –  bharat_iyengar Mar 18 '13 at 15:38
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.