Re: dnf update vs Software Udpates

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

 



Gordon Messmer wrote:
>Use "dnf repolist -v" to find out, in the future.  It will print the 
>date from the metadata you have, and the URL of the mirror from which it 
>was retrieved.

OK, today 'dnf repolist -v' tells me:

fedora: using metadata from Wed Jul 22 08:38:59 2015.
rmy: using metadata from Wed Jul 22 08:38:59 2015.
updates: using metadata from Wed Jul 22 08:54:38 2015.
Last metadata expiration check performed 21:22:45 ago on Wed Jul 22 08:54:38 2015.

Repo-id      : fedora
Repo-updated : Sat May 23 11:23:20 2015
Repo-expire  : 172,800 second(s) (last: Wed Jul 22 08:38:59 2015)

Repo-id      : rmy
Repo-updated : Sat Jun 20 19:40:40 2015
Repo-expire  : 172,800 second(s) (last: Wed Jul 22 08:38:59 2015)

Repo-id      : updates
Repo-updated : Tue Jul 21 06:47:56 2015
Repo-expire  : 21,600 second(s) (last: Wed Jul 22 08:54:38 2015)

The fedora and rmy repos both have the default metadata_expire of 48
hours; updates has 6 hours, as configured in fedora-updates.repo.

fedora and rmy are still within their metadata_expire timeout; updates
has expired.

Running the same commands as yesterday:

[root@vulcan rmyf22]# dnf check-update
Last metadata expiration check performed 0:00:00 ago on Thu Jul 23 06:19:10 2015.
[root@vulcan rmyf22]# dnf --refresh check-update
Fedora 22 - x86_64 - RMY repository              78 kB/s | 6.0 kB     00:00    
Last metadata expiration check performed 0:00:00 ago on Thu Jul 23 06:20:06 2015.
[root@vulcan rmyf22]# rm -rf /var/cache/dnf/x86_64/22/updates*
[root@vulcan rmyf22]# dnf check-update
Fedora 22 - x86_64 - Updates                    946 kB/s |  12 MB     00:13    
Last metadata expiration check performed 0:00:11 ago on Thu Jul 23 06:23:32 2015.
[root@vulcan rmyf22]#

What immediately seems odd is that 'dnf --refresh check-update' pulled
in a new version of the rmy metadata (which hasn't expired) but not
the updates metadata (which has).

Forcibly removing the updates metadata causes a download but I get the
same version as yesterday (the one from Jul 21 06:47:56 2015) so there
are no new updates.

Actually, every time I run 'dnf --refresh check-update' the metadata for
the rmy repo is downloaded.  Maybe that's because the rmy repo has an
'ftp://' URL so dnf can't use an 'if-modified-since' request to see if
it's changed.  I wonder if that's confusing 'dnf --refresh'?

Ron
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux