Jed dependencies and conflicts

G. Milde g.milde at web.de
Mon Jun 12 14:16:56 UTC 2006


On 12.06.06, Rafael Laboissiere wrote:
> * G. Milde <g.milde at web.de> [2006-06-12 14:52]:
> 
> > I had (in my chroot debian base system) jed, jed-common and jed-extra in the
> > /experimental version (0.99.18).
> > 
> > Downgrading just jed to /testing with apt-get went fine:
> > but jed is now broken:
> >   S-Lang Error: Byte compiled file appears corrupt
> 
> I do not think that we should bother with eventual problems with users
> downgrading individual pacakges, but anyway...
 
> At any rate, I think that the right thing to do is to put the following
> in jed-common_0.99.18:
> 
>     Conflicts: jed (<< 0.99.18), xjed (<< 0.99.18)

I'll test this tomorrow.


Relaxing the dependencies of jed-extra to just recommend jed|xjed seems the
right thing to me. However, if I have jed 0.99.16 and upgrade jed-extra
to 2.1, jed fails with

   # jed -batch
   loading /usr/share/jed/lib/site.slc
   loading /usr/share/jed/lib/os.sl
   loading /usr/share/jed/lib/menus.slc
   loading /etc/jed.conf
   loading /etc/jed-init.d/00debian.sl
   loading /etc/jed-init.d/05home-lib.sl
   loading /etc/jed-init.d/55ispell.sl
   loading /usr/src/sl_utils.sl
   S-Lang Error: Object not opened: Unable to load /usr/src/sl_utils.sl
   S-Lang Traceback: ispell_add_dictionary
   File: /etc/jed-init.d/55ispell.sl

i.e. the old config files 05home-lib.sl and 55ispell.sl in etc/jed-init.d
are not removed and make problems.

Rafael, could you add the necessary code to the install scripts so that 
jed-extra (2.1) removes 05home-lib.sl and 55ispell.sl (if unchanged) and
(if then empty) also etc/jed-init.d/ ?


Günter



More information about the Pkg-jed-devel mailing list