Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Problems with up2date-4.3.19 and current-1.5.7 on whitebox 3.0

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

Hide all messages in topic

All messages in topic

Re: Problems with up2date-4.3.19 and current-1.5.7 on whitebox 3.0

Reply

Author theslack
Full name Jack Neely
Date 2004-11-22 17:24:13 PST
Message Up2date caches most everything, its possible something strange could
be happening there. Although, I saw that up2date's caching actually
fixed my bad munging of the XMLRPC parts.

Jack


On Wed, 17 Nov 2004 16:43:10 +1300, Roland Pope <rpope at jadeworld dot com> wrote:
>
>
> ----- Original Message -----
> From: "Roland Pope" <rpope at jadeworld dot com>
> > I applied the following patch, installed the new version restarted httpd
> but
> > it still produced the same error saying "can only concatenate list (not
> > "tuple") to list"
> Actually, after a reboot of the 'current' server and a rebuild of my up2date
> client workstation, this particular problem went away. I would have thought
> that a restart of httpd would have been enough to pick up the new script??
> Anyway, good to knock one problem on the head :)
>
> Roland
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
> For additional commands, e-mail: dev-help at current dot tigris dot org
>
>


--
Jack Neely jjneely at gmail dot com
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org

Re: Problems with up2date-4.3.19 and current-1.5.7 on whitebox 3.0

Reply

Author Roland Pope <rpope at jadeworld dot com>
Full name Roland Pope <rpope at jadeworld dot com>
Date 2004-11-16 19:43:10 PST
Message ----- Original Message -----
From: "Roland Pope" <rpope at jadeworld dot com>
> I applied the following patch, installed the new version restarted httpd
but
> it still produced the same error saying "can only concatenate list (not
> "tuple") to list"
Actually, after a reboot of the 'current' server and a rebuild of my up2date
client workstation, this particular problem went away. I would have thought
that a restart of httpd would have been enough to pick up the new script??
Anyway, good to knock one problem on the head :)

Roland


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org

Re: Problems with up2date-4.3.19 and current-1.5.7 on whitebox 3.0

Reply

Author Roland Pope <rpope at jadeworld dot com>
Full name Roland Pope <rpope at jadeworld dot com>
Date 2004-11-16 15:43:54 PST
Message ----- Original Message -----
From: "Jack Neely" <jjneely at gmail dot com>
> There's a patch on the CVS list that will correct the tracebacks in
> regards to concatinating a tuple. I need to get off my lazy rear and
> make a new release with that patch in it.
Jack,

I applied the following patch, installed the new version restarted httpd but
it still produced the same error saying "can only concatenate list (not
"tuple") to list"
<snip>
--- trunk/current/src/xmlrpc.py 2004-10-19 03:15:12 UTC (rev 635)
+++ trunk/current/src/xmlrpc.py 2004-11-02 20:38:47 UTC (rev 636)
@@ -62,6 +62,7 @@
     fd.write(xmlheader)
     fd.write("<method​Response>\n")
     fd.write("<params​>\n<param>​\n")
+ fd.write("<value​><array><​data>\n")

     # don't suck the entire data set into memory at once
     row = cursor.fetchone()
@@ -78,6 +79,7 @@

         row = cursor.fetchone()

+ fd.write("</data​></array>​</value>\n")
     fd.write("</param​>\n</params​>\n")
     fd.write("</metho​dResponse>\n")
</snip>
> As far as the dependancy problem does this include custom packages or
> just stock Whitebox? What exact packages?

The package in question was a custom build of Net_SSLeay.
 Doing the same update using the old 1.4 relase of current worked fine.
One thing I noted here, was that under current-1.4, there were no additional
dependancies required when I uninstalled the old perl-Net-SSLeay with
rpm --nodeps and installed the new perl-Net_SSLeay using 'up2date
perl-Net_SSLeay'.
When I tried the same thing under current-1.5, the 'up2date perl-Net_SSLeay'
installs 3 devel packages, which I know are required for the build, but not
for the install. So perhaps the dependancies stuff is mucked up on the
server, or maybe it relates to the 'tuple' error and the client is not
sucessfully downloading everything it needs becasue of this.
Anyway, let me know if there is anything else I can do to diagnose this
further.

>Can you crank up the logging and post the Current's logs of that
transaction?

See attached (This is the log created after the xmlrpc patch was applied).

Thanks
Roland
Attachments

Re: Problems with up2date-4.3.19 and current-1.5.7 on whitebox 3.0

Reply

Author Roland Pope <rpope at jadeworld dot com>
Full name Roland Pope <rpope at jadeworld dot com>
Date 2004-11-16 13:46:51 PST
Message ----- Original Message -----
From: "Roland Pope" <rpope at jadeworld dot com>
> > There's a patch on the CVS list that will correct the tracebacks in
> > regards to concatinating a tuple. I need to get off my lazy rear and
> > make a new release with that patch in it.
> How do I get my hands on this patch?
OK my bad, I see it now in the CVS mailinglist archives after I read your
message properly :(

Roland


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org

Re: Problems with up2date-4.3.19 and current-1.5.7 on whitebox 3.0

Reply

Author Roland Pope <rpope at jadeworld dot com>
Full name Roland Pope <rpope at jadeworld dot com>
Date 2004-11-16 13:26:27 PST
Message ----- Original Message -----
From: "Jack Neely" <jjneely at gmail dot com>
> There's a patch on the CVS list that will correct the tracebacks in
> regards to concatinating a tuple. I need to get off my lazy rear and
> make a new release with that patch in it.
Jack,

How do I get my hands on this patch?
I have tried browsing the subversion repository at
https://svn.linux.nc​su.edu/svn/slack/tru​nk/current/, but I can't seem to
figure out what I need. Do you create CVS snapshot tarballs at all?

Thanks
Roland


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org

Re: Problems with up2date-4.3.19 and current-1.5.7 on whitebox 3.0

Reply

Author theslack
Full name Jack Neely
Date 2004-11-16 06:36:25 PST
Message Roland,

There's a patch on the CVS list that will correct the tracebacks in
regards to concatinating a tuple. I need to get off my lazy rear and
make a new release with that patch in it.

As far as the dependancy problem does this include custom packages or
just stock Whitebox? What exact packages? Can you crank up the
logging and post the Current's logs of that transaction?

Jack Neely


On Tue, 16 Nov 2004 17:48:55 +1300, Roland Pope <rpope at jadeworld dot com> wrote:
>
>
>
> ----- Original Message -----
> From: "Roland Pope" <rpope at jadeworld dot com>
> > 3) On a third run of up2date -u I get a successful download of the RPMs
> > which need to be updated, but I get the following error:
> > <snip>
> > dependency problem. The message was:
> > Dependencies should have already been resolved, but they are not.
> > </snip>
> To follow up my original post and elaborate on this a little more:
> There appears to be two problems here
> 1) A package requires updating that has a dependancy on another package
> which is not installed which in turn has dependancies on other new packages
> which are not installed.
> 2) The new package which seems to be causing the problem in this case is
> obsoleting an existing package of a different name. If I manually
> 'rpm -e --nodeps' the old package, the new one installs fine, with its
> dependant packages. I can then go back and do my 'up2date -u' and get my
> updates installed correctly.
>
>
>
> Roland
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
> For additional commands, e-mail: dev-help at current dot tigris dot org
>
>


--
Jack Neely jjneely at gmail dot com
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org

Re: Problems with up2date-4.3.19 and current-1.5.7 on whitebox 3.0

Reply

Author Roland Pope <rpope at jadeworld dot com>
Full name Roland Pope <rpope at jadeworld dot com>
Date 2004-11-15 20:48:55 PST
Message ----- Original Message -----
From: "Roland Pope" <rpope at jadeworld dot com>
> 3) On a third run of up2date -u I get a successful download of the RPMs
> which need to be updated, but I get the following error:
> <snip>
> dependency problem. The message was:
> Dependencies should have already been resolved, but they are not.
> </snip>
To follow up my original post and elaborate on this a little more:
There appears to be two problems here
1) A package requires updating that has a dependancy on another package
which is not installed which in turn has dependancies on other new packages
which are not installed.
2) The new package which seems to be causing the problem in this case is
obsoleting an existing package of a different name. If I manually
'rpm -e --nodeps' the old package, the new one installs fine, with its
dependant packages. I can then go back and do my 'up2date -u' and get my
updates installed correctly.

Roland


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org

Problems with up2date-4.3.19 and current-1.5.7 on whitebox 3.0

Reply

Author Roland Pope <rpope at jadeworld dot com>
Full name Roland Pope <rpope at jadeworld dot com>
Date 2004-11-15 19:55:19 PST
Message Hi,

I have just downloaded and installed on my test machine, current-1.5.7 under
whitebox 3.0 (A rebuild of RedHat Enterprise 3). In production am currently
(excuse the pun), sucessfully running current-1.4.4 under RedHat 7.3.
When I change one of my whitebox clients to use the new 1.5.7 server, the
following errors occur.

1) First I clear out /var/spool/up2date and run 'up2date -u'
<snip>
[root@localhost root]# up2date -u
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/up2d​ate_client/up2dateBa​tch.py", line 62, in run
    self.__findPackagesToUpdate()
  File "/usr/share/rhn/up2d​ate_client/up2dateBa​tch.py", line 97, in
__findPackag
esToUpdate
    plist.addGlobs(self.​listOfGlobs)
  File "/usr/share/rhn/up2d​ate_client/packageLi​st.py", line 157, in addGlobs
    availList = rhnPackageInfo.getAv​ailablePackageList()​
  File "/usr/share/rhn/up2d​ate_client/rhnPackag​eInfo.py", line 219, in
getAvaila
blePackageList
    package_list = availablePackageList(
  File "/usr/share/rhn/up2d​ate_client/rhnPackag​eInfo.py", line 156, in
available
PackageList
    availPkgList = availPkgList + package_list
TypeError: can only concatenate list (not "tuple") to list
</snip>

2) I then run up2date -u a second time and get:
<snip>
[root@localhost root]# up2date -u

Fetching Obsoletes list for channel: whitebox-3.0FwF-i386...
####################​####################​
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/up2d​ate_client/up2dateBa​tch.py", line 62, in run
    self.__findPackagesToUpdate()
  File "/usr/share/rhn/up2d​ate_client/up2dateBa​tch.py", line 101, in
__findPackagesToUpdate
    plist.run()
  File "/usr/share/rhn/up2d​ate_client/packageLi​st.py", line 128, in run
    progressCallback = self.progressCallback )
  File "/usr/share/rhn/up2d​ate_client/rhnPackag​eInfo.py", line 406, in
obsoletesList
    obsoletesList = obsoletesList + obsoletes_list
TypeError: can only concatenate list (not "tuple") to list
</snip>

3) On a third run of up2date -u I get a successful download of the RPMs
which need to be updated, but I get the following error:
<snip>
dependency problem. The message was:
Dependencies should have already been resolved, but they are not.
</snip>

On further investigation, I can see that new RPM's required to satisfy
dependencies have not been retrieved, even though I can retrieve them
individually with an 'up2date packagename'.

Any ideas what might be going on here, or is there anything I can do to help
diagnose the problems further?
Is current server supposed to run under RedHat Enterprise 3?
Does current server support up2date-4.3.19 clients?

Thanks
Roland


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org
Messages per page: