opsi-linux-bootimage Abhängigkeiten

Cdn
Beiträge: 173
Registriert: 27 Okt 2013, 19:44

Re: opsi-linux-bootimage Abhängigkeiten

Beitrag von Cdn »

Hallo zusammen,

ich bin gerade dabei auf meine OPSI Struktur komplett auf Debian Jessie--> Stretch und OPSI 4.0 --> 4.1 umzustellen. Soweit so gut. Leider gibt es hier wieder Probleme mit der Abhängigkeit bei der ARM Architektur:

Code: Alles auswählen

 aptitude -y install opsi-server-expert
The following NEW packages will be installed:
  fontconfig{a} fontconfig-config{a} fonts-dejavu-core{a} libcairo2{a} libdatrie1{a} libdbi1{a} libfontconfig1{a} libfreetype6{a} libgraphite2-3{a}
  libharfbuzz0b{a} libpango-1.0-0{a} libpangocairo-1.0-0{a} libpangoft2-1.0-0{a} libpixman-1-0{a} libpng16-16{a} librrd8{a} libthai-data{a} libthai0{a}
  libx11-6{a} libx11-data{a} libxau6{a} libxcb-render0{a} libxcb-shm0{a} libxcb1{a} libxdmcp6{a} libxext6{a} libxrender1{a} opsi-server-expert
  opsiconfd{a} python-rrdtool{a} python-twisted{a}
The following packages will be REMOVED:
  pkgconf{u} tftpd{u}
The following packages will be upgraded:
  opsipxeconfd{b}
1 packages upgraded, 31 newly installed, 2 to remove and 0 not upgraded.
Need to get 83.5 kB/7,434 kB of archives. After unpacking 14.4 MB will be used.
The following packages have unmet dependencies:
 opsipxeconfd : Depends: opsi-tftpd which is a virtual package and is not provided by any available package

The following actions will resolve these dependencies:

     Remove the following packages:
1)     opsipxeconfd [4.0.7.5-3 (now)]

     Keep the following packages at their current version:
2)     opsi-server-expert [Not Installed]



The following packages will be REMOVED:
  opsipxeconfd{a} pkgconf{u} tftpd{u}
0 packages upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 250 kB will be freed.
(Reading database ... 64437 files and directories currently installed.)
Removing opsipxeconfd (4.0.7.5-3) ...
Stopping opsi pxe configuration service...      (done).
dpkg: error processing package opsipxeconfd (--remove):
 subprocess installed pre-removal script was killed by signal (Killed)
dpkg: pkgconf: dependency problems, but removing anyway as you requested:
 opsipxeconfd depends on pkg-config; however:
  Package pkg-config is not installed.
  Package pkgconf which provides pkg-config is to be removed.

Removing pkgconf (0.9.12-6) ...
Removing 'diversion of /usr/bin/pkg-config to /usr/bin/pkg-config.real by pkgconf'
Removing 'diversion of /usr/share/aclocal/pkg.m4 to /usr/share/aclocal/pkg.real.m4 by pkgconf'
Removing 'diversion of /usr/share/man/man1/pkg-config.1.gz to /usr/share/man/man1/pkg-config.real.1.gz by pkgconf'
Removing 'diversion of /usr/share/pkg-config-crosswrapper to /usr/share/pkg-config-crosswrapper.real by pkgconf'
dpkg: tftpd: dependency problems, but removing anyway as you requested:
 opsipxeconfd depends on tftpd.

Removing tftpd (0.17-18+b2) ...
Errors were encountered while processing:
 opsipxeconfd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Processing triggers for man-db (2.7.6.1-2) ...

Current status: 1 (+1) broken.
Könnte man hier die Abhängigkeit mal wieder rausnehmen?
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1534
Registriert: 10 Jun 2015, 12:19

Re: opsi-linux-bootimage Abhängigkeiten

Beitrag von m.radtke »

Hi

ich würde an Deiner Stelle erstmal auf Debian 9 migrieren und dann opsi auf den opsi 4.1 Stand heben
am besten machst du eine kopie der SD Karte vorher

Code: Alles auswählen

http://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.1:/experimental/Debian_9.0/
Damit hast du dann auch die aktuellsten Pakete und vor allem alle.

Gruß
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
Cdn
Beiträge: 173
Registriert: 27 Okt 2013, 19:44

Re: opsi-linux-bootimage Abhängigkeiten

Beitrag von Cdn »

Auf Debian Stretch ist bereits migriert?

Code: Alles auswählen

cat /etc/debian_version
9.5
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1534
Registriert: 10 Jun 2015, 12:19

Re: opsi-linux-bootimage Abhängigkeiten

Beitrag von m.radtke »

dann installiere mal

Code: Alles auswählen

opsi-tftpd-hpa
und probiere dann ein Upgrade der Pakete vom offiziellen Repo
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
Cdn
Beiträge: 173
Registriert: 27 Okt 2013, 19:44

Re: opsi-linux-bootimage Abhängigkeiten

Beitrag von Cdn »

Ja genau da steckt das Problem. Es gibt die Datei nicht in /all

Code: Alles auswählen

 aptitude install opsi-tftpd-hpa
Couldn't find any package whose name is "opsi-tftpd-hpa", but there are 2 packages which contain "opsi-tftpd-hpa" in their name:
  opsi-tftpd-hpa:amd64 opsi-tftpd-hpa:i386
Unable to apply some actions, aborting
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1534
Registriert: 10 Jun 2015, 12:19

Re: opsi-linux-bootimage Abhängigkeiten

Beitrag von m.radtke »

Wie hast du denn das Repo eingebunden?

Eigentlich müsste es zur entsprechenden Architektur gezogen werden.
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
Cdn
Beiträge: 173
Registriert: 27 Okt 2013, 19:44

Re: opsi-linux-bootimage Abhängigkeiten

Beitrag von Cdn »

Ahh, ins exp. repo habe ich noch nicht geschaut. Super! Ja er upgraded dann opsipxeconfd auf 4.1.1.13, wenn ich das entsprechende Repo einbinde. Per Hand lässt sich das Paket so nicht installieren:

Code: Alles auswählen

dpkg -i opsi-tftpd-hpa_5.2.8-49_armhf.deb
Selecting previously unselected package opsi-tftpd-hpa.
dpkg: considering removing tftpd in favour of opsi-tftpd-hpa ...
dpkg: no, cannot proceed with removal of tftpd (--auto-deconfigure will help):
 opsipxeconfd depends on tftpd
  tftpd is to be removed.

dpkg: regarding opsi-tftpd-hpa_5.2.8-49_armhf.deb containing opsi-tftpd-hpa:
 opsi-tftpd-hpa conflicts with tftpd
  tftpd (version 0.17-18+b2) is present and installed.

dpkg: error processing archive opsi-tftpd-hpa_5.2.8-49_armhf.deb (--install):
 conflicting packages - not installing opsi-tftpd-hpa
Errors were encountered while processing:
 opsi-tftpd-hpa_5.2.8-49_armhf.deb
Ansonsten scheint es so zu funktionieren. Vielen Dank!
Antworten