Bug#550140: Fails to install

2009-10-08 Thread Andreas Tille
On Wed, Oct 07, 2009 at 09:06:59PM +0100, Matt Nottingham wrote:
 Package: science-config
 Version: 0.7
 Severity: grave
 
 When I try and install this package, this is what happens:
 
 Preparing to replace science-config 0.7 (using 
 .../science-config_0.7_all.deb) ...

... so you are replacing the same version of science-config by itself?
Well, this should work definitely, but out of curiosity is there any
reason why you are doing this?

 Unpacking replacement science-config ...
 Setting up science-config (0.7) ...
 Debian Science configuration file /etc/blends/science/science.conf is missing.
 dpkg: error processing science-config (--install):
  subprocess installed post-installation script returned error exit status 255
 
 The file it references is in the deb, so I'm guessing there must be a flaw in 
 the scripts logic.

If I do the same on my side I get:


$ apt-cache policy science-config
science-config:
  Installed: 0.7
  Candidate: 0.7
  Version table:
 *** 0.7 0
501 file: testing/main Packages
501 http://debian.tu-bs.de testing/main Packages
 50 http://ftp.de.debian.org unstable/main Packages
100 /var/lib/dpkg/status
til...@wr-linux02:~$ sudo apt-get --reinstall install science-config
Reading package lists... Done
Building dependency tree   
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 345 not upgraded.
Need to get 0B/7446B of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? 
Preconfiguring packages ...
(Reading database ... 421329 files and directories currently installed.)
Preparing to replace science-config 0.7 (using .../science-config_0.7_all.deb) 
...
Unpacking replacement science-config ...
Processing triggers for man-db ...
Setting up science-config (0.7) ...


Could you please attach the content of your whole /etc/blends?  COuld
you perhaps inject a set -x in the post-installation script and run it
separately as root.  It is hard to verify the problem without this.

Kind regards and thanks for your bug report

 Andreas.

-- 
http://fam-tille.de



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



Bug#550140: Fails to install

2009-10-08 Thread matt . nottingham
Andreas Tille writes:
  On Wed, Oct 07, 2009 at 09:06:59PM +0100, Matt Nottingham wrote:
   Package: science-config
   Version: 0.7
   Severity: grave
   
   When I try and install this package, this is what happens:
   
   Preparing to replace science-config 0.7 (using 
   .../science-config_0.7_all.deb) ...
  
  ... so you are replacing the same version of science-config by itself?
  Well, this should work definitely, but out of curiosity is there any
  reason why you are doing this?

As far as I was aware, it never has successfully installed - but it
may have done and I didn't noticed!

  
   Unpacking replacement science-config ...
   Setting up science-config (0.7) ...
   Debian Science configuration file /etc/blends/science/science.conf is 
   missing.
   dpkg: error processing science-config (--install):
subprocess installed post-installation script returned error exit status 
   255
   
   The file it references is in the deb, so I'm guessing there must be a flaw 
   in the scripts logic.
  
  If I do the same on my side I get:
  
  
  $ apt-cache policy science-config
  science-config:
Installed: 0.7
Candidate: 0.7
Version table:
   *** 0.7 0
  501 file: testing/main Packages
  501 http://debian.tu-bs.de testing/main Packages
   50 http://ftp.de.debian.org unstable/main Packages
  100 /var/lib/dpkg/status
  til...@wr-linux02:~$ sudo apt-get --reinstall install science-config
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 345 not 
  upgraded.
  Need to get 0B/7446B of archives.
  After this operation, 0B of additional disk space will be used.
  Do you want to continue [Y/n]? 
  Preconfiguring packages ...
  (Reading database ... 421329 files and directories currently installed.)
  Preparing to replace science-config 0.7 (using 
  .../science-config_0.7_all.deb) ...
  Unpacking replacement science-config ...
  Processing triggers for man-db ...
  Setting up science-config (0.7) ...
  
  
  Could you please attach the content of your whole /etc/blends?

ls -R /etc/blends
/etc/blends:
blends.conf  cdd.conf~  med  science

/etc/blends/med:
med.conf.cdd  med.conf~

/etc/blends/science:
science.conf.cdd   science.conf.dpkg-old~
science.conf.dpkg-old.cdd  science.conf~


   COuld
  you perhaps inject a set -x in the post-installation script and run it
  separately as root.  It is hard to verify the problem without this.

OK, I'll have a go at that, but I may not get time until the weekend -
sorry.

  Kind regards and thanks for your bug report
  
   Andreas.
  
  -- 
  http://fam-tille.de

Thanks,

Matt



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



Bug#550140: Fails to install

2009-10-07 Thread Matt Nottingham
Package: science-config
Version: 0.7
Severity: grave

When I try and install this package, this is what happens:

Preparing to replace science-config 0.7 (using .../science-config_0.7_all.deb) 
...
Unpacking replacement science-config ...
Setting up science-config (0.7) ...
Debian Science configuration file /etc/blends/science/science.conf is missing.
dpkg: error processing science-config (--install):
 subprocess installed post-installation script returned error exit status 255

The file it references is in the deb, so I'm guessing there must be a flaw in 
the scripts logic.

Thanks,

Matt


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30.7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages science-config depends on:
ii  adduser   3.111  add and remove users and groups
ii  blends-common 0.6.6  Debian Pure Blends common package
ii  debconf [debconf-2.0] 1.5.27 Debian configuration management sy
ii  menu  2.1.42 generates programs menu for all me

science-config recommends no packages.

science-config suggests no packages.

-- debconf information:
* shared/science-config/useusermenus: true
* shared/science-config/usermenus: End of installation
* science-config/group: matt (Matt Nottingham), test9 (fred)



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