Your message dated Thu, 09 Jan 2020 06:08:43 +0000
with message-id <[email protected]>
and subject line Bug#948052: Removed package(s) from unstable
has caused the Debian Bug report #645231,
regarding trac: python upgrade leads to inaccessible jquery.js
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
645231: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645231
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: trac
Version: 0.11.7-4
Severity: normal

I upgraded a system from lenny to squeeze.  trac got upgraded (15:35) before
python was upgraded (15:44).

/var/lib/dpkg/info/trac.postinst contains this section for publishing
jquery.js:

# create link(s), even if original file does not exist (yet)
for d in /usr/share/pyshared/trac/htdocs/js \
        /usr/lib/python*/*-packages/trac/htdocs/js; do
    cd $d
    ln -sf /usr/share/javascript/jquery/jquery.min.js jquery.js
done

but because python was upgraded after trac,
/usr/lib/python2.6/dist-packages/trac/htdocs/js didn't exist during
the invocation of this postinstall script.

As a result, a request for
https://trac.example.org/chrome/common/js/jquery.js would cause trac
to look for /usr/lib/python2.6/dist-packages/trac/htdocs/js/jquery.js,
and fail, returning a 404 Not Found.

I worked around the problem by creating the symlink by hand.

It can also probably be worked around by doing an "apt-get install
--reinstall trac" or anything else that will trigger re-invocation of
the postinst script.

I'm not sure what the right way to really fix the problem is, but i
thought this problem ought to be documented so that other people who
run into it can find the workarounds at least.

Thanks for packaging trac for debian, and for relying on the system
copy of jquery rather than on an embedded code copy.

Regards,

    --dkg

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-vserver-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages trac depends on:
ii  python                  2.6.6-3+squeeze6 interactive high-level object-orie
ii  python-central          0.6.16+nmu1      register and build utility for Pyt
ii  python-genshi           0.6-1            Python XML-based template engine
ii  python-pysqlite2        2.6.0-1          Python interface to SQLite 3
ii  python-setuptools       0.6.14-4         Python Distutils Enhancements (set

Versions of packages trac recommends:
ii  apache2-mpm-worker [ht 2.2.16-6+squeeze4 Apache HTTP Server - high speed th
ii  libjs-jquery           1.4.2-2           JavaScript library for dynamic web
pn  python-pygments | ensc <none>            (no description available)
ii  python-subversion      1.6.12dfsg-6      Python bindings for Subversion
ii  python-tz              2010b-1           Python version of the Olson timezo

Versions of packages trac suggests:
pn  libapache2-mod-wsgi | liba <none>        (no description available)
pn  python-docutils            <none>        (no description available)
pn  python-textile             <none>        (no description available)
pn  trac-accountmanager        <none>        (no description available)
pn  trac-authopenid            <none>        (no description available)
pn  trac-bitten                <none>        (no description available)
pn  trac-bzr                   <none>        (no description available)
pn  trac-customfieldadmin      <none>        (no description available)
pn  trac-email2trac            <none>        (no description available)
pn  trac-git                   <none>        (no description available)
pn  trac-graphviz              <none>        (no description available)
pn  trac-ja-resource           <none>        (no description available)
pn  trac-mastertickets         <none>        (no description available)
pn  trac-mercurial             <none>        (no description available)
pn  trac-spamfilter            <none>        (no description available)
ii  trac-wikiprint             1.6+r5729-1   Make Trac wiki pages printable, ex
pn  trac-wikirename            <none>        (no description available)
ii  trac-wysiwyg               0.2+svn5931-1 WYSIWYG style editor for the Trac 
pn  trac-xmlrpc                <none>        (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 1.2.3+dfsg-1+rm

Dear submitter,

as the package trac has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/948052

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to