[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#663101: review of the upstream foreman debian package



Hi,

I have tried the debian packages for foreman to consider inclusion in
Debian.

There is a lot of work to do.

First off, the foreman-installer completely overwrites existing apache
configuration files, which is contrary to Debian Policy, c. 7.6.1:

http://www.debian.org/doc/debian-policy/ch-relationships.html#s7.6.1

Also, the underlying packages do not seem to cleanup properly after
themselves:

root@puppet0:/etc# apt-get purge foreman-postgresql foreman
foreman-mysql2
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  ruby-ansi ruby-clamp ruby-hashie ruby-kafo ruby-little-plugger
  ruby-logging ruby-multi-json ruby-powerbar ruby-rdoc
Veuillez utiliser « apt-get autoremove » pour les supprimer.
Les paquets suivants seront ENLEVÉS :
  foreman* foreman-mysql2* foreman-postgresql*
0 mis à jour, 0 nouvellement installés, 3 à enlever et 0 non mis à jour.
3 partiellement installés ou enlevés.
Après cette opération, 46,5 Mo d'espace disque seront libérés.
Souhaitez-vous continuer [O/n] ?
(Lecture de la base de données... 46384 fichiers et répertoires déjàinstallés.)
Suppression de foreman-postgresql ...
Purge des fichiers de configuration de foreman-postgresql ...
Suppression de foreman-mysql2 ...
Purge des fichiers de configuration de foreman-mysql2 ...
Suppression de foreman ...
Purge des fichiers de configuration de foreman ...
dpkg : avertissement : lors de la suppression de foreman, le répertoire « /usr/share/foreman » n'était pas vide, donc il n'a pas été supprimé

pardon my french, but the last line says it can't remove the directory
because it's not empty. this is a violation of 

Also, apt-get install foreman just fails:

Setting up foreman (1.4.2-1) ...
dpkg: error processing foreman (--configure):
 subprocess installed post-installation script returned error exit
 status 7
Errors were encountered while processing:
 foreman
E: Sub-process /usr/bin/dpkg returned an error code (1)

Enabling debugging shows me:

/usr/sbin/foreman-rake db:migrate
You have requested:
  rails = 3.2.17

The bundle currently has rails locked at 3.2.13.
Try running `bundle update rails`
Run `bundle install` to install missing gems.

... which basically means it will totally fail to install on wheezy,
which still has rails 2.3.

There's probably way more stuff i'm missing here.

In this condition, it is quite unlikely that foreman can get in debian
at all.

Having it installable on a simple wheezy environment would be a start. I
also strongly encourage you to run the package through "lintian" to make
sure it's properly built.

Looking forward to see Foreman in Debian...

a.

-- 
Men often become what they believe themselves to be. If I believe I
cannot do something, it makes me incapable of doing it. But when I
believe I can, then I acquire the ability to do it even if I didn't
have it in the beginning.
                         - Mahatma Gandhi

Attachment: pgpOexFVLo7ne.pgp
Description: PGP signature


Reply to: