up2date and apt

Panu Matilainen pmatilai at welho.com
Fri Oct 17 15:36:25 UTC 2003


On Fri, 2003-10-17 at 09:46, Dennis Gilmore wrote:
> Hi all,
> 
> anyone been suucesful withusing apt and up2date?  every time i try to use it i 
> get all sorts of errors.
> 
> from a CL  i get this it gets the package lists ok  from most apt repositories  
> but not rpm.livna.org
> 
> Fetching package list for channel: rpm.livna.org-i386-stable...
> 
> Fetching http://rpm.livna.org//fedora/0.95/i386/base/pkglist.stable.bz2...
> gh1
> gh2
> There was some sort of I/O error: HTTP Error 404: Not Found
> 
> removing  that one source i get this far
> 
> Fetching Obsoletes list for channel: arjan-2.6-kernel-i386-kernel...
> 
> Fetching obsoletes list for http://people.redhat.com/~arjanv/2.5/...
> Traceback (most recent call last):
>   File "/usr/sbin/up2date", line 1183, in ?
>     sys.exit(main() or 0)
>   File "/usr/sbin/up2date", line 761, in main
>     fullUpdate, dryRun=options.dry_run))
>   File "/usr/sbin/up2date", line 1046, in batchRun
>     batch.run()
>   File "up2dateBatch.py", line 58, in run
>   File "up2dateBatch.py", line 96, in __findPackagesToUpdate
>   File "packageList.py", line 123, in run
>   File "rhnPackageInfo.py", line 404, in obsoletesList
>   File "rpcServer.py", line 109, in doCall
>   File "repoDirector.py", line 27, in getObsoletes
>   File "rpmSource.py", line 249, in getObsoletes
>   File "/usr/share/rhn/up2date_client/repoBackends/aptRepo.py", line 160, in 
> getObsoletes
>     hdrList = rpm.readHeaderListFromFile(fileHdrList)
> rpm.error: (2, 'No such file or directory')
> apt-get and synaptic work with all repositories  fine.  but i really like the 
> way up2date handles kernel updates.

FWIW if you're using apt from fedora.us then just change Upgrade-Kernel
to "true" in /etc/apt/apt.conf and you'll get kernel updated
automatically by apt similarly to up2date.

	- Panu -





More information about the fedora-test-list mailing list