Re: Package versions and software to verify if you are current.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2004-11-17 at 12:49 -0500, seth vidal wrote:
> On Wed, 2004-11-17 at 12:46, Bill Thomason wrote:
> > Hi,
> > 
> > We have several systems running Fedora Core.  The systems were set up
> > with the apt-get utility for Red Hat.
> > 
> > I would like to have a process running that notifies me of updated
> > packages at the apt-get repository when they become available to so I
> > can assess whether or not it is necessary for us to install.
> > 
> > I like staying current on packages in case the new version fixes bugs,
> > more efficient, provides better security,...
> > 
> > Does something exist?  Has someone rolled their own?  Or will I have to
> > do this?
> > 
> 
> I think apt-get has an equivalent command to:
>  yum list updates
> or
>  yum check-update

Yup - you can use --check-only option, eg:
[root@chip ~]# apt-get --check-only dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... The following packages will be upgraded
   rhgb (0.14.1-1 => 0.15.1-1.FC3)
1 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
E: There are changes to be made
[root@chip ~]#

It returns a non-zero code if updates are available for script usage.

	- Panu -

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux