Re: packages, uses dbconfig-common and mysql/postgresql installation order.

2012-09-16 Thread Wouter Verhelst
On Wed, Sep 12, 2012 at 02:43:23PM +0400, Alexander Golovko wrote:
> Hi!
> 
> bacula-director-pgsql package has a bug #605449 - package can be setup
> after postgresql installation and dbconfig-common fail to configure
> database.
> 
> I try to see, how this problem solved in other packages and can't find
> answer. For example, roundcube-mysql, cacti, drupal6 not affected this
> bug, but roundcube-pgsql, bacula-director-pgsql, bacula-director-mysql,
> jffnms - affected.
> 
> This is can be simply checked by one of next commands:
> 
>   apt-get install -s bacula-director-pgsql postgresql
>   apt-get install -s bacula-director-mysql mysql-server
> 
> This is related to apt-get  package installation order algorithm and i
> don't know how to force mysql and potgresql configuration before
> package configuration.
> 
> How can be this problem solved?

You should make sure the database configuration is done in
bacula-director's postinst. That will ensure the director is not
configured until all its dependencies have been.

-- 
The volume of a pizza of thickness a and radius z can be described by
the following formula:

pi zz a


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120916070024.ga24...@grep.be



Re: Bug#687726: ITP: spykeutils -- utilities for analyzing electrophysiological data

2012-09-16 Thread Yaroslav Halchenko

> > * Package name: spykeutils

On Sat, 15 Sep 2012, Salvo Tomaselli wrote:
> If it is a python library, shouldn't it be called python-spykeutils ?

source package -- AFAIK should match upstream name of the project where
  possible (and which it does in this case)

binary package -- yes (it will be named python-spykeutils)

-- 
Yaroslav O. Halchenko
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834   Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120916103610.ga5...@onerussian.com



Bug#687828: ITP: pmuninstall -- script to uninstall modules installed from CPAN

2012-09-16 Thread Alessandro Ghedini
Package: wnpp
Owner: Alessandro Ghedini 
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org, debian-p...@lists.debian.org

* Package name: pmuninstall
  Version : 0.29
  Upstream Author : Yuji Shimada 
* URL : http://search.cpan.org/dist/App-pmuninstall/
* License : Artistic or GPL-1+
  Programming Lang: Perl
  Description : script to uninstall modules installed from CPAN

pmuninstall is a fast module uninstaller. It reads installed files lists from
*.packlist files (generated when installing modules using e.g. cpanminus) and
deletes them.


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5055c058.c54fb40a.37b4.a...@mx.google.com



mass bug filing about packages with empty /usr/share/doc/$package/ (no copyright file)?

2012-09-16 Thread Andreas Beckmann
Hi,

someone asked me to add a piuparts check for packages that don't have a
copyright file /usr/share/doc/$package/copyright. I added something
(it's now in the git repository and running on piuparts.d.o) and filed a
few bugs already, but now it seems the problem is more widespread. The
problem usually occurs after an upgrade (e.g. squeeze->wheezy) where the
package does change something w.r.t directories and symlinks in
/usr/share/doc.
As dpkg intentionally does not replace a directory with a symlink (or
vice versa), these package usually end up with an empty /u/s/d/$package/
directory instead of a symlink like
/u/s/d/$package -> $package-common , so maintainer scripts are needed to
do the conversion.

The list of buggy packages can be found here:
http://piuparts.debian.org/squeeze2wheezy/unknown_failures.html
(There are some logs with different "unclassified" problems, but most of
them have this problem.)

I'm afraid I don't have the time right now to thoroughly analyze these
logs and report all the bugs, so some help would be welcome.
Right now there are about 30 packages being buggy, but more will
probably show up as squeeze2wheezy gets retested with the new check.

Also we should formulate some advice how to fix this issue, probably
including some maintainer script snippets. There are several DDs that
have already fixed these bugs (thanks!), so they should know how to do
this :-)

As missing a copyright file is a violation of policy 12.5, these would
be RC bugs affecting wheezy.

The error output at the end of the logfile looks like this:

  MISSING COPYRIGHT FILE: /usr/share/doc/bitlbee/copyright
  drwxr-xr-x 2 root root 4096 Sep 15 12:45 /usr/share/doc/bitlbee
  total 8
  drwxr-xr-x  2 root root 4096 Sep 15 12:45 .
  drwxr-xr-x 92 root root 4096 Sep 15 12:45 ..

and was generated with

  echo MISSING COPYRIGHT FILE: $PKGDOCDIR/copyright
  ls -lad $PKGDOCDIR
  ls -la $PKGDOCDIR/


A bug template should probably start with:

<- snip -->
To: sub...@bugs.debian.org
Subject: $PACKAGE: copyright file missing after upgrade (policy 12.5)

Package: $PACKAGE
Version: $VERSION
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts
Control: found -1 $PACKAGE/$VERSION

Hi,

during a test with piuparts I noticed your package misses the copyright
file after an upgrade from squeeze to wheezy, which is a violation of
Policy 12.5:
http://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile

After the upgrade /usr/share/doc/$PACKAGE/ is just an empty directory.

...


Cheers,
<- snap -->


Cheers,

Andreas


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5055d029.8000...@abeckmann.de



Re: mass bug filing about packages with empty /usr/share/doc/$package/ (no copyright file)?

2012-09-16 Thread Bart Martens
On Sun, Sep 16, 2012 at 03:12:09PM +0200, Andreas Beckmann wrote:
> Hi,
> 
> someone asked me to add a piuparts check for packages that don't have a
> copyright file /usr/share/doc/$package/copyright. I added something
> (it's now in the git repository and running on piuparts.d.o) and filed a
> few bugs already, but now it seems the problem is more widespread. The
> problem usually occurs after an upgrade (e.g. squeeze->wheezy) where the
> package does change something w.r.t directories and symlinks in
> /usr/share/doc.
> As dpkg intentionally does not replace a directory with a symlink (or
> vice versa), these package usually end up with an empty /u/s/d/$package/
> directory instead of a symlink like
> /u/s/d/$package -> $package-common , so maintainer scripts are needed to
> do the conversion.
> 
> The list of buggy packages can be found here:
> http://piuparts.debian.org/squeeze2wheezy/unknown_failures.html
> (There are some logs with different "unclassified" problems, but most of
> them have this problem.)

Since this is related to upgrading, I guess that this cannot be checked by
lintian.  If you're looking for a consensus on debian-devel on whether mass bug
filing is appropriate in this case, then I can say that I agree.

> 
> I'm afraid I don't have the time right now to thoroughly analyze these
> logs and report all the bugs, so some help would be welcome.

I'm offering help, but only for part of the work : I could write a perl script
that periodically scans the logfiles and submits additional bugs.

> Right now there are about 30 packages being buggy, but more will
> probably show up as squeeze2wheezy gets retested with the new check.
> 
> Also we should formulate some advice how to fix this issue, probably
> including some maintainer script snippets. There are several DDs that
> have already fixed these bugs (thanks!), so they should know how to do
> this :-)

Maybe this advice can be put on a wiki page and the mass bug filing can point
to that wiki page, so that additional aspects to give advice on can be added on
that wiki page.  (But I'm currently not voluteering to write the advice.)

> 
> As missing a copyright file is a violation of policy 12.5, these would
> be RC bugs affecting wheezy.
> 
> The error output at the end of the logfile looks like this:
> 
>   MISSING COPYRIGHT FILE: /usr/share/doc/bitlbee/copyright
>   drwxr-xr-x 2 root root 4096 Sep 15 12:45 /usr/share/doc/bitlbee
>   total 8
>   drwxr-xr-x  2 root root 4096 Sep 15 12:45 .
>   drwxr-xr-x 92 root root 4096 Sep 15 12:45 ..
> 
> and was generated with
> 
>   echo MISSING COPYRIGHT FILE: $PKGDOCDIR/copyright
>   ls -lad $PKGDOCDIR
>   ls -la $PKGDOCDIR/
> 
> 
> A bug template should probably start with:
> 
> <- snip -->
> To: sub...@bugs.debian.org
> Subject: $PACKAGE: copyright file missing after upgrade (policy 12.5)
> 
> Package: $PACKAGE
> Version: $VERSION
> Severity: serious
> User: debian...@lists.debian.org
> Usertags: piuparts
> Control: found -1 $PACKAGE/$VERSION
> 
> Hi,
> 
> during a test with piuparts I noticed your package misses the copyright
> file after an upgrade from squeeze to wheezy, which is a violation of
> Policy 12.5:
> http://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile
> 
> After the upgrade /usr/share/doc/$PACKAGE/ is just an empty directory.
> 
> ...
> 
> 
> Cheers,
> <- snap -->

Looks like a good start for the bug reports.

Regards,

Bart Martens


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120916135704.gb22...@master.debian.org



Re: packages, uses dbconfig-common and mysql/postgresql installation order.

2012-09-16 Thread Vincent Danjean
Le 16/09/2012 09:00, Wouter Verhelst a écrit :
> On Wed, Sep 12, 2012 at 02:43:23PM +0400, Alexander Golovko wrote:
>> This is related to apt-get  package installation order algorithm and i
>> don't know how to force mysql and potgresql configuration before
>> package configuration.
>>
>> How can be this problem solved?
> 
> You should make sure the database configuration is done in
> bacula-director's postinst. That will ensure the director is not
> configured until all its dependencies have been.

I did not checked the bacula-director case explicitly. But, in case
of a software using a DB and using dbconfig-common, the database
dependency cannot be a hard one (ie a Depends) as the database can
be installed on another machine. Instead, Recommends or even
Suggests are used. This is perhaps the reason why Alexander Golovko
see some problems in postinst order between the DB and its package.

One possible solution would be that apt (dpkg?) try to order package
postinst as much as possible, not only for depends as currently, but
also recommends and suggests *when possible*. I do not know at all
if what I suggest is already implemented or not.

  Regards,
Vincent
-- 
Vincent Danjean   GPG key ID 0x9D025E87 vdanj...@debian.org
GPG key fingerprint: FC95 08A6 854D DB48 4B9A  8A94 0BF7 7867 9D02 5E87
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo:  deb http://people.debian.org/~vdanjean/debian unstable main


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5055e343.4040...@free.fr



Debian BSP, Columbus Ohio - Ohio LinuxFest

2012-09-16 Thread Paul Tagliamonte
Hey folks,

 We're planning a small BSP at Ohio LinuxFest in Columbus Ohio very
 soon (September 28-30). If anyone happens to be in the area, I think
 there'll be some unsanctioned hacking going on in the halls or at a
 table out of the way.

 Anyone's welcome to join.

Cheers,
  Paul

-- 
 .''`.  Paul Tagliamonte 
: :'  : Proud Debian Developer
`. `'`  4096R / 8F04 9AD8 2C92 066C 7352  D28A 7B58 5B30 807C 2A87
 `- http://people.debian.org/~paultag


signature.asc
Description: Digital signature


Re: mass bug filing about packages with empty /usr/share/doc/$package/ (no copyright file)?

2012-09-16 Thread Bart Martens
On Sun, Sep 16, 2012 at 01:57:04PM +, Bart Martens wrote:
> On Sun, Sep 16, 2012 at 03:12:09PM +0200, Andreas Beckmann wrote:
> > I'm afraid I don't have the time right now to thoroughly analyze these
> > logs and report all the bugs, so some help would be welcome.
> 
> I'm offering help, but only for part of the work : I could write a perl script
> that periodically scans the logfiles and submits additional bugs.

I have written that script, and I think it's ready for use.

> > Also we should formulate some advice how to fix this issue, probably
> > including some maintainer script snippets. There are several DDs that
> > have already fixed these bugs (thanks!), so they should know how to do
> > this :-)
> 
> Maybe this advice can be put on a wiki page and the mass bug filing can point
> to that wiki page, so that additional aspects to give advice on can be added 
> on
> that wiki page.  (But I'm currently not voluteering to write the advice.)

I have opened this wiki page :
http://wiki.debian.org/MissingCopyrightFile

Anyone feel free to write advice on that wiki page.

Regards,

Bart Martens


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120916163621.ga13...@master.debian.org



Re: mass bug filing about packages with empty /usr/share/doc/$package/ (no copyright file)?

2012-09-16 Thread Julien Cristau
On Sun, Sep 16, 2012 at 15:12:09 +0200, Andreas Beckmann wrote:

> Also we should formulate some advice how to fix this issue, probably
> including some maintainer script snippets. There are several DDs that
> have already fixed these bugs (thanks!), so they should know how to do
> this :-)
> 
I think the advice should be to reconsider whether symlinking the doc
directories is really a good idea.

Cheers,
Julien


signature.asc
Description: Digital signature


Re: mass bug filing about packages with empty /usr/share/doc/$package/ (no copyright file)?

2012-09-16 Thread Marco d'Itri
On Sep 16, Julien Cristau  wrote:

> I think the advice should be to reconsider whether symlinking the doc
> directories is really a good idea.
I think it really is, since it saves space with minimal effort.
It only becomes an issue when you switch a package to a symlinked 
directory and get wrong the code in the maintainer scripts.

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#687892: ITP: slof -- Slimline Open Firmware -- QEMU PowerPC version

2012-09-16 Thread Aurelien Jarno
Package: wnpp
Severity: wishlist
Owner: Aurelien Jarno 

* Package name: slof
  Version : 20120217
  Upstream Author : David Gibson 
* URL : https://github.com/dgibson/SLOF
* License : BSD
  Programming Lang: C
  Description : Slimline Open Firmware -- QEMU PowerPC version

 Slimline Open Firmware (SLOF) is an implementation of the IEEE 1275
 standard. It can be used as partition firmware for pSeries machines
 running on QEMU or KVM.


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120916205809.25467.177.report...@volta.aurel32.net