<p>DietPi-Logiciel | assistant domestique : problème d'installation</p>

Créé le 5 janv. 2018  ·  3Commentaires  ·  Source: MichaIng/DietPi

Création d'un rapport de bogue/problème :

Information requise:

  • Version DietPi : V159 | BananaPi Pro (armv7l)
  • Appareil SBC : BananaPi Pro (armv7l)
  • Alimentation utilisée (ex : 5v 1A RAVpower) ?
  • Carte SD utilisée (64 Go : Sandisk ultra)
  • Distribution (par exemple : Jessie) | uname -a ?

Informations supplémentaires (le cas échéant) :

  • Titre du logiciel : assistant à domicile
  • Ce problème peut-il être répliqué sur une nouvelle installation de DietPi ?

mon terminal :

 DietPi     | 19:08 | Fri 05/01/18
 ───────────────────────────────────────
 V159       | BananaPi Pro (armv7l)
 ───────────────────────────────────────
 IP Address | 192.168.1.4
 ───────────────────────────────────────

 Welcome to DietPi-Software


 DietPi-Software
─────────────────────────────────────────────────────
 Mode: Update & upgrade APT
 Please wait...

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  ca-certificates curl debconf debconf-i18n debconf-utils
  debian-archive-keyring gpgv initramfs-tools libc6 libcurl3 libcurl3-gnutls
  libdb5.3 libdns-export100 libexpat1 libffi6 libgcrypt20 libgnutls-deb0-28
  libgnutls-openssl27 libgssapi-krb5-2 libicu52 libirs-export91
  libisc-export95 libisccfg-export90 libk5crypto3 libkrb5-3 libkrb5support0
  libldap-2.4-2 libncurses5 libncursesw5 libpam-modules libpam-modules-bin
  libpam-systemd libpam0g librtmp1 libssl1.0.0 libsystemd0 libtasn1-6
  libtinfo5 libudev1 linux-image-sun7i linux-u-boot-bananapipro-default
  locales multiarch-support openssl passwd sensible-utils sudo systemd
  systemd-sysv tzdata udev unzip wget wpasupplicant
54 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 43.1 MB of archives.
After this operation, 10.2 kB of additional disk space will be used.
Get:1 http://security.debian.org/ jessie/updates/main sensible-utils all 0.0.9+deb8u1 [10.9 kB]
Get:2 http://ftp.debian.org/debian/ jessie/main libc6 armhf 2.19-18+deb8u10 [3,965 kB]
Get:3 http://apt.armbian.com/ jessie/main linux-image-sun7i armhf 5.35 [14.0 MB]
Get:4 http://ftp.debian.org/debian/ jessie/main libtinfo5 armhf 5.9+20140913-1+deb8u2 [271 kB]
Get:5 http://ftp.debian.org/debian/ jessie/main libncursesw5 armhf 5.9+20140913-1+deb8u2 [103 kB]
Get:6 http://ftp.debian.org/debian/ jessie/main libncurses5 armhf 5.9+20140913-1+deb8u2 [78.5 kB]
Get:7 http://ftp.debian.org/debian/ jessie/main libudev1 armhf 215-17+deb8u7 [53.1 kB]
Get:8 http://ftp.debian.org/debian/ jessie/main udev armhf 215-17+deb8u7 [853 kB]
Get:9 http://ftp.debian.org/debian/ jessie/main initramfs-tools all 0.120+deb8u3 [96.7 kB]
Get:10 http://ftp.debian.org/debian/ jessie/main libsystemd0 armhf 215-17+deb8u7 [83.1 kB]
Get:11 http://ftp.debian.org/debian/ jessie/main systemd armhf 215-17+deb8u7 [2,316 kB]
Get:12 http://ftp.debian.org/debian/ jessie/main systemd-sysv armhf 215-17+deb8u7 [36.7 kB]
Get:13 http://ftp.debian.org/debian/ jessie/main libpam-systemd armhf 215-17+deb8u7 [115 kB]
Get:14 http://ftp.debian.org/debian/ jessie/main debconf-utils all 1.5.56+deb8u1 [57.6 kB]
Get:15 http://ftp.debian.org/debian/ jessie/main debconf-i18n all 1.5.56+deb8u1 [206 kB]
Get:16 http://ftp.debian.org/debian/ jessie/main debconf all 1.5.56+deb8u1 [167 kB]
Get:17 http://ftp.debian.org/debian/ jessie/main libpam0g armhf 1.1.8-3.1+deb8u2+b1 [121 kB]
Get:18 http://ftp.debian.org/debian/ jessie/main libpam-modules-bin armhf 1.1.8-3.1+deb8u2+b1 [101 kB]
Get:19 http://ftp.debian.org/debian/ jessie/main libpam-modules armhf 1.1.8-3.1+deb8u2+b1 [290 kB]
Get:20 http://ftp.debian.org/debian/ jessie/main libdb5.3 armhf 5.3.28-9+deb8u1 [601 kB]
Get:21 http://ftp.debian.org/debian/ jessie/main libgcrypt20 armhf 1.6.3-2+deb8u4 [354 kB]
Get:22 http://ftp.debian.org/debian/ jessie/main libssl1.0.0 armhf 1.0.1t-1+deb8u7 [867 kB]
Get:23 http://ftp.debian.org/debian/ jessie/main libgnutls-openssl27 armhf 3.3.8-6+deb8u7 [140 kB]
Get:24 http://ftp.debian.org/debian/ jessie/main libtasn1-6 armhf 4.2-3+deb8u3 [43.3 kB]
Get:25 http://ftp.debian.org/debian/ jessie/main libgnutls-deb0-28 armhf 3.3.8-6+deb8u7 [635 kB]
Get:26 http://ftp.debian.org/debian/ jessie/main libgssapi-krb5-2 armhf 1.12.1+dfsg-19+deb8u4 [132 kB]
Get:27 http://ftp.debian.org/debian/ jessie/main libkrb5-3 armhf 1.12.1+dfsg-19+deb8u4 [261 kB]
Get:28 http://ftp.debian.org/debian/ jessie/main libkrb5support0 armhf 1.12.1+dfsg-19+deb8u4 [55.5 kB]
Get:29 http://ftp.debian.org/debian/ jessie/main libk5crypto3 armhf 1.12.1+dfsg-19+deb8u4 [111 kB]
Get:30 http://ftp.debian.org/debian/ jessie/main libldap-2.4-2 armhf 2.4.40+dfsg-1+deb8u3 [195 kB]
Get:31 http://ftp.debian.org/debian/ jessie/main curl armhf 7.38.0-4+deb8u8 [196 kB]
Get:32 http://ftp.debian.org/debian/ jessie/main librtmp1 armhf 2.4+20150115.gita107cef-1+deb8u1 [55.3 kB]
Get:33 http://ftp.debian.org/debian/ jessie/main libcurl3 armhf 7.38.0-4+deb8u8 [236 kB]
Get:34 http://ftp.debian.org/debian/ jessie/main libcurl3-gnutls armhf 7.38.0-4+deb8u8 [229 kB]
Get:35 http://ftp.debian.org/debian/ jessie/main libisc-export95 armhf 1:9.9.5.dfsg-9+deb8u14 [129 kB]
Get:36 http://ftp.debian.org/debian/ jessie/main libdns-export100 armhf 1:9.9.5.dfsg-9+deb8u14 [416 kB]
Get:37 http://ftp.debian.org/debian/ jessie/main libexpat1 armhf 2.1.0-6+deb8u4 [61.8 kB]
Get:38 http://ftp.debian.org/debian/ jessie/main libffi6 armhf 3.1-2+deb8u1 [18.8 kB]
Get:39 http://ftp.debian.org/debian/ jessie/main libicu52 armhf 52.1-8+deb8u6 [6,585 kB]
Get:40 http://ftp.debian.org/debian/ jessie/main libisccfg-export90 armhf 1:9.9.5.dfsg-9+deb8u14 [38.6 kB]
Get:41 http://ftp.debian.org/debian/ jessie/main libirs-export91 armhf 1:9.9.5.dfsg-9+deb8u14 [37.1 kB]
Get:42 http://ftp.debian.org/debian/ jessie/main gpgv armhf 1.4.18-7+deb8u4 [181 kB]
Get:43 http://ftp.debian.org/debian/ jessie/main debian-archive-keyring all 2017.5~deb8u1 [56.7 kB]
Get:44 http://ftp.debian.org/debian/ jessie/main multiarch-support armhf 2.19-18+deb8u10 [181 kB]
Get:45 http://ftp.debian.org/debian/ jessie/main passwd armhf 1:4.2-3+deb8u4 [935 kB]
Get:46 http://ftp.debian.org/debian/ jessie/main tzdata all 2017c-0+deb8u1 [232 kB]
Get:47 http://ftp.debian.org/debian/ jessie/main wget armhf 1.16-1+deb8u4 [476 kB]
Get:48 http://ftp.debian.org/debian/ jessie/main locales all 2.19-18+deb8u10 [3,930 kB]
Get:49 http://ftp.debian.org/debian/ jessie/main openssl armhf 1.0.1t-1+deb8u7 [659 kB]
Get:50 http://ftp.debian.org/debian/ jessie/main ca-certificates all 20141019+deb8u3 [207 kB]
Get:51 http://ftp.debian.org/debian/ jessie/main sudo armhf 1.8.10p3-1+deb8u5 [833 kB]
Get:52 http://ftp.debian.org/debian/ jessie/main unzip armhf 6.0-16+deb8u3 [139 kB]
Get:53 http://ftp.debian.org/debian/ jessie/main wpasupplicant armhf 2.3-1+deb8u5 [804 kB]
Get:54 http://apt.armbian.com/ jessie/main linux-u-boot-bananapipro-default armhf 5.35 [191 kB]
Fetched 43.1 MB in 15s (2,795 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 73987 files and directories currently installed.)
Preparing to unpack .../libc6_2.19-18+deb8u10_armhf.deb ...

LD_LIBRARY_PATH contains the traditional /lib directory,
but not the multiarch directory /lib/arm-linux-gnueabihf.
It is not safe to upgrade the C library in this situation;
please remove the /lib/directory from LD_LIBRARY_PATH and
try again.

dpkg: error processing archive /var/cache/apt/archives/libc6_2.19-18+deb8u10_armhf.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.19-18+deb8u10_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

 DietPi-Software
─────────────────────────────────────────────────────
 Mode: Checking for prerequisite software
 Please wait...

 [Info] SQlite will be installed
 [Info] Git will be installed
 [Info] Build-Essential will be installed
 [Info] FFmpeg will be installed

 DietPi-Services
─────────────────────────────────────────────────────
 Mode: stop
 Please wait...

 [Ok] stop : cron
 [Ok] stop : proftpd
 [Ok] stop : apache2
 [Ok] stop : mysql


 DietPi-Software
─────────────────────────────────────────────────────
 Mode: Install software
 Please wait...

 Build-Essentials: common packages for compile
 [Info] Please wait...

 #               processing | D i e t  P i             #

 [Info] APT is processing, please wait...

Preconfiguring packages ...
(Reading database ... 73987 files and directories currently installed.)
Preparing to unpack .../libc6_2.19-18+deb8u10_armhf.deb ...

LD_LIBRARY_PATH contains the traditional /lib directory,
but not the multiarch directory /lib/arm-linux-gnueabihf.
It is not safe to upgrade the C library in this situation;
please remove the /lib/directory from LD_LIBRARY_PATH and
try again.

dpkg: error processing archive /var/cache/apt/archives/libc6_2.19-18+deb8u10_armhf.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.19-18+deb8u10_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 [Failed] The apt cache may be corrupt, apt mirror offline, or you have held broken packages. DietPi-Software will now exit.

 [Info] Apt Log:
Preconfiguring packages ...
(Reading database ... 73987 files and directories currently installed.)
Preparing to unpack .../libc6_2.19-18+deb8u10_armhf.deb ...

LD_LIBRARY_PATH contains the traditional /lib directory,
but not the multiarch directory /lib/arm-linux-gnueabihf.
It is not safe to upgrade the C library in this situation;
please remove the /lib/directory from LD_LIBRARY_PATH and
try again.

dpkg: error processing archive /var/cache/apt/archives/libc6_2.19-18+deb8u10_armhf.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.19-18+deb8u10_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

 [Info] Please try:
 [Info] - Fixing apt package errors with 'apt-get install -f'
 [Info] - Change apt mirror: 'dietpi-config' > 'Networking: NAS/MISC' > 'Apt Mirror'
 [Info] - Clear and refresh apt 'apt-get update'
 [Info] - If problems persist, please create a Git ticket so DietPi can investigate the issue:
 - https://github.com/Fourdee/DietPi/issues

Question

Commentaire le plus utile

A eu le même problème, tout comme d'autres, voir : http://dietpi.com/phpbb/viewtopic.php?f=11&t=2632
Le problème a été résolu avec :

export LD_LIBRARY_PATH=/lib/aarch64-linux-gnu:/usr/lib:/usr/local/lib:/opt/vc/lib
ldconfig

Tous les 3 commentaires

@pgferr

veuillez supprimer le /lib/directory de LD_LIBRARY_PATH et réessayer.

Pouvez-vous s'il vous plaît essayer:

echo $LD_LIBRARY_PATH

unset LD_LIBRARY_PATH

echo $LD_LIBRARY_PATH

ldconfig -v

Pouvez-vous aussi jeter un œil ici :

https://github.com/Fourdee/DietPi/issues/1372#issuecomment -355222995

https://github.com/Fourdee/DietPi/issues/1329

https://github.com/Fourdee/DietPi/issues/1360

A eu le même problème, tout comme d'autres, voir : http://dietpi.com/phpbb/viewtopic.php?f=11&t=2632
Le problème a été résolu avec :

export LD_LIBRARY_PATH=/lib/aarch64-linux-gnu:/usr/lib:/usr/local/lib:/opt/vc/lib
ldconfig

Ceci est maintenant résolu pour la v6.x, c'était un bogue précédent que nous terminions avec l'exportation de LD_LIBRARY_PATH .

Marquage comme fermé.

Cette page vous a été utile?
0 / 5 - 0 notes