On mån, 2012-04-09 at 21:04 +0200, Javier Fernández-Sanguino Peña wrote:
> On Thu, Apr 05, 2012 at 09:11:09PM +0300, Peter Eisentraut wrote:
> > On lör, 2012-03-31 at 22:53 +0200, Javier Fernández-Sanguino Peña wrote:
> > > On Sat, Mar 31, 2012 at 03:10:01PM +0300, Peter Eisentraut wrote:
> > > > > Does this sound like a viable approach?
> > > > 
> > > > It's worth a try.
> > > 
> > > You can find a first attempt at coding this behaviour at
> > > http://anonscm.debian.org/gitweb/?p=collab-maint/debian-goodies.git;a=commitdiff;h=09c21d49555d13153131da3f463aa54452c73fd7
> > > 
> > > The -p option should work now with upgrades in *unstable* systems too as 
> > > old
> > > libraries are detected and found in (newer) library upgrades. It seems to
> > > work properly in my unstable desktop when I upgrade some libraries.
> > > 
> > > Could you give it a try?
> > 
> > It currently crashes for me:
> 
> Just to make sure this is not a problem with the script, could you please 
> apply the
> attached patch to checkrestart (which adds more verbosity) and run
> checkrestart using 'checkrestart -v -p' ?
> 
> Please send me the output to see if I can see where the problem might be.

Pretty obvious problem, it turns out:

Will look in lines using regular expression 
'/usr/lib/i386-linux-gnu/libstdc++.so.*'
Analysing output: libstdc++6:i386: /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17
Traceback (most recent call last):
  File "./checkrestart", line 552, in <module>
    main()
  File "./checkrestart", line 128, in main
    toRestart = lsofcheck(blacklist = blacklist)
  File "./checkrestart", line 273, in lsofcheck
    processes.values())
  File "./checkrestart", line 272, in <lambda>
    toRestart = filter(lambda process: process.needsRestart(blacklist),
  File "./checkrestart", line 537, in needsRestart
    if isdeletedFile(f, blacklist):
  File "./checkrestart", line 392, in isdeletedFile
    file_query_check[file_name] = ispackagedFile(file_name)
  File "./checkrestart", line 313, in ispackagedFile
    if line.endswith(f) or ( file_regexp and re.search(f, line)):
  File "/usr/lib/python2.7/re.py", line 142, in search
    return _compile(pattern, flags).search(string)
  File "/usr/lib/python2.7/re.py", line 244, in _compile
    raise error, v # invalid expression
sre_constants.error: multiple repeat





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to