1.14" 240x135 Kernel Module install problem

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
miatachris
 
Posts: 4
Joined: Tue Nov 23, 2021 2:01 pm

1.14" 240x135 Kernel Module install problem

Post by miatachris »

I'm in the home stretch of getting the whole pi-hole kit going. The pi-hole is working (the installer whined about missing files, too, but it just kept going) and I'm running the scripts for the display. However, the script is erroring out due to the missing files and I'm not capable of going thru that script line-by-line.

I'll post a block of what the script read out before it quit.

Code: Select all

############# UPGRADING KERNEL ###############
Updating packages...
Upgrading packages...
PITFT E: Broken packages

PITFT Reading package lists...
PITFT Building dependency tree...
PITFT Reading state information...
PITFT Calculating upgrade...
PITFT Some packages could not be installed. This may mean that you have
PITFT requested an impossible situation or if you are using the unstable
PITFT distribution that some required packages have not yet been created
PITFT or been moved out of Incoming.
PITFT The following information may help to resolve the situation:
PITFT 
PITFT The following packages have unmet dependencies:
PITFT vlc-bin : Depends: libvlc-bin (= 3.0.16-1+rpi1+rpt1) but 3.0.16-1+rpi1+rpt2 is to be installed
PITFT vlc-plugin-skins2 : Depends: vlc-plugin-qt (= 3.0.16-1+rpi1+rpt2) but 3.0.16-1+rpi1+rpt1 is to be installed
PITFT Apt failed to install software!
pi@raspberrypi:~/Raspberry-Pi-Installer-Scripts $ 
I see now where a file can be sent, I'll include my first failed attempt, too.

I appreciate any/all help. If you need more info, I'll try to provide it.

-Christopher Reves

miatachris(at)gmail.com
invoice # 2707056
Attachments
failed session.pdf
(30.06 KiB) Downloaded 7 times

User avatar
miatachris
 
Posts: 4
Joined: Tue Nov 23, 2021 2:01 pm

Re: 1.14" 240x135 Kernel Module install problem

Post by miatachris »

Update: Here's the adafruit order number if that's a requirement.
2707056-6061259226

User avatar
adafruit_support_carter
 
Posts: 29457
Joined: Tue Nov 29, 2016 2:45 pm

Re: 1.14" 240x135 Kernel Module install problem

Post by adafruit_support_carter »

Just to check, did you update the system before running the installer script?
https://learn.adafruit.com/adafruit-min ... -3044137-7

What OS version are you using?

User avatar
miatachris
 
Posts: 4
Joined: Tue Nov 23, 2021 2:01 pm

Re: 1.14" 240x135 Kernel Module install problem

Post by miatachris »

I tried to update again this morning.

Code: Select all


Last login: Sat Jan  8 00:26:55 on console
miatachris@Christophers-iMac-3 ~ % ssh 192.168.1.123 -l pi
[email protected]'s password: 
Linux raspberrypi 5.10.63+ #1459 Wed Oct 6 16:40:27 BST 2021 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Dec 23 09:10:09 2021
pi@raspberrypi:~ $ sudo apt update -y
Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
108 packages can be upgraded. Run 'apt list --upgradable' to see them.
pi@raspberrypi:~ $ sudo apt-get update -y
Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Reading package lists... Done
pi@raspberrypi:~ $ sudo apt-get upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 vlc-bin : Depends: libvlc-bin (= 3.0.16-1+rpi1+rpt1) but 3.0.16-1+rpi1+rpt2 is to be installed
 vlc-plugin-skins2 : Depends: vlc-plugin-qt (= 3.0.16-1+rpi1+rpt2) but 3.0.16-1+rpi1+rpt1 is to be installed
E: Broken packages
pi@raspberrypi:~ $ 

[end first snippet]

[second snippet]

Code: Select all


This script downloads and installs
PiTFT Support using userspace touch
controls and a DTO for display drawing.
one of several configuration files.
Run time of up to 5 minutes. Reboot required!
seDisplay Type: MiniPiTFT 1.14" display
WARNING! WILL UPGRADE YOUR KERNEL TO LATEST
Rotation: 270
PITFT Checking init system...
Found systemd
/boot is mounted
PITFT System update
Updating apt indexes............
Reading package lists...
.........
PITFT Installing Python libraries & Software...
Installing Pre-requisite Software...This may take a few minutes!
PITFT Reading package lists...
PITFT Building dependency tree...
PITFT Reading state information...
PITFT bc is already the newest version (1.07.1-2+b1).
PITFT build-essential is already the newest version (12.9).
PITFT device-tree-compiler is already the newest version (1.6.0-1).
PITFT evtest is already the newest version (1:1.34-1).
PITFT fbi is already the newest version (2.10-4).
PITFT git is already the newest version (1:2.30.2-1).
PITFT libts-bin is already the newest version (1.22-1).
PITFT python3-dev is already the newest version (3.9.2-3).
PITFT python3-smbus is already the newest version (4.2-1+b1).
PITFT libraspberrypi-dev is already the newest version (1:2+git20211125~155417+14b90ff-2).
PITFT python3-pip is already the newest version (20.3.4-4+rpt1).
PITFT python3-spidev is already the newest version (20200602~200721-1).
PITFT 0 upgraded, 0 newly installed, 0 to remove and 108 not upgraded.
PITFT Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
PITFT Requirement already satisfied: evdev in /usr/local/lib/python3.9/dist-packages (1.4.0)
PITFT Installing display drivers and device tree overlay...
Compiling Device Tree Overlay
############# UPGRADING KERNEL ###############
Updating packages...
Upgrading packages...
PITFT E: Broken packages

PITFT Reading package lists...
PITFT Building dependency tree...
PITFT Reading state information...
PITFT Calculating upgrade...
PITFT Some packages could not be installed. This may mean that you have
PITFT requested an impossible situation or if you are using the unstable
PITFT distribution that some required packages have not yet been created
PITFT or been moved out of Incoming.
PITFT The following information may help to resolve the situation:
PITFT 
PITFT The following packages have unmet dependencies:
PITFT vlc-bin : Depends: libvlc-bin (= 3.0.16-1+rpi1+rpt1) but 3.0.16-1+rpi1+rpt2 is to be installed
PITFT vlc-plugin-skins2 : Depends: vlc-plugin-qt (= 3.0.16-1+rpi1+rpt2) but 3.0.16-1+rpi1+rpt1 is to be installed
PITFT Apt failed to install software!
pi@raspberrypi:~/Raspberry-Pi-Installer-Scripts $ 

[end second snippet]

libvlc-bin and vlc-plugin-qt seem to be the holdups.

I am using Raspbian lite, bullseye variant.

I do appreciate your attention and help.

-Christopher Reves
Last edited by Franklin97355 on Tue Jan 11, 2022 1:29 pm, edited 1 time in total.
Reason: corrected code tags to [code] and [/code]

User avatar
adafruit_support_carter
 
Posts: 29457
Joined: Tue Nov 29, 2016 2:45 pm

Re: 1.14" 240x135 Kernel Module install problem

Post by adafruit_support_carter »

It looks like something is happening with the OS upgrade. Try these slightly different upgrade commands and see if they run OK:

Code: Select all

sudo apt-get update
sudo apt-get dist-upgrade

User avatar
miatachris
 
Posts: 4
Joined: Tue Nov 23, 2021 2:01 pm

Re: 1.14" 240x135 Kernel Module install problem

Post by miatachris »

WOW that put it to work, it downloaded and installed for ~ 20 minutes and ran through > 100 files.

The screen is on now, and it is showing the normal things you would see at bootup, but the stats.py script is erroring now -

[snip]

pi@raspberrypi:~ $ sudo python3 ~pi/stats.py
Traceback (most recent call last):
File "/home/pi/stats.py", line 16, in <module>
import adafruit_rgb_display.st7789 as st7789
ModuleNotFoundError: No module named 'adafruit_rgb_display'
pi@raspberrypi:~ $ sudo reboot
pi@raspberrypi:~ $ Connection to 192.168.1.123 closed by remote host.
Connection to 192.168.1.123 closed.
miatachris@Christophers-iMac-3 ~ %

[snip]

It had previously complained about I2C, and I reran the config script and enabled I2C and that error cleared.

You're a huge help, so far, thank you!

-Christopher Reves

User avatar
adafruit_support_carter
 
Posts: 29457
Joined: Tue Nov 29, 2016 2:45 pm

Re: 1.14" 240x135 Kernel Module install problem

Post by adafruit_support_carter »

OK, OS update successful. Not try re-running the install script again to make sure all the necessary libraries get installed. I think before the install script was failing due to the OS upgrade step having issues.
https://learn.adafruit.com/adafruit-min ... le-install

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”