Ask Your Question
2

Stop updating when installing from terminal

asked 2013-06-23 03:23:48 -0500

Faisal Aslam gravatar image

updated 2014-09-28 11:15:01 -0500

mether gravatar image

Whenever I tried to install any software on my computer from terminal via this command yum install package.rpm It starts updating. It do same when installing any other software from same dialogue box. It download more than 10 MB of file before installation every time. Can I stop fedora updating before installing any software? Is there anything I can do?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-06-23 04:58:55 -0500

FranciscoD_ gravatar image

It downloads meta data which needs to be kept up to date to get you the latest packages. You can do a few things:

Increase your cache timeout:

Read man yum.conf, look for a metadata_expire.

Use the -C command: yum -C install XXX. Read man yum for more information.

Please note that this might give you conflicts etc. at times. When this happens, please use yum clean all and then re-run the yum command.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-06-23 03:23:48 -0500

Seen: 778 times

Last updated: Jun 23 '13