Example up2date `sources'
Harry Putnam
reader at newsguy.com
Sun May 9 14:34:41 UTC 2004
Gerry Tool <gstool at earthlink.net> writes:
[...]
>>
> I discovered that there are still updates to be made to 1.92, even
> though the most recent version of up2date changes the
> /etc/sysconfig/rhn/sources file to behave as though FC2 is installed.
> I added the following line to my sources file and found 40 updates in
> my case by unchecking the other sources in the up2date window.
>
> yum updates-testing
> ftp://mirror.hiwaay.net/redhat/fedora/linux/core/development
>
> Needs to all be on one line in the sources file.
Apparently your talking about a gui frontend to up2date above. I've
never used it and don't usually install it. I'm guessing the
unchecking thing your talking about can be handled by commenting out
all but the hiwaay setting above.
Aaack... I get a big glob of what looks like python errors here,
shown below commentary.
Backing up a version or two to: up2date-4.3.11-2.1.1.i386.rpm
Seems to solve the problem for me.. I'm now getting reasonable output
from up2date commands.
--
Error message from latest up2date:
exploded!
Traceback (most recent call last):
File "/usr/sbin/up2date", line 1271, in ?
sys.exit(main() or 0)
File "/usr/sbin/up2date", line 799, in main
fullUpdate, dryRun=options.dry_run))
File "/usr/sbin/up2date", line 1147, in batchRun
batch.run()
File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 62, in run
self.__findPackagesToUpdate()
File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 97, in __findPackagesToUpdate
plist.addGlobs(self.listOfGlobs)
File "/usr/share/rhn/up2date_client/packageList.py", line 157, in addGlobs
availList = rhnPackageInfo.getAvailablePackageList()
File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 219, in getAvailablePackageList
package_list = availablePackageList(
File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 153, in availablePackageList
progressCallback = progressCallback)
File "/usr/share/rhn/up2date_client/rpcServer.py", line 112, in doCall
ret = apply(method, args, kwargs)
File "/usr/share/rhn/up2date_client/repoDirector.py", line 20, in listPackages
return self.handlers[channel['type']].listPackages(channel, msgCallback, progressCallback)
File "/usr/share/rhn/up2date_client/rpmSource.py", line 226, in listPackages
msgCallback, progressCallback)
File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line 266, in listPackages
hdr = rd.getHeader([name,ver,rel,epoch,arch, "0",channel['label']])
File "/usr/share/rhn/up2date_client/repoDirector.py", line 31, in getHeader
return self.handlers[channel['type']].getHeader(pkg, msgCallback, progressCallback)
File "/usr/share/rhn/up2date_client/rpmSource.py", line 210, in getHeader
header = source.getHeader(pkg, progressCallback = progressCallback)
File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line 101, in getHeader
rpmSourceUtils.saveHeader(hdr)
File "/usr/share/rhn/up2date_client/rpmSourceUtils.py", line 24, in saveHeader
fileName = "%s/%s.%s.hdr" % (cfg["storageDir"],
TypeError: unsubscriptable object
More information about the fedora-test-list
mailing list