Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem installing 'pivccu-modules-raspberrypi' #47

Closed
dermalikmann opened this issue Oct 10, 2019 · 1 comment
Closed

Problem installing 'pivccu-modules-raspberrypi' #47

dermalikmann opened this issue Oct 10, 2019 · 1 comment

Comments

@dermalikmann
Copy link

Explanation

English

When installing pivccu an error occurs. The error message indicates that dpkg can't create a new version of pivccu as something is missing. This seems to be a problem related to rpikernelhack, but is limited (as to my knowledge) to the installation of this package.
Below i've put a workaround, if someone has the exact same problem.

German

Bei der Installation von pivccu tritt ein Fehler auf. Die Fehlermeldung zeigt an, dass dpkg keine neue Version von pivccu erstellen kann, da etwas fehlt. Dies scheint ein Problem im Zusammenhang mit rpikernelhack zu sein, ist aber (meines Wissens) auf die Installation dieses Pakets beschränkt.
Unten habe ich einen Workaround aufgeschrieben, falls jemand das gleiche Problem haben sollte.

System:

  • RasPi 3 B+
> lsb_release -a                               
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 10 (buster)
Release:	10
Codename:	buster
> uname -a
Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux
> ls -la                                       
insgesamt 12
drwxr-xr-x 2 malik malik 4096 Okt 10 21:40 .
drwxr-xr-x 7 malik malik 4096 Okt 10 21:41 ..
-rw-r--r-- 1 malik malik 2716 Jan 23  2019 pivccu-modules-raspberrypi_2.0-11_armhf.deb

Error:

> dpkg -i pivccu-modules-raspberrypi_2.0-11_armhf.deb 
(Lese Datenbank ... 113372 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von pivccu-modules-raspberrypi_2.0-11_armhf.deb ...
dpkg-divert: Warnung: Bitte geben Sie »--no-rename« explizit an, die Vorgabe wird in 1.20.x
auf »--rename« geändert werden
»Umleitung von /boot/overlays/pivccu-raspberrypi.dtbo zu /usr/share/rpikernelhack/overlays/pivccu-raspberrypi.dtbo durch rpikernelhack« wird beibehalten
Entpacken von pivccu-modules-raspberrypi (2.0-11) ...
dpkg: Fehler beim Bearbeiten des Archivs pivccu-modules-raspberrypi_2.0-11_armhf.deb (--install):
 »/usr/share/rpikernelhack/overlays/pivccu-raspberrypi.dtbo.dpkg-new« konnte nicht angelegt werden (während der Verarbeitung von »./boot/overlays/pivccu-raspberrypi.dtbo«): Datei oder Verzeichnis nicht gefunden
Fehler traten auf beim Bearbeiten von:
 pivccu-modules-raspberrypi_2.0-11_armhf.deb
root@raspberrypi:~/pivccu-modules-raspberrypi# cat /usr/share/rpikernelhack/

Workaround

mkdir /usr/share/rpikernelhack/
ar -x pivccu-modules-raspberrypi_2.0-11_armhf.deb 
unxz data.tar.xz
tar xfv 
cp -r boot/overlays /usr/share/rpikernelhack/
dpkg -i pivccu-modules-raspberrypi_2.0-11_armhf.deb
rm -rf boot var lib control.tar.xz debian-binary data.tar /usr/share/rpikernelhack/
@alexreinert
Copy link
Owner

Fixed in pivccu-modules-raspberrypi version 2.0-12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants