[Yum] Empty Repositories

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

 



Howdy Ho,
I reckon this is a situation that you hadn't thought of.  What if you have a 
repository, that is temporarily empty, or empty for one reason or another.  It 
seems like if you have an empty header.info file, things seem to fail 
'unnicely'  You get a

IOError: [Errno ftp error] 550 Failed to change directory.
URL: 
ftp://yort.fnal.gov/linux/73rolling/i386/Fermi/workgroups/Farms/RPMS/headers/header.info

which is the same error that you get when there isn't a repository at all. 
Granted, an empty repository is almost the same as no repository, but not quite.
Would it be possible, if there is an empty header.info file for it to say

-d 2
   No Packages Found In Repository

-d 1
  <nothing>
-d 0
  <nothing>

Thanks
Troy
-- 
__________________________________________________
Troy Dawson  dawson@xxxxxxxx  (630)840-6468
Fermilab  ComputingDivision/OSS  CSI Group
__________________________________________________



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux