 |
 |
 |
 |
| Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems. |

24th July 2004, 08:03 PM
|
|
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.
|

24th July 2004, 09:09 PM
|
 |
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
Last edited by tchung; 24th July 2004 at 09:13 PM.
|

24th July 2004, 09:15 PM
|
|
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
|

24th July 2004, 09:51 PM
|
|
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...
|

24th July 2004, 09:54 PM
|
|
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.
|

24th July 2004, 10:02 PM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 27

|
|
|
where is the config file for yum located?
|

24th July 2004, 10:03 PM
|
 |
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
|

24th July 2004, 10:13 PM
|
|
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
|

24th July 2004, 11:04 PM
|
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
Up2Date Error
|
BBCore |
Using Fedora |
15 |
28th June 2005 01:42 PM |
Current GMT-time: 11:06 (Thursday, 23-05-2013)
|
|
 |
 |
 |
 |
|
|