[Mailman-Users] mailman upgrade failing

Noah noah-list at enabled.com
Tue Mar 8 02:33:30 CET 2011


response below

On 3/4/11 2:26 PM, Mark Sapiro wrote:
> Noah wrote:
>>
>> Mailman upgrade keeps failing on my ubuntu server and not clear why?
>> qrunner hangs every week so upgrading might be the right thing to do.
>
>
> Which qrunner hangs? What if anything is logged in Mailman's error and
> qrunner logs?
>
> Caveat: I know virtually nothing about Debian packaging or apt-get.
>
>
>> Preparing to replace mailman 1:2.1.9-9ubuntu1.2 (using
>> .../mailman_1%3a2.1.9-9ubuntu1.4_amd64.deb) ...
>>   * Stopping Mailman master qrunner mailmanctl          No child with
>> pid: 11139
>> [Errno 3] No such process
>> Stale pid file removed.
>
>
> The above seems normal and not an error if you stopped Mailman manually
> before running apt-get.
>
>
>>    [ OK ]
>> dpkg: error processing
>> /var/cache/apt/archives/mailman_1%3a2.1.9-9ubuntu1.4_amd64.deb (--unpack):
>>   subprocess pre-installation script returned error exit status 1
>> No updates are necessary.
>>
>> Any clues what I can do to get apt-get upgrade to work?
>
>
> The process appears to be saying that the package in
> mailman_1:2.1.9-9ubuntu1.4_amd64.deb does not contain any updates to
> the installed mailman 1:2.1.9-9ubuntu1.2 package. This seems
> reasonable as the actual Mailman package version (2.1.9-9) is the
> same. Only the os version/architecture are different.
>


I am wondering if matching the OS and arch would stop the qrunner from 
hanging.   here is what is appearing in the error logs when I restart 
qrunner.

Mark:  Do you have any ideas about how to force apt-get to consider 
using the version with the proper OS/arch version?  Like can I change a 
version file to get this update to happen?

Mar 07 17:05:15 2011 (4382) Uncaught runner exception: No terminating 
boundary and no trailing empty line
Mar 07 17:05:15 2011 (4382) Traceback (most recent call last):
   File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 100, in _oneloop
     msg, msgdata = self._switchboard.dequeue(filebase)
   File "/usr/lib/mailman/Mailman/Queue/Switchboard.py", line 164, in 
dequeue
     msg = email.message_from_string(msg, Message.Message)
   File "/usr/lib/mailman/pythonlib/email/__init__.py", line 51, in 
message_from_string
     return Parser(_class, strict=strict).parsestr(s)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 75, in parsestr
     return self.parse(StringIO(text), headersonly=headersonly)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 64, in parse
     self._parsebody(root, fp, firstbodyline)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 240, in 
_parsebody
     msgobj = self.parsestr(part)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 75, in parsestr
     return self.parse(StringIO(text), headersonly=headersonly)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 64, in parse
     self._parsebody(root, fp, firstbodyline)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 265, in 
_parsebody
     msg = self.parse(fp)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 64, in parse
     self._parsebody(root, fp, firstbodyline)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 207, in 
_parsebody
     'No terminating boundary and no trailing empty line')
BoundaryError: No terminating boundary and no trailing empty line

Mar 07 17:05:15 2011 (4382) Ignoring unparseable message: 
1298451764.843303+0cd1f7dcf1029a246fe05146c55b8c7518fd0a1f
Mar 07 17:05:15 2011 (4382) Uncaught runner exception: No terminating 
boundary and no trailing empty line
Mar 07 17:05:15 2011 (4382) Traceback (most recent call last):
   File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 100, in _oneloop
     msg, msgdata = self._switchboard.dequeue(filebase)
   File "/usr/lib/mailman/Mailman/Queue/Switchboard.py", line 164, in 
dequeue
     msg = email.message_from_string(msg, Message.Message)
   File "/usr/lib/mailman/pythonlib/email/__init__.py", line 51, in 
message_from_string
     return Parser(_class, strict=strict).parsestr(s)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 75, in parsestr
     return self.parse(StringIO(text), headersonly=headersonly)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 64, in parse
     self._parsebody(root, fp, firstbodyline)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 240, in 
_parsebody
     msgobj = self.parsestr(part)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 75, in parsestr
     return self.parse(StringIO(text), headersonly=headersonly)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 64, in parse
     self._parsebody(root, fp, firstbodyline)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 265, in 
_parsebody
     msg = self.parse(fp)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 64, in parse
     self._parsebody(root, fp, firstbodyline)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 207, in 
_parsebody
     'No terminating boundary and no trailing empty line')
BoundaryError: No terminating boundary and no trailing empty line

Mar 07 17:05:15 2011 (4382) Ignoring unparseable message: 
1299266256.6221931+48acd3719c5d8900fedf2fbac29bb8d186b388e1
Mar 07 17:05:15 2011 (4382) Uncaught runner exception: No terminating 
boundary and no trailing empty line
Mar 07 17:05:15 2011 (4382) Traceback (most recent call last):
   File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 100, in _oneloop
     msg, msgdata = self._switchboard.dequeue(filebase)
   File "/usr/lib/mailman/Mailman/Queue/Switchboard.py", line 164, in 
dequeue
     msg = email.message_from_string(msg, Message.Message)
   File "/usr/lib/mailman/pythonlib/email/__init__.py", line 51, in 
message_from_string
     return Parser(_class, strict=strict).parsestr(s)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 75, in parsestr
     return self.parse(StringIO(text), headersonly=headersonly)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 64, in parse
     self._parsebody(root, fp, firstbodyline)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 240, in 
_parsebody
     msgobj = self.parsestr(part)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 75, in parsestr
     return self.parse(StringIO(text), headersonly=headersonly)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 64, in parse
     self._parsebody(root, fp, firstbodyline)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 265, in 
_parsebody
     msg = self.parse(fp)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 64, in parse
     self._parsebody(root, fp, firstbodyline)
   File "/usr/lib/mailman/pythonlib/email/Parser.py", line 207, in 
_parsebody
     'No terminating boundary and no trailing empty line')
BoundaryError: No terminating boundary and no trailing empty line





More information about the Mailman-Users mailing list