YUM (refresh-packagekit ?) possible problem
Patrick O'Callaghan
pocallaghan at gmail.com
Fri Feb 22 01:18:07 UTC 2013
On Thu, 2013-02-21 at 19:26 -0500, Bill Davidsen wrote:
> Quicksort wrote:
> >
> > Platform: *Fedora 17 x64*
> >
> >
> > Hello everybody,
> >
> > Usually, updates frequency is high. But for about one week, none.
> >
> > How can I check my installed YUM (refresh-packagekit ?) still
> > correctly does its work ? And what should I do if it does not ?
> >
> I have cron run "yum -y --downloadonly upgrade" daily, and I have the option to
> keep packages set in yum.conf. At a civilized hour I check the mail and see
> what's to be updated, and apply some or all of the packages.
>
> To check that things are working, just "yum check-update" can be run manually,
> it typically will download some metadata and present a list of what needs
> update, if anything. It's relatively fast, and will give you that "warm fuzzy
> feeling" that everything is ok, or tell you for certain that it's not.
>
> --
> Bill Davidsen <davidsen at tmr.com>
> "We have more to fear from the bungling of the incompetent than from
> the machinations of the wicked." - from Slashdot
I was about to comment that one could also do "yum -assumeno update",
until I tried it. Currently, "yum check-update" is giving an error:
$ yum check-update
Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit, security
google/primary | 1.4 kB 00:00:00
http://dl.google.com/linux/rpm/stable/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from google: [Errno 256] No more mirrors to try.
http://dl.google.com/linux/rpm/stable/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
whereas "yum -assumeno update" gives me a list of packages to update,
and no error.
This violates the Principle of Least Astonishment, or is it a bug?
poc
More information about the users
mailing list