Centos 7.3 > System Tools > Software Update V Yum List Update

General support questions
Post Reply
slave
Posts: 16
Joined: 2015/09/04 01:20:25

Centos 7.3 > System Tools > Software Update V Yum List Update

Post by slave » 2017/05/24 22:46:04

Dear Community,

when I run the above tool on my current CENTOS installation I get 'All Packages are up to date'.

If I run Yum list update - I receive a significant list of updates for existing packages.

Appologies, I am new to CENTOS and am learning the basics

Slave

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Centos 7.3 > System Tools > Software Update V Yum List Update

Post by aks » 2017/05/25 18:27:25

So what happens when you do "yum list updates" at the command line, as root?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Centos 7.3 > System Tools > Software Update V Yum List Update

Post by TrevorH » 2017/05/25 19:38:48

Or better, run yum update and put the updates on.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

CaViCcHi
Posts: 68
Joined: 2012/04/18 17:03:15
Contact:

Re: Centos 7.3 > System Tools > Software Update V Yum List Update

Post by CaViCcHi » 2017/05/25 19:58:56

yum allows you to do a bunch of stuff

yum install X-* (installs the X-* packages)
yum update X-* (updates the X-* packages, this will NOT install new ones given, unless there's new dependencies)
yum list X-* (lists repos & packages)
yum search X-* (Searches for repo packages)
yum history (for your installation history)

these are the main ones, but there's many more (you can use wildcards *)

take a look at "man yum" under "command" you see a list of them and/or http://yum.baseurl.org/wiki/YumCommands

a suggestion I can give you since you're just starting is to use yum for your packages as opposed to working directly with "rpm"

so if for example you have an rpm on disk you want to install it would be easier to do "yum install thisfile.rpm" because it'll try and fetch the dependencies (if there's any) whereas rpm would just error out and let you know what dependencies aren't met

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Centos 7.3 > System Tools > Software Update V Yum List Update

Post by TrevorH » 2017/05/25 20:47:10

Actually your examples are all flawed as bash will helpfully expand all those package names with *'s in them to match whatever happens to be in the current directory. So for yum install X-*, if there are files in the current directory that start with X- then that would be expanded into `yum install X-this X-that X-theother` and fail to install anything as no such packages exist. To do what you intended you need to use `yum install x-\*`
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

CaViCcHi
Posts: 68
Joined: 2012/04/18 17:03:15
Contact:

Re: Centos 7.3 > System Tools > Software Update V Yum List Update

Post by CaViCcHi » 2017/05/26 00:02:26

TrevorH wrote:as bash will helpfully expand all those package names with *
tru dat, I'm too used to having clean environments

Post Reply