Fedora Linux Support Community & Resources Center
  #1  
Old 24th July 2004, 08:03 PM
sijp Offline
Registered User
 
Join Date: Jul 2004
Posts: 27
up2date error

Hi I am trying to update my fedora 1 using up2date and it gives me the following error:
Code:
Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/gui.py", line 1361, in onChannelsPageNext
    self.pkgList = self.pList.getPackagesToInstall()
  File "/usr/share/rhn/up2date_client/packageList.py", line 521, in getPackagesToInstall
    result = self.__skipPackages(result)
  File "/usr/share/rhn/up2date_client/packageList.py", line 550, in __skipPackages
    packageList = self.__skipFiles(packageList)
  File "/usr/share/rhn/up2date_client/packageList.py", line 571, in __skipFiles
    ignoreMsgCallback = self.ignoreMsgCallback)
  File "/usr/share/rhn/up2date_client/packageList.py", line 610, in buildHeaderList
    hdr = headerList[pkg]
  File "/usr/share/rhn/up2date_client/headers.py", line 37, in __getitem__
    self.__retrievePackage(item)
  File "/usr/share/rhn/up2date_client/headers.py", line 42, in __retrievePackage    hdr, sourceType = rpcServer.doCall(self.repos.getHeader, item)
  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 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 96, in getHeader
    hdrBuf = fh.read()
  File "/usr/lib/python2.2/gzip.py", line 156, in read
    self._read(readsize)
  File "/usr/lib/python2.2/gzip.py", line 198, in _read
    self._read_gzip_header()
  File "/usr/lib/python2.2/gzip.py", line 110, in _read_gzip_header
    raise IOError, 'Not a gzipped file'
IOError: Not a gzipped file
Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/gui.py", line 1440, in onSkippedPagePrepare
    maxlength = max(map(lambda x: len(x[0][0]), self.skipPkgList)) * 8
ValueError: min() or max() arg is an empty sequence
I have up2date 4.1.21-3 and it happens when It is trying to fetch 'awesfx'.

please tell me what to do.
Reply With Quote
  #2  
Old 24th July 2004, 09:09 PM
tchung Offline
FedoraNEWS.org Admin
 
Join Date: Feb 2004
Location: California, US
Posts: 561
Hello,

Personally, I would use "yum" to update the system.
If you're not familiar with "yum", please read my article at:

http://fedoranews.org/tchung/howto/2...um-intro.shtml

To install awesfx, you should type:

# yum install awesfx

Thomas
__________________
Thomas Chung
http://fedoraproject.org/wiki/ThomasChung

Last edited by tchung; 24th July 2004 at 09:13 PM.
Reply With Quote
  #3  
Old 24th July 2004, 09:15 PM
ilja Offline
Registered User
 
Join Date: Apr 2004
Location: Euregio
Posts: 3,613
Quote:
Originally Posted by tchung
Hello,

To install awesfx, you should type:

# yum install awesfx
And to update it
yum update awesfx
__________________
--
http://twitter.com/ik12
Reply With Quote
  #4  
Old 24th July 2004, 09:51 PM
sijp Offline
Registered User
 
Join Date: Jul 2004
Posts: 27
well I think it is because all the header before the 'awesfx' have been already fetched previously. so how can I make it fetch everything from the begining.

thanks for your replies...
I am trying to update more than one package (actually alot) so I cannot use yum as you suggested nor I can use what was suggested in your article (or maybe I am wrong).

I used :
#yum update
and it downloaded 12 updates and installed them perfectly but the up2date is saying I have 1312 new updates.
the new updates appeared when I changed the mirrors.
so I want to update everything but it even don't get to the part where I can choose what I want to update...
Reply With Quote
  #5  
Old 24th July 2004, 09:54 PM
ilja Offline
Registered User
 
Join Date: Apr 2004
Location: Euregio
Posts: 3,613
synchronise the mirror of the config-files of yum and up2date, so you have the same servers in yum as in up2date and yum will update exactly the same packages as up2date would have. It's not a question of the programm, but of the mirrorlist.
__________________
--
http://twitter.com/ik12
Reply With Quote
  #6  
Old 24th July 2004, 10:02 PM
sijp Offline
Registered User
 
Join Date: Jul 2004
Posts: 27
where is the config file for yum located?
Reply With Quote
  #7  
Old 24th July 2004, 10:03 PM
tchung Offline
FedoraNEWS.org Admin
 
Join Date: Feb 2004
Location: California, US
Posts: 561
Quote:
Originally Posted by sijp
I used :
#yum update
and it downloaded 12 updates and installed them perfectly but the up2date is saying I have 1312 new updates.
the new updates appeared when I changed the mirrors.
so I want to update everything but it even don't get to the part where I can choose what I want to update...
Please check config file for yum which is located at:
/etc/yum.conf

AND
config file for up2date which is located at:
/etc/sysconfig/rhn/sources

They both should point to the same 'stable' repository server.

It seems very suspicious that you need '1312' updates via up2date.

Thomas
__________________
Thomas Chung
http://fedoraproject.org/wiki/ThomasChung
Reply With Quote
  #8  
Old 24th July 2004, 10:13 PM
ilja Offline
Registered User
 
Join Date: Apr 2004
Location: Euregio
Posts: 3,613
Quote:
Originally Posted by sijp
where is the config file for yum located?
as thomas said
/etc/yum.conf
see http://www.fedorafaq.org/#installsoftware
__________________
--
http://twitter.com/ik12
Reply With Quote
  #9  
Old 24th July 2004, 11:04 PM
sijp Offline
Registered User
 
Join Date: Jul 2004
Posts: 27
OK - I changed the mirrors to what they used to be before I changed them. now up2date says that there are'nt any updates - when I open it the same thing happens: it gets stuck when fetching "awesfx".

this are my mirrors:
http://mirrors.kernel.org/fedora/core/1/i386/os/
http://mirrors.kernel.org/fedora/core/updates/1/i386/


I did as you said about yum - but I got dependencies after a very long waiting...

p.s.
before that it was stuck when fetching a different package so I installed it manually so now it is getting stuck in this one.

Last edited by sijp; 24th July 2004 at 11:06 PM.
Reply With Quote
Reply

Tags
error, up2date

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Up2Date Error BBCore Using Fedora 15 28th June 2005 01:42 PM


Current GMT-time: 14:25 (Thursday, 24-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat