Login | Register
My pages Projects Community openCollabNet

Discussions > users > up2date not able to actually update

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

current
Discussion topic

2020-03-13: This site is going to be decommissioned and shut down very soon. Please copy and archive any data you wish to keep ASAP

Back to topic list

up2date not able to actually update

Reply

Author "Charles C dot Figueiredo" <ccf at cfignet dot com>
Full name "Charles C dot Figueiredo" <ccf at cfignet dot com>
Date 2004-01-09 10:01:20 PST
Message Hello,

    I configured a current (1115-1.8x snapshot) server recently (on a
rhel 3AS system) for updating 3AS clients. The configuration went pretty
smoothly -- any snags I ran into I managed to fix be referring to previous
mailing list messages. Anyhow, it worked nicely and I thank you guys for
making such a useful alternative available.

    Anyhow, things appear to be functioning for querying:

[root@deputy ccf]# up2date -l

Fetching package list for channel: rhel-3AS-i386...
####################​####################​

Fetching Obsoletes list for channel: rhel-3AS-i386...

Fetching rpm headers...
####################​####################​

Name Version Rel
--------------------​--------------------​------------------
ethereal 0.9.16 0.30E.1
i386
glibc 2.3.2 95.6
i686
glibc-common 2.3.2 95.6
i386
glibc-devel 2.3.2 95.6
i386
glibc-headers 2.3.2 95.6
i386
glibc-profile 2.3.2 95.6
i386
glibc-utils 2.3.2 95.6
i386
gnupg 1.2.1 10
i386
iproute 2.4.7 11.30E.1
i386
lftp 2.6.3 5
i386
rsync 2.5.7 1
i386

The following Packages were marked to be skipped by your configuration:

Name Version Rel Reason
--------------------​--------------------​--------------------​-------------------
kernel 2.4.21 4.0.2.ELPkg
name/pattern
kernel-smp 2.4.21 4.0.2.ELPkg
name/pattern
kernel-source 2.4.21 4.0.2.ELPkg
name/pattern


    However, when I try to actually update something, this is the
output I get:

[root@deputy ccf]# up2date rsync

Fetching package list for channel: rhel-3AS-i386...
####################​####################​

Fetching Obsoletes list for channel: rhel-3AS-i386...

Fetching rpm headers...
####################​####################​

Name Version Rel
--------------------​--------------------​------------------
rsync 2.5.7 1
i386


Testing package set / solving RPM inter-dependencies...
####################​####################​
rsync-2.5.7-1.i386.rpm: ########################## Done.
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 1165, in ?
    sys.exit(main() or 0)
  File "/usr/sbin/up2date", line 745, in main
    fullUpdate, dryRun=options.dry_run))
  File "/usr/sbin/up2date", line 1028, in batchRun
    batch.run()
  File "up2dateBatch.py", line 79, in run
  File "up2dateBatch.py", line 147, in __getPackages
  File "up2date.py", line 176, in getPackage
  File "rpcServer.py", line 111, in doCall
  File "repoDirector.py", line 41, in getPackage
  File "rpmSource.py", line 183, in getPackage
  File "/usr/share/rhn/up2d​ate_client/repoBacke​nds/up2dateRepo.py",​ line
133, in getPackage
    fd = self.s.getPackage(channel, filename)
  File "/usr/lib/python2.2/​site-packages/rhn/rp​clib.py", line 555, in
__call__
    result = self._send(self._name, args)
  File "/usr/lib/python2.2/​site-packages/rhn/rp​clib.py", line 302, in
_request
    verbose=self._verbose
  File "/usr/lib/python2.2/​site-packages/rhn/tr​ansports.py", line 208, in
request
    return self.parse_response(fd)
  File "/usr/lib/python2.2/​site-packages/rhn/tr​ansports.py", line 228, in
parse_response
    p.feed(response)
  File "/usr/lib/python2.2/​xmlrpclib.py", line 390, in feed
    self._parser.Parse(data, 0)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1,
column 0

    The up2date log file doesn't show anything useful. As for
current-related logging, this is what I see:

=== /var/log/httpd/current.log ===

Jan 09 12:56:52 Requesting: up2date.login
Jan 09 12:56:52 with params = ['<?xml
version="1.0"?>\​n<params>\n​<param>\n<va​lue><struct​>\n<member>\​n<name>usernam​e</name>\n​<value><string​>foo</string​></value>\n​</member>\n​<member>\n<na​me>profile_name​</name>\n<va​lue><string​>db6.nyc.hcmny.com​</string></va​lue>\n</membe​r>\n<member​>\n<name>sys​tem_id</name>​n<value><s​tring>Current-ANO​NYMOUS</string​></value>\n​</member>\n<​member>\n<nam​e>architecture​</name>\n<val​ue><string>​i686-redhat-linux​</string></val​ue>\n</member​>\n<member​>\n<name>os_r​elease</name>​n<value><s​tring>3AS</str​ing></value​>\n</member>​n<member>\n​<name>fields​</name>\n<val​ue><array>​<data>\n<va​lue><string​>username</string​></value>\​n<value><st​ring>profile_name​</string></​value>\n<valu​e><string>s​ystem_id</string​></value>\n​<value><str​ing>architecture​</string></v​alue>\n<value​><string>os​_release</string​></value>\n​<value><str​ing>checksum</​string></value​>\n<value>​<string>descri​ption</string>​</value>\n​<value><string​>type</string​></value>\n​<value><str​ing>operating_sys​tem</string>​</value>\n</​data></array​></value>\n​</me!
mber>\n<membe​r>\n<name>​operating_system<​/name>\n<valu​e><string>R​ed
Hat
Linux</string>​</value>\n​</member>\n<m​ember>\n<name​>checksum</nam​e>\n<value​><string>99617​f707960fb1b143906306​b417a13df76877f</​string></value​>\n</member​>\n<member>​n<name>type​</name>\n<va​lue><string​>REAL</string>​</value>\n​</member>\n<m​ember>\n<name​>description</​name>\n<value​><string>3A​S
running on
i686-redhat-linux​</string></val​ue>\n</member​>\n</struct​></value>\n​</param>\n<​/params>\n']
Jan 09 12:56:52 module = up2date
Jan 09 12:56:52 function = login
Jan 09 12:56:52 (/usr/share/current/​current_apache.py, callAPIMethod(),
311): params = ['<?xml
version="1.0"?>\​n<params>\n​<param>\n<va​lue><struct​>\n<member>\​n<name>usernam​e</name>\n​<value><string​>foo</string​></value>\n​</member>\n​<member>\n<na​me>profile_name​</name>\n<va​lue><string​>db6.nyc.hcmny.com​</string></va​lue>\n</membe​r>\n<member​>\n<name>sys​tem_id</name>​n<value><s​tring>Current-ANO​NYMOUS</string​></value>\n​</member>\n<​member>\n<nam​e>architecture​</name>\n<val​ue><string>​i686-redhat-linux​</string></val​ue>\n</member​>\n<member​>\n<name>os_r​elease</name>​n<value><s​tring>3AS</str​ing></value​>\n</member>​n<member>\n​<name>fields​</name>\n<val​ue><array>​<data>\n<va​lue><string​>username</string​></value>\​n<value><st​ring>profile_name​</string></​value>\n<valu​e><string>s​ystem_id</string​></value>\n​<value><str​ing>architecture​</string></v​alue>\n<value​><string>os​_release</string​></value>\n​<value><str​ing>checksum</​string></value​>\n<value>​<string>descri​ption</string>​</value>\n​<value><string​>type</string​></value>\n​<value><str​ing>operating_sys​tem</string>​</value>\n</​data></array​></value>\n​</me!
mber>\n<membe​r>\n<name>​operating_system<​/name>\n<valu​e><string>R​ed
Hat
Linux</string>​</value>\n​</member>\n<m​ember>\n<name​>checksum</nam​e>\n<value​><string>99617​f707960fb1b143906306​b417a13df76877f</​string></value​>\n</member​>\n<member>​n<name>type​</name>\n<va​lue><string​>REAL</string>​</value>\n​</member>\n<m​ember>\n<name​>description</​name>\n<value​><string>3A​S
running on
i686-redhat-linux​</string></val​ue>\n</member​>\n</struct​></value>\n​</param>\n<​/params>\n']
Jan 09 12:56:52 Dispatching: up2date.login
Jan 09 12:56:52 /usr/share/current/u​p2date.py:login({'sy​sid_string':
'<?xml
version="1.0"?>\​n<params>\n​<param>\n<va​lue><struct​>\n<member>\​n<name>usernam​e</name>\n​<value><string​>foo</string​></value>\n​</member>\n​<member>\n<na​me>profile_name​</name>\n<va​lue><string​>db6.nyc.hcmny.com​</string></va​lue>\n</membe​r>\n<member​>\n<name>sys​tem_id</name>​n<value><s​tring>Current-ANO​NYMOUS</string​></value>\n​</member>\n<​member>\n<nam​e>architecture​</name>\n<val​ue><string>​i686-redhat-linux​</string></val​ue>\n</member​>\n<member​>\n<name>os_r​elease</name>​n<value><s​tring>3AS</str​ing></value​>\n</member>​n<member>\n​<name>fields​</name>\n<val​ue><array>​<data>\n<va​lue><string​>username</string​></value>\​n<value><st​ring>profile_name​</string></​value>\n<valu​e><string>s​ystem_id</string​></value>\n​<value><str​ing>architecture​</string></v​alue>\n<value​><string>os​_release</string​></value>\n​<value><str​ing>checksum</​string></value​>\n<value>​<string>descri​ption</string>​</value>\n​<value><string​>type</string​></value>\n​<value><str​ing>operating_sys​tem</string>​</value>\n</​data></array​></value>\n​</me!
mber>\n<membe​r>\n<name>​operating_system<​/name>\n<valu​e><string>R​ed
Hat
Linux</string>​</value>\n​</member>\n<m​ember>\n<name​>checksum</nam​e>\n<value​><string>99617​f707960fb1b143906306​b417a13df76877f</​string></value​>\n</member​>\n<member>​n<name>type​</name>\n<va​lue><string​>REAL</string>​</value>\n​</member>\n<m​ember>\n<name​>description</​name>\n<value​><string>3A​S
running on
i686-redhat-linux​</string></val​ue>\n</member​>\n</struct​></value>\n​</param>\n<​/params>\n'})
Jan 09 12:56:52
/usr/share/current/p​ackagedb.py:getCompa​tibleChannels({'clie​nt_release':
'3AS', 'client_arch': 'i686-redhat-linux'})
Jan 09 12:56:52 /usr/share/current/p​ackagedb.py:_getCann​onArch({'arch':
'i686'})
Jan 09 12:56:52 Result is normal data: turn it into an XML chunk
Jan 09 12:56:52 (/usr/share/current/​current_apache.py, sendClientResult(),
265): Data sent.
Jan 09 12:56:52 sendClientResult() finished
Jan 09 12:56:55 Requesting: errata.getPackageErratum
Jan 09 12:56:55 with params = ['<?xml
version="1.0"?>\​n<params>\n​<param>\n<va​lue><struct​>\n<member>\​n<name>usernam​e</name>\n​<value><string​>foo</string​></value>\n​</member>\n​<member>\n<na​me>profile_name​</name>\n<va​lue><string​>db6.nyc.hcmny.com​</string></va​lue>\n</membe​r>\n<member​>\n<name>sys​tem_id</name>​n<value><s​tring>Current-ANO​NYMOUS</string​></value>\n​</member>\n<​member>\n<nam​e>architecture​</name>\n<val​ue><string>​i686-redhat-linux​</string></val​ue>\n</member​>\n<member​>\n<name>os_r​elease</name>​n<value><s​tring>3AS</str​ing></value​>\n</member>​n<member>\n​<name>fields​</name>\n<val​ue><array>​<data>\n<va​lue><string​>username</string​></value>\​n<value><st​ring>profile_name​</string></​value>\n<valu​e><string>s​ystem_id</string​></value>\n​<value><str​ing>architecture​</string></v​alue>\n<value​><string>os​_release</string​></value>\n​<value><str​ing>checksum</​string></value​>\n<value>​<string>descri​ption</string>​</value>\n​<value><string​>type</string​></value>\n​<value><str​ing>operating_sys​tem</string>​</value>\n</​data></array​></value>\n​</me!
mber>\n<membe​r>\n<name>​operating_system<​/name>\n<valu​e><string>R​ed
Hat
Linux</string>​</value>\n​</member>\n<m​ember>\n<name​>checksum</nam​e>\n<value​><string>99617​f707960fb1b143906306​b417a13df76877f</​string></value​>\n</member​>\n<member>​n<name>type​</name>\n<va​lue><string​>REAL</string>​</value>\n​</member>\n<m​ember>\n<name​>description</​name>\n<value​><string>3A​S
running on
i686-redhat-linux​</string></val​ue>\n</member​>\n</struct​></value>\n​</param>\n<​/params>\n',
 ['rsync', '2.5.7', '1', '', 'i386', '131470', 'rhel-3AS-i386']]
Jan 09 12:56:55 module = errata
Jan 09 12:56:55 function = getPackageErratum
Jan 09 12:56:55 (/usr/share/current/​current_apache.py, callAPIMethod(),
311): params = ['<?xml
version="1.0"?>\​n<params>\n​<param>\n<va​lue><struct​>\n<member>\​n<name>usernam​e</name>\n​<value><string​>foo</string​></value>\n​</member>\n​<member>\n<na​me>profile_name​</name>\n<va​lue><string​>db6.nyc.hcmny.com​</string></va​lue>\n</membe​r>\n<member​>\n<name>sys​tem_id</name>​n<value><s​tring>Current-ANO​NYMOUS</string​></value>\n​</member>\n<​member>\n<nam​e>architecture​</name>\n<val​ue><string>​i686-redhat-linux​</string></val​ue>\n</member​>\n<member​>\n<name>os_r​elease</name>​n<value><s​tring>3AS</str​ing></value​>\n</member>​n<member>\n​<name>fields​</name>\n<val​ue><array>​<data>\n<va​lue><string​>username</string​></value>\​n<value><st​ring>profile_name​</string></​value>\n<valu​e><string>s​ystem_id</string​></value>\n​<value><str​ing>architecture​</string></v​alue>\n<value​><string>os​_release</string​></value>\n​<value><str​ing>checksum</​string></value​>\n<value>​<string>descri​ption</string>​</value>\n​<value><string​>type</string​></value>\n​<value><str​ing>operating_sys​tem</string>​</value>\n</​data></array​></value>\n​</me!
mber>\n<membe​r>\n<name>​operating_system<​/name>\n<valu​e><string>R​ed
Hat
Linux</string>​</value>\n​</member>\n<m​ember>\n<name​>checksum</nam​e>\n<value​><string>99617​f707960fb1b143906306​b417a13df76877f</​string></value​>\n</member​>\n<member>​n<name>type​</name>\n<va​lue><string​>REAL</string>​</value>\n​</member>\n<m​ember>\n<name​>description</​name>\n<value​><string>3A​S
running on
i686-redhat-linux​</string></val​ue>\n</member​>\n</struct​></value>\n​</param>\n<​/params>\n',
 ['rsync', '2.5.7', '1', '', 'i386', '131470', 'rhel-3AS-i386']]
Jan 09 12:56:55 Dispatching: errata.getPackageErratum
Jan 09 12:56:55
/usr/share/current/e​rrata.py:getPackageE​rratum({'sysid_strin​g': '<?xml
version="1.0"?>\​n<params>\n​<param>\n<va​lue><struct​>\n<member>\​n<name>usernam​e</name>\n​<value><string​>foo</string​></value>\n​</member>\n​<member>\n<na​me>profile_name​</name>\n<va​lue><string​>db6.nyc.hcmny.com​</string></va​lue>\n</membe​r>\n<member​>\n<name>sys​tem_id</name>​n<value><s​tring>Current-ANO​NYMOUS</string​></value>\n​</member>\n<​member>\n<nam​e>architecture​</name>\n<val​ue><string>​i686-redhat-linux​</string></val​ue>\n</member​>\n<member​>\n<name>os_r​elease</name>​n<value><s​tring>3AS</str​ing></value​>\n</member>​n<member>\n​<name>fields​</name>\n<val​ue><array>​<data>\n<va​lue><string​>username</string​></value>\​n<value><st​ring>profile_name​</string></​value>\n<valu​e><string>s​ystem_id</string​></value>\n​<value><str​ing>architecture​</string></v​alue>\n<value​><string>os​_release</string​></value>\n​<value><str​ing>checksum</​string></value​>\n<value>​<string>descri​ption</string>​</value>\n​<value><string​>type</string​></value>\n​<value><str​ing>operating_sys​tem</string>​</value>\n</​data></array​></value>\n​</me!
mber>\n<membe​r>\n<name>​operating_system<​/name>\n<valu​e><string>R​ed
Hat
Linux</string>​</value>\n​</member>\n<m​ember>\n<name​>checksum</nam​e>\n<value​><string>99617​f707960fb1b143906306​b417a13df76877f</​string></value​>\n</member​>\n<member>​n<name>type​</name>\n<va​lue><string​>REAL</string>​</value>\n​</member>\n<m​ember>\n<name​>description</​name>\n<value​><string>3A​S
running on
i686-redhat-linux​</string></val​ue>\n</member​>\n</struct​></value>\n​</param>\n<​/params>\n',
'pkg': ['rsync', '2.5.7', '1', '', 'i386', '131470', 'rhel-3AS-i386']})
Jan 09 12:56:55 Result is normal data: turn it into an XML chunk
Jan 09 12:56:55 (/usr/share/current/​current_apache.py, sendClientResult(),
265): Data sent.
Jan 09 12:56:55 sendClientResult() finished
Jan 09 12:56:56 Header object successfully parsed: ['rhel-3AS-i386',
'20040109120216']
Jan 09 12:56:56 /usr/share/current/a​uth.py:isValid({})

===

    Any idea what's going on? This was super-cool until I wasn't
actually able to update anything. :-)

    Thanks,

    -charles.


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
For additional commands, e-mail: users-help at current dot tigris dot org

« Previous message in topic | 1 of 23 | Next message in topic »

Messages

Show all messages in topic

up2date not able to actually update "Charles C dot Figueiredo" <ccf at cfignet dot com> "Charles C dot Figueiredo" <ccf at cfignet dot com> 2004-01-09 10:01:20 PST
     Re: up2date not able to actually update Hunter Matthews <thm at duke dot edu> Hunter Matthews <thm at duke dot edu> 2004-01-09 10:34:34 PST
         Re: up2date not able to actually update "Charles C dot Figueiredo" <ccf at cfignet dot com> "Charles C dot Figueiredo" <ccf at cfignet dot com> 2004-01-09 12:35:09 PST
             Re: up2date not able to actually update hunterm Hunter Matthews 2004-01-09 14:00:23 PST
                 RE: up2date not able to actually update "Slaughter, Justin" <justin dot slaughter at trippak dot com> "Slaughter, Justin" <justin dot slaughter at trippak dot com> 2004-01-12 11:46:49 PST
                     RE: up2date not able to actually update Joy Almacen <jalmacen at edgeprojects dot com> Joy Almacen <jalmacen at edgeprojects dot com> 2004-01-12 11:57:19 PST
                         RE: up2date not able to actually update "Slaughter, Justin" <justin dot slaughter at trippak dot com> "Slaughter, Justin" <justin dot slaughter at trippak dot com> 2004-01-12 12:04:30 PST
                             RE: up2date not able to actually update Joy Almacen <jalmacen at edgeprojects dot com> Joy Almacen <jalmacen at edgeprojects dot com> 2004-01-12 12:10:37 PST
                                 Current Users question cwertman Chris Wertman 2004-01-16 14:17:44 PST
                                     RE: Current Users question Joy Almacen <jalmacen at edgeprojects dot com> Joy Almacen <jalmacen at edgeprojects dot com> 2004-01-16 15:04:21 PST
                                         RE: Current Users question cwertman Chris Wertman 2004-01-16 15:15:41 PST
                                             Re: Current Users question jwbernin John Berninger 2004-01-16 15:36:17 PST
                                                 Re: Current Users question cwertman Chris Wertman 2004-01-16 16:27:09 PST
                                                     Re: Current Users question Hunter Matthews <thm at duke dot edu> Hunter Matthews <thm at duke dot edu> 2004-01-16 20:01:15 PST
                                                         Re: Current Users question cwertman Chris Wertman 2004-01-19 19:49:13 PST
                                                         up2date update question cwertman Chris Wertman 2004-01-19 19:59:58 PST
                                                             RE: up2date update question Joy Almacen <jalmacen at edgeprojects dot com> Joy Almacen <jalmacen at edgeprojects dot com> 2004-01-20 05:06:23 PST
                                                             RE: up2date update question Joy Almacen <jalmacen at edgeprojects dot com> Joy Almacen <jalmacen at edgeprojects dot com> 2004-01-20 05:40:42 PST
                                                             Re: up2date update question hunterm Hunter Matthews 2004-01-20 07:51:12 PST
                                                                 current w/ multiple channels "Charles C dot Figueiredo" <ccf at cfignet dot com> "Charles C dot Figueiredo" <ccf at cfignet dot com> 2004-01-22 11:44:31 PST
                                                                     Re: current w/ multiple channels jwbernin John Berninger 2004-01-22 11:56:32 PST
                                                                         Re: current w/ multiple channels "Charles C dot Figueiredo" <ccf at cfignet dot com> "Charles C dot Figueiredo" <ccf at cfignet dot com> 2004-01-22 12:21:41 PST
                                                                             Re: current w/ multiple channels jwbernin John Berninger 2004-01-22 12:28:06 PST
Messages per page: