Bug 27786 - Bacula kann nicht installiert, deinstalliert und wieder installiert werden
Bacula kann nicht installiert, deinstalliert und wieder installiert werden
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Backup - bacula
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.1-1-errata
Assigned To: Erik Damrose
Felix Botner
:
Depends on:
Blocks: 26135
  Show dependency treegraph
 
Reported: 2012-07-02 15:31 CEST by Dirk Wiesenthal
Modified: 2013-05-15 11:02 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
Log der Installation (37.42 KB, text/plain)
2012-07-02 16:00 CEST, Dirk Wiesenthal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2012-07-02 15:31:18 CEST
Das Problem ist nicht Bacula selbst, sondern ein offenbar sehr aggressives Entfernen von postgresql. Das Problem betrifft deshalb auch bspw. Horde.

Zum Reproduzieren:

apt-get install univention-bacula # klappt
apt-get remove univention-bacula # nur meta-paket, lässt aber viele verwaist zurück
apt-get autoremove # hier passierts
apt-get install univention-bacula # klappt nicht mehr

Das sind auch genau die Schritte, die das System beim Konfigurieren von Softwarekomponenten ausführt. Man kann Bacula momentan tatsächlich nur einmal über "Basic Settings" installieren...

Das besagte autoremove scheint erst in der Entwicklung zu 3.0-2 eingeführt worden zu sein. Siehe Bug #26135
Comment 1 Dirk Wiesenthal univentionstaff 2012-07-02 16:00:21 CEST
Created attachment 4491 [details]
Log der Installation

Die Kommandos einmal in einer Log-Datei zusammengefasst. Ich habe die eigenen Eingaben mit
=== apt-get install ... ===
gekennzeichnet. Die wichtigen Zeilen sind aber ohnehin die letzten.
Comment 2 Erik Damrose univentionstaff 2013-05-14 12:37:51 CEST
The problem lies with univention-postgresql. The configfile
/etc/postgresql/8.4/main/pg_hba.conf is removed during uninstallation, but
postgresql needs this file when it is reinstalled.

An empty config file is now created during removal of univention-postgresql,
and upon reinstalling postgresql is restarted after the config multifile has
been recreated.

univention-postgresql 5.0.1-2.64.201305141149
YAML: 2013-05-14-univention-postgresql.yaml
Merged to 3.1-2: univention-postgresql 5.0.2-1.65.201305141230
Changelog entry for 3.1-2 created. (rev 40487)
Comment 3 Felix Botner univentionstaff 2013-05-14 13:07:59 CEST
OK - errata3.1-1
OK - YAML

OK - ucs3.1-2
OK - Changelog
Comment 4 Janek Walkenhorst univentionstaff 2013-05-15 11:02:36 CEST
http://errata.univention.de/ucs/3.1/94.html