Bug 23450 - Firefox: Fehlende Abhängigkeit auf dpkg-dev in 3.0 verhindert Start
Firefox: Fehlende Abhängigkeit auf dpkg-dev in 3.0 verhindert Start
Status: CLOSED INVALID
Product: UCS
Classification: Unclassified
Component: General
UCS 3.0
Other Linux
: P5 minor (vote)
: UCS 3.2
Assigned To: Felix Botner
Philipp Hahn
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-29 16:02 CEST by Moritz Muehlenhoff
Modified: 2013-11-19 06:43 CET (History)
1 user (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 Moritz Muehlenhoff univentionstaff 2011-08-29 16:02:41 CEST
Firefox ermittelt die Architektur mit dpkg-dev, deklariert aber keine Abhängigkeit darauf. Das führt in 3.0 zu folgendem Fehler:

root@master:~# firefox 
/usr/bin/firefox: 33: dpkg-architecture: not found

Die Abhängigkeit fehlt auch in UCD 3.1, allerdings wird sie dort überlagert, da univention-updater in UCS 2.4 eine Abhängigkeit auf dpkg-dev setzt und es immer installiert ist.

dpkg hat mittlerweile eine eigene Funktion zum Ermitteln der Architektur, diese sollte bessser verwendet werden, da dpkg-dev einiges an Abhängigkeiten nach zieht:

root@master:~# dpkg --print-architecture 
i386
Comment 1 Moritz Muehlenhoff univentionstaff 2012-08-28 13:03:04 CEST
Das ist ein Bug in UCS, nicht UCD
Comment 2 Felix Botner univentionstaff 2013-06-07 15:37:43 CEST
Seems no longer  an issue in UCS 3.1-1.

-> more /usr/bin/firefox
...
# ensure that firefox finds the GTK+ printer backends on amd64
arch=`uname -m`
if [ $arch = "x86_64" ]; then
    export GTK_PATH=/usr/lib32/gtk-2.0
fi

exec /opt/firefox/firefox "$@"

-> dpkg -l dpkg-dev
...
un  dpkg-dev  ...

-> firefox
Comment 3 Philipp Hahn univentionstaff 2013-08-12 15:34:51 CEST
OK: firefox 1:7.0.1-5
Comment 4 Stefan Gohmann univentionstaff 2013-11-19 06:43:59 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

If this error occurs again, please use "Clone This Bug".