update kernel using up2date via ssh

I am trying to figure out how to update a kernel using up2date Redhat 7.2 via SSH. up2date runs perfectly under workstation environment what I mean is there is a graphical interface I can use and update a kernel is pretty easy. I wiped out the harddrive then install Redhat 7.2 as server then executed "up2date" this is what I got (just testing out using my personal machine, haven't tried it with my dedicated server yet):

==================================================

No interactive mode available
Please specify either -l, -u, --nox, or package names as command line arguments.
Usage: up2date [OPTIONS] <packages>
--configure graphically configure Update Agent options
-d, --download download packages only, even if configuration
says to install
--dbpath=<dir> Specify a path where an alternate rpm db is found
-f, --force Force package installation, overriding package
and file skip list
-i, --install install packages, even if configuration says to
download only
--justdb Only add packages to database, do not install to
the filesystem
-l, --list list packages available for retrieval
-h, --help this help screen
-?, --usage Briefly describe the options
-k, --packagedir=STRING colon separated path of directories to look in
for packages
--nosig do not use GPG to check package signatures
--nox do not attempt to use X
-p, --packages update packages associated with this System
Profile on Red Hat Network
--showall List all packages available for download
--solvedeps=<deps> finds, downloads, and installs the packages
needed to solve the list of deps
--tmpdir=<deps> where to store temporary files / RPMs
-u, --update update system with all relevant packages
--version show program version information
-v, --verbose Show additional output
--whatprovides=<deps> shows the packages which solve the comma
separated list of deps

==================================================

I tried executing "up2date -d" or "up2date -i" "up2date -d kernel*" etc... but couldn't get kernel updated. What should be the correct command here? or up2date doesn't work at all under server environment? I know I can install KDE then execute "up2date" but KDE won't execute if CPANEL is installed! Please help!!!

 

 

 

 

Top