state of jed-extra

G. Milde g.milde at web.de
Wed Jun 7 15:01:57 UTC 2006


On  6.06.06, Jörg Sommer wrote:
> Hallo G.,
> 
> G. Milde schrieb am Tue 06. Jun, 13:38 (+0200):
> > On  4.06.06, Jörg Sommer wrote:
> > > Hallo G.,
> > > 
> > > G. Milde schrieb am Wed 31. May, 16:00 (+0200):
> > > > * updating jed-common, jed, xjed, and jed-extra in one run failed:
> > > > 
> > > >     Running /usr/share/jed/compile/jed-common...done
> > > >     
> > > >     Setting up jed-extra (2.2-1) ...
> > > >     /usr/share/jed/compile/jed-extra: line 8: jed-script: command not found
> > > 
> > > Did dpkg fail?
> > 
> > Yes.
> 
> Difficult. I didn't expect this, because the call in compile is saved
> with a "|| true".
> 
> > jed-script is only available when jed 0.99.17 is configured, however if
> > you update both jed and jed-extra from stable, the jed-extra
> > installation tries to run jed-script before jed 0.99.17 is configured.
> 
> Right, but that should not make dpkg fail. Could you send me the
> output or better add "set -x" to the compile file and run apt again.
> Where points your /bin/sh? What's the output of
>   /bin/sh -c 'false || true'; echo $?

Testing in a chroot environment (base installation) with jed/experimental
and jed-extra_2.1.3:

* # which sh 
  /bin/sh

  # ls -l /bin/sh
  lrwxrwxrwx  1 root root 4 Nov 18  2005 /bin/sh -> bash

  # /bin/sh -c 'false || true'; echo $?
  0


* dowgrade jed with aptitude:

  --\ Packages to be downgraded
  i A jed                                            +33.8kB 0.99.18-2  0.99.16-6
  i A jed-common                                     +668kB  0.99.18-2  0.99.16-6
  i   jed-extra                                      -1189kB 2.1.3-1    0.1.8
  
 
* # ls /etc/jed.d 
  05jed-common.sl  50jed-extra.sl  50jed-extra.sl~

* install of the new version with dpkg:

  # dpkg -i jed_0.99.18-2_i386.deb jed-common_0.99.18-2_all.deb jed-extra_2.1.3-1_all.deb 
  (Reading database ... 12599 files and directories currently installed.)
  Preparing to replace jed 0.99.16-6 (using jed_0.99.18-2_i386.deb) ...
  Unpacking replacement jed ...
  dpkg: regarding jed-common_0.99.18-2_all.deb containing jed-common:
   jed-common conflicts with jed-extra (<= 1.0-1)
    jed-extra (version 0.1.8) is installed.
  dpkg: error processing jed-common_0.99.18-2_all.deb (--install):
   conflicting packages - not installing jed-common
  Preparing to replace jed-extra 0.1.8 (using jed-extra_2.1.3-1_all.deb) ...
  Unpacking replacement jed-extra ...
  dpkg: dependency problems prevent configuration of jed:
   jed depends on jed-common (>= 0.99.18-2); however:
    Version of jed-common on system is 0.99.16-6.
  dpkg: error processing jed (--install):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of jed-extra:
   jed-extra depends on jed-common (>= 0.99.17.111); however:
    Version of jed-common on system is 0.99.16-6.
  dpkg: error processing jed-extra (--install):
   dependency problems - leaving unconfigured
  Errors were encountered while processing:
   jed-common_0.99.18-2_all.deb
   jed
   jed-extra


* again downgrade (with apt-get install jed/testing jed-extra/testing)

* Install new variant of jed and jed-extra with conflict moved from
  jed-common to jed and xjed:
  
  OK
  
  # dpkg -i jed*
  (Reading database ... 12599 files and directories currently installed.)
  Preparing to replace jed-common 0.99.16-6 (using jed-common_0.99.18-2_all.deb) ...
  Unpacking replacement jed-common ...
  Preparing to replace jed-extra 0.1.8 (using jed-extra_2.1.3-1_all.deb) ...
  Unpacking replacement jed-extra ...
  dpkg: warning - unable to delete old file `/etc/jed-init.d': Directory not empty
  Preparing to replace jed 0.99.16-6 (using jed_0.99.18-2_i386.deb) ...
  Unpacking replacement jed ...
  Setting up jed-common (0.99.18-2) ...
  Running /usr/share/jed/compile/jed-common...done
  
  Setting up jed-extra (2.1.3-1) ...
  /usr/share/jed/compile/jed-extra: line 8: jed-script: command not found
  
  Setting up jed (0.99.18-2) ...
  Updating precompiled files...done



So this seems to be solved.

Günter



More information about the Pkg-jed-devel mailing list