Bug 190288

Summary: rfe: yum needs "cron-apt" equivalent
Product: [Fedora] Fedora Reporter: Need Real Name <lsof>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: katzj
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: fc6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-04 20:16:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2006-04-30 13:00:23 UTC
It would be nice if there was a yum equivalent of cron-apt.

What would it do? It would download updates if updates were available, and
notify the admin.

yum can already check if updates are available, but it doesn't download them.
It seems useful behaviour, hence the rfe.

Why not use pup? Because I might admin the box from a shell; I don't want
everyone checking for updates.

Comment 1 Seth Vidal 2006-04-30 13:09:46 UTC
1. look into the download-only plugin
2. look at what the nightly cron job does, specifically

There's no need to add this - the functionality is already available if a user
wanted it.


Comment 2 Need Real Name 2006-04-30 16:48:05 UTC
> the functionality is already available if a user
> wanted it.

But it's useless unless a user can find it. Where is this plugin?

It's not mentioned in the online documentation:
 http://fedora.redhat.com/docs/yum/

It's not mentioned in the documentation for yum-utils
 /usr/share/doc/yum-utils-0.5/plugins/
Strangely, there seems to be not much documentation there, but lots of Python code.

$ yum list *yum*
 seems to show some plugins, but nothing called download-only.

$ locate download-only
 shows no matches

$ man -k download-only
 shows no matches

$ ls /usr/lib/yum-plugins
 shows nothing useful

$ ls /etc/cron.d/
 shows nothing yum related

$ yum provides *download-only*
 shows nothing useful

Comment 3 Seth Vidal 2006-04-30 17:22:34 UTC
1. it's in the yum plugins documentation - look there
2. I agree - it should be in the yum-utils sub-package
3. If you'd like to do this, feel free. I'd be glad to add this as an item to
yum-utils

4. it's just not a priority for me but I'd be glad to take the patch.



Comment 4 Need Real Name 2006-08-04 19:39:46 UTC
I think you've done this..