Bug 23434 - Minimal-Install wählt 'locales' nicht aus
Minimal-Install wählt 'locales' nicht aus
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UCS Installer
UNSTABLE
Other Linux
: P5 normal (vote)
: UCS 3.0 - MS2
Assigned To: Felix Botner
Janek Walkenhorst
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-26 12:25 CEST by Frank Greif
Modified: 2011-12-13 15:50 CET (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

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Greif 2011-08-26 12:25:59 CEST
Beim Versuch, einen Memberserver mit minimaler Paketauswahl zu installieren, erscheinen beim nächsten Reboot Fehler:

locale: Cannot set LC_CTYPE to default locale: no such file or directory
locale: Cannot set LC_MESSAGES to default locale: no such file or directory
locale: Cannot set LC_ASS to default locale: no such file or directory

dpkg-reconfigure locales zeigt dann das eigentliche Problem: das Paket 'locales' ist überhaupt nicht installiert.

Lösung: an geeigneter Stelle eine Paketabhängigkeit eintragen, oder im Installer die Liste der unbedingt benötigten Pakete um 'locales' erweitern.
Comment 1 Moritz Muehlenhoff univentionstaff 2011-08-26 12:40:06 CEST
(In reply to comment #0)
> Beim Versuch, einen Memberserver mit minimaler Paketauswahl zu installieren,
> erscheinen beim nächsten Reboot Fehler:
> 
> locale: Cannot set LC_CTYPE to default locale: no such file or directory
> locale: Cannot set LC_MESSAGES to default locale: no such file or directory
> locale: Cannot set LC_ASS to default locale: no such file or directory
> 
> dpkg-reconfigure locales zeigt dann das eigentliche Problem: das Paket
> 'locales' ist überhaupt nicht installiert.
> 
> Lösung: an geeigneter Stelle eine Paketabhängigkeit eintragen, oder im
> Installer die Liste der unbedingt benötigten Pakete um 'locales' erweitern.

Das sollte auch über eine Dependency (oder ggf. Recommends) in univention-base-files umgesetzt werden.
Comment 2 Felix Botner univentionstaff 2011-08-30 16:38:36 CEST
Früher hat univention-config-registry locales, ntpdate, console-data, ... installiert (Depends:).

In univention-base-files sind diese Pakete aber nur als "Enhances:" eingetragen. 

Warum werden die Pakete aus 2.4 univention-config-registry:Depends: jetzt nicht mit univention-base-files:Depends installiert (zumindest teilweise werden diese Pakete zwingend benötigt)?
Comment 3 Felix Botner univentionstaff 2011-08-30 16:42:00 CEST
*** Bug 23207 has been marked as a duplicate of this bug. ***
Comment 4 Felix Botner univentionstaff 2011-08-30 16:48:01 CEST
Im einzelnen sind es folgende Pakete:

 univention-config,
 locales,
 ntp, ntpdate, rdate,
 coreutils,
 acl,
 xfsprogs,
 lsof,
 console-data, console-tools, console-common,
 bzip2,
 psmisc,
 lsb-base,
 bash-completion,
Comment 5 Stefan Gohmann univentionstaff 2011-08-30 17:00:04 CEST
OK, vielleicht benötigen wir ntp und ntpdate nicht beide. Ich denke den NTP-Daemon benötigen wir nur auf DCs.
Comment 6 Felix Botner univentionstaff 2011-09-07 15:49:38 CEST
(In reply to comment #4)
> Im einzelnen sind es folgende Pakete:
> 
>  univention-config,
>  locales,
>  ntp, ntpdate, rdate,
>  coreutils,
>  acl,
>  xfsprogs,
>  lsof,
>  console-data, console-tools, console-common,
>  bzip2,
>  psmisc,
>  lsb-base,
>  bash-completion,

Alle diese Pakete, außer ntp, sind nun in univention-base-files als Depends: markiert.

ntp selbst ist als Abhängigkeit für jede Systemrolle (außer Basissystem) in univention-server eingetragen. Für univention-managed-client, univention-mobile-client und univention-server-member wurde die Abhängigkeit auf ntp|ntp-server entfernt.
Comment 7 Janek Walkenhorst univentionstaff 2011-09-27 16:41:27 CEST
(In reply to comment #6)
> (In reply to comment #4)
> > Im einzelnen sind es folgende Pakete:
> > 
> >  univention-config,
> >  locales,
> >  ntp, ntpdate, rdate,
OK (\ntp)
> >  coreutils,
Fehlt
> >  acl,
> >  xfsprogs,
> >  lsof,
> >  console-data,
OK
> >  console-tools,
Fehlt
> >  console-common,
> >  bzip2,
> >  psmisc,
> >  lsb-base,
> >  bash-completion,
OK
> 
> Alle diese Pakete, außer ntp, sind nun in univention-base-files als Depends:
> markiert.
Einige fehlen (s.o.)

> ntp selbst ist als Abhängigkeit für jede Systemrolle (außer Basissystem) in
> univention-server eingetragen. Für univention-managed-client,
> univention-mobile-client und univention-server-member wurde die Abhängigkeit
> auf ntp|ntp-server entfernt.
Stimmt
Comment 8 Felix Botner univentionstaff 2011-09-27 17:39:48 CEST
> >  console-tools,
> Fehlt

das ist ok, wir verwenden kbd 

> >  coreutils,
> Fehlt

das ist eh immer installiert (u.a. Abhängigkeit von dpkg)
Comment 9 Janek Walkenhorst univentionstaff 2011-09-28 15:30:33 CEST
(In reply to comment #8)
> > >  console-tools,
> > Fehlt
> das ist ok, wir verwenden kbd 
Ok Abhängigkeit vorhanden

> > >  coreutils,
> > Fehlt
> das ist eh immer installiert (u.a. Abhängigkeit von dpkg)
Priority: required
Stimmt
Comment 10 Sönke Schwardt-Krummrich univentionstaff 2011-12-13 15:50:19 CET
UCS 3.0-0 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer
neueren Version von UCS erneut auftreten, so sollte dieser Bug dupliziert
werden: "Clone This Bug"