Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

(Pause Thread) Debian 11.6.0, and 12 HP Computer, and Video Problems

Need help with peripherals or devices?
Message
Author
User avatar
DebianUser042923
Posts: 77
Joined: 2023-04-30 01:30

Re: Debian 11.6.0, HP Computer, and Video Problems

#21 Post by DebianUser042923 »

sunrat wrote: 2023-05-08 03:54 MPV is not set up to use hardware as default, maybe that would help.
See:- https://wiki.debian.org/HardwareVideoAcceleration#mpv

I had an issue playing HD video on my ThinkPad Yoga 11e a while ago. I ended up creating mpv.conf file in ~/.config/mpv/ and it works well now.
My mpv.conf -

Code: Select all

vo=gpu
hwdec=vaapi
# Required for hwdec=vaapi to work when using vo=gpu
gpu-context=x11egl
ao=pulse
# Resample audio to catch up if audio/video go out of sync
video-sync=display-resample
#
# bilinear is fastest and also the lowest quality. 
# spline36 for medium quality/speed. 
# ewa_lanczossharp is best but really resource-demanding
scale=bilinear
cscale=bilinear
#
msg-level=vo=fatal
I just tried this for MPV Player. No Improvements.

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: Debian 11.6.0, HP Computer, and Video Problems

#22 Post by sunrat »

DebianUser042923 wrote: 2023-05-14 23:18
sunrat wrote: 2023-05-14 23:14 Did you try the mpv.conf file in my post above? As I said, that's what fixed it for me.
No, But I think that is an interesting thing to try. But IF it worked, it would only fix MPV, and my problem is effecting both MPV and VLC.
VLC has it's own acceleration settings.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

CynicalDebian
Posts: 263
Joined: 2023-03-02 05:26
Location: USA
Has thanked: 50 times
Been thanked: 60 times
Contact:

Re: Debian 11.6.0, HP Computer, and Video Problems

#23 Post by CynicalDebian »

@DebianUser042923

To me, this seems like a horribly buggy nightmare BIOS interacting with your intel audio device driver. Of course, the driver should hopefully be able to workaround such a problem.
DebianUser042923 wrote:I decided to go upstream on Debian and join these forums. I am currently trying Debian 11.6.0 and I am having the same problem as MXLinux and Linux Mint Debian. I guess this means that the problem is originating with this distribution, which is why I'm writing this post.
This is strange, really the only commonality between these distributions is the kernel version, and version of the firmware. The snd_hda_audio driver is IN the kernel, and the backport kernel should be rather close in version to whats on Linux Mint or Ubuntu. You appear to have all necessary firmware aswell. I feel like I am missing something obvious here.

If you have the time, you may test the audio on a Bookworm live CD to see if the issue is present there. You can find those here.

https://cdimage.debian.org/cdimage/book ... so-hybrid/
Be seeing you...

User avatar
DebianUser042923
Posts: 77
Joined: 2023-04-30 01:30

Re: Debian 11.6.0, HP Computer, and Video Problems

#24 Post by DebianUser042923 »

@sunrat I'm still new to these forums and haven't learned all the rules yet. Anyways, after my last reply to you, I tried your mpv.conf file and it didn't help. I tried to post about it but the forums didn't take. Had to wait until my other stuff got approved before I could write you back.

@CynicalDebian The way I think I understand it is, every MAJOR distribution compiles their own Kernel. In other words, Ubuntu has it's Kernel. PCLinuxOS has it's Kernel. Arch has it's Kernel. Some distributions use the kernels to the one's they are based off of. I think that is what Linux Mint does. MX Linux does the same.

Here in Debian, it seems, the higher the Kernel version, the worse my computer's audio and video, behaves.

I downloaded and tried: debian-live-bkworm-DI-rc2-amd64-xfce.iso

First I tried the live environment. I tried installing MPV and VLC. Of course it's only a temporary install, since it's a live environment. They both seemed to run however pulse audio wouldn't allow me to switch to HDMI sound. I put in a new SSD in the machine. I installed the OS, and updated it. Next I installed MPV and VLC. This system (sound and video) behaves a lot worse then Debian 11!

CynicalDebian
Posts: 263
Joined: 2023-03-02 05:26
Location: USA
Has thanked: 50 times
Been thanked: 60 times
Contact:

Re: Debian 11.6.0, HP Computer, and Video Problems

#25 Post by CynicalDebian »

DebianUser02923 wrote: First I tried the live environment. I tried installing MPV and VLC. Of course it's only a temporary install, since it's a live environment. They both seemed to run however pulse audio wouldn't allow me to switch to HDMI sound. I put in a new SSD in the machine. I installed the OS, and updated it. Next I installed MPV and VLC. This system (sound and video) behaves a lot worse then Debian 11!
If you are up to it, I am interested in seeing your kernel logs, perhaps some information can be gleaned.

Code: Select all

# journalctl -k > kernellog.txt
This will save all kernel messages from the last boot into a file. Which can be uploaded here or pasted into a pastebin.
Be seeing you...

User avatar
DebianUser042923
Posts: 77
Joined: 2023-04-30 01:30

Re: Debian 11.6.0, HP Computer, and Video Problems

#26 Post by DebianUser042923 »

@CynicalDebian

I'm not sure that we should keep using Debian 12 for this. I'm experiencing some other troubles with it. Anyhow since you didn't specify which OS you wanted me to create a log on, I choose the latest one I just installed.

Distro: Debian GNU/Linux 12 (bookworm)
Kernel: 6.1.0-9-amd64

Link to PasteBin
https://pastebin.com/kBCJARAg

Here is the problem I've been having with Debian 12. I got these errors when I was updating from synaptic package manager. I don't know what to do about the so called "dependency problems with the kernel".

Code: Select all

E: linux-image-6.1.0-9-amd64: installed linux-image-6.1.0-9-amd64 package post-installation script subprocess returned error exit status 1
E: linux-image-amd64: dependency problems - leaving unconfigured
E: initramfs-tools: installed initramfs-tools package post-installation script subprocess returned error exit status 1
I also got this error message:

Code: Select all

sudo apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
Get:4 http://deb.debian.org/debian bookworm/main amd64 DEP-11 Metadata [4,507 kB]
Fetched 4,507 kB in 6s (783 kB/s)             
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
N: Repository 'Debian bookworm' changed its 'firmware component' value from 'non-free' to 'non-free-firmware'
N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split
I guess I fixed it by doing this.

Code: Select all

sudo nano /etc/apt/apt.conf.d/no-bookworm-firmware.conf

Code: Select all

cat /etc/apt/apt.conf.d/no-bookworm-firmware.conf
APT::Get::Update::SourceListWarnings::NonFreeFirmware "false";

CynicalDebian
Posts: 263
Joined: 2023-03-02 05:26
Location: USA
Has thanked: 50 times
Been thanked: 60 times
Contact:

Re: Debian 11.6.0, HP Computer, and Video Problems

#27 Post by CynicalDebian »

DebianUser042923 wrote: I'm not sure that we should keep using Debian 12 for this. I'm experiencing some other troubles with it. Anyhow since you didn't specify which OS you wanted me to create a log on, I choose the latest one I just installed.
I didn't specify since I would be fine with either. I am happy to help you debug 12 or 11.

I don't see anything strange in your kernel logs, but perhaps this strange kernels issue you have run in to have something to do with this. How exactly did you install bookworm?
N: Repository 'Debian bookworm' changed its 'firmware component' value from 'non-free' to 'non-free-firmware'
N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookwor ... free-split
Do you have non-free-firmware in your sources.list? If you do, then you have hid the message correctly.

Please try this command on Bookworm:

Code: Select all

# apt reinstall linux-image-amd64
and let us see the output, perhaps it will clue us into the dependency issues with the kernel.
Be seeing you...

User avatar
DebianUser042923
Posts: 77
Joined: 2023-04-30 01:30

Re: Debian 11.6.0, HP Computer, and Video Problems

#28 Post by DebianUser042923 »

At this point it doesn't matter to me if we work on Debian 11 or 12.

This is Debian 12:

I installed bookworm like this:
https://i.postimg.cc/fyZ0rn51/Installer.png

It doesn't look to me like I have non-free-firmware in my sources.list. But you can see for yourself.

Code: Select all

cat /etc/apt/sources.list
#deb cdrom:[Debian GNU/Linux 12 _Bookworm_ - Official Snapshot amd64 LIVE/INSTALL Binary 20230428-08:11]/ bookworm main non-free-firmware

deb http://deb.debian.org/debian/ bookworm main
deb-src http://deb.debian.org/debian/ bookworm main

deb http://security.debian.org/debian-security bookworm-security main
deb-src http://security.debian.org/debian-security bookworm-security main

# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main
deb-src http://deb.debian.org/debian/ bookworm-updates main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

Code: Select all

sudo apt update
[sudo] password for gregory: 
Get:1 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:2 http://deb.debian.org/debian bookworm InRelease [189 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [49.6 kB]
Get:4 http://deb.debian.org/debian bookworm/main Sources.diff/Index [63.6 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 Packages.diff/Index [63.6 kB]
Get:6 http://deb.debian.org/debian bookworm/main Translation-en.diff/Index [63.6 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 Packages T-2023-05-18-1402.56-F-2023-05-17-1402.44.pdiff [17.6 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 Packages T-2023-05-18-1402.56-F-2023-05-17-1402.44.pdiff [17.6 kB]
Get:8 http://deb.debian.org/debian bookworm/main Translation-en T-2023-05-18-1402.56-F-2023-05-18-1402.56.pdiff [35 B]
Get:8 http://deb.debian.org/debian bookworm/main Translation-en T-2023-05-18-1402.56-F-2023-05-18-1402.56.pdiff [35 B]
Get:9 http://deb.debian.org/debian bookworm/main amd64 DEP-11 Metadata [4,506 kB]
Get:10 http://deb.debian.org/debian bookworm/main Sources [9,652 kB]                                                                                                                         
Fetched 14.7 MB in 17s (851 kB/s)                                                                                                                                                            
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.

Code: Select all

sudo apt reinstall linux-image-amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  appstream libappstream4 libglib2.0-bin libstemmer0d libxmlb2 libyaml-0-2 packagekit packagekit-tools
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for linux-image-amd64:amd64

CynicalDebian
Posts: 263
Joined: 2023-03-02 05:26
Location: USA
Has thanked: 50 times
Been thanked: 60 times
Contact:

Re: Debian 11.6.0, HP Computer, and Video Problems

#29 Post by CynicalDebian »

@DebianUser042923

Strange strange strange, since you definitely appear to need non-free-firmware for your igpu, yet the bookworm installer should have added it automatically.

Will you add the non-free-firmware component to your sources.list? IT will look like this:

Code: Select all

deb http://deb.debian.org/debian/ bookworm main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware

deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware

# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware

Code: Select all

# apt install isenkram
# isenkram-autoinstall-firmware
# apt reinstall linux-image-6.1.0-9-amd64
Be seeing you...

User avatar
DebianUser042923
Posts: 77
Joined: 2023-04-30 01:30

Re: Debian 11.6.0, HP Computer, and Video Problems

#30 Post by DebianUser042923 »

@CynicalDebian

I added the non-free-firmware component to the sources.list

Code: Select all

deb http://deb.debian.org/debian/ bookworm-updates main
deb-src http://deb.debian.org/debian/ bookworm-updates main

deb http://deb.debian.org/debian/ bookworm main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware

deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware

# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
sudo apt update

Code: Select all

sudo apt update
[sudo] password for gregory:  
Get:1 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:2 http://deb.debian.org/debian bookworm InRelease [189 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [49.6 kB]
Get:4 http://deb.debian.org/debian bookworm/main Sources.diff/Index [63.6 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 Packages.diff/Index [63.6 kB]
Get:6 http://deb.debian.org/debian bookworm/main Translation-en.diff/Index [63.6 kB]
Get:7 http://deb.debian.org/debian bookworm/main Sources T-2023-05-20-2002.59-F-2023-05-19-0202.56.pdiff [10.7 kB]
Get:7 http://deb.debian.org/debian bookworm/main Sources T-2023-05-20-2002.59-F-2023-05-19-0202.56.pdiff [10.7 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 Packages T-2023-05-20-2002.59-F-2023-05-19-0202.56.pdiff [41.9 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 Packages T-2023-05-20-2002.59-F-2023-05-19-0202.56.pdiff [41.9 kB]
Get:9 http://deb.debian.org/debian bookworm/main Translation-en T-2023-05-20-2002.59-F-2023-05-19-0202.56.pdiff [64 B]
Get:9 http://deb.debian.org/debian bookworm/main Translation-en T-2023-05-20-2002.59-F-2023-05-19-0202.56.pdiff [64 B]
Get:10 http://deb.debian.org/debian bookworm/non-free-firmware Sources [6,156 B]
Get:11 http://deb.debian.org/debian bookworm/main amd64 DEP-11 Metadata [4,510 kB]
Get:12 http://deb.debian.org/debian bookworm/non-free-firmware amd64 Packages [6,228 B]
Get:13 http://deb.debian.org/debian bookworm/non-free-firmware Translation-en [20.9 kB]
Get:14 http://deb.debian.org/debian bookworm/non-free-firmware amd64 DEP-11 Metadata [15.5 kB]
Fetched 5,088 kB in 8s (676 kB/s)                                              
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
32 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:18
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:15
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:23
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:15
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:18
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:23
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
sudo apt install isenkram

Code: Select all

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  distro-info-data gir1.2-appstream-1.0 gir1.2-gudev-1.0 isenkram-cli
  python-apt-common python3-apt
Suggested packages:
  python-apt-doc
The following NEW packages will be installed:
  distro-info-data gir1.2-appstream-1.0 gir1.2-gudev-1.0 isenkram isenkram-cli
  python-apt-common python3-apt
0 upgraded, 7 newly installed, 0 to remove and 32 not upgraded.
3 not fully installed or removed.
Need to get 318 kB of archives.
After this operation, 2,311 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian bookworm/main amd64 distro-info-data all 0.58 [5,848 B]
Get:2 http://deb.debian.org/debian bookworm/main amd64 gir1.2-appstream-1.0 amd64 0.16.1-1 [27.6 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 gir1.2-gudev-1.0 amd64 237-2 [5,372 B]
Get:4 http://deb.debian.org/debian bookworm/main amd64 python-apt-common all 2.5.3 [63.6 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 python3-apt amd64 2.5.3 [158 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 isenkram-cli all 0.51 [46.2 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 isenkram all 0.51 [11.2 kB]
Fetched 318 kB in 1s (433 kB/s)  
Preconfiguring packages ...
Selecting previously unselected package distro-info-data.
(Reading database ... 265196 files and directories currently installed.)
Preparing to unpack .../0-distro-info-data_0.58_all.deb ...
Unpacking distro-info-data (0.58) ...
Selecting previously unselected package gir1.2-appstream-1.0:amd64.
Preparing to unpack .../1-gir1.2-appstream-1.0_0.16.1-1_amd64.deb ...
Unpacking gir1.2-appstream-1.0:amd64 (0.16.1-1) ...
Selecting previously unselected package gir1.2-gudev-1.0:amd64.
Preparing to unpack .../2-gir1.2-gudev-1.0_237-2_amd64.deb ...
Unpacking gir1.2-gudev-1.0:amd64 (237-2) ...
Selecting previously unselected package python-apt-common.
Preparing to unpack .../3-python-apt-common_2.5.3_all.deb ...
Unpacking python-apt-common (2.5.3) ...
Selecting previously unselected package python3-apt.
Preparing to unpack .../4-python3-apt_2.5.3_amd64.deb ...
Unpacking python3-apt (2.5.3) ...
Selecting previously unselected package isenkram-cli.
Preparing to unpack .../5-isenkram-cli_0.51_all.deb ...
Unpacking isenkram-cli (0.51) ...
Selecting previously unselected package isenkram.
Preparing to unpack .../6-isenkram_0.51_all.deb ...
Unpacking isenkram (0.51) ...
Setting up initramfs-tools (0.142) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-6.1.0-9-amd64 (6.1.27-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-9-amd64.
dkms: autoinstall for kernel: 6.1.0-9-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-9-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-9-amd64 (--configure):
 installed linux-image-6.1.0-9-amd64 package post-installation script subprocess returned error exit status 1
Setting up distro-info-data (0.58) ...
dpkg: dependency problems prevent configuration of linux-image-amd64:
 linux-image-amd64 depends on linux-image-6.1.0-9-amd64 (= 6.1.27-1); however:
  Package linux-image-6.1.0-9-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up gir1.2-gudev-1.0:amd64 (237-2) ...
Setting up gir1.2-appstream-1.0:amd64 (0.16.1-1) ...
Setting up python-apt-common (2.5.3) ...
Setting up python3-apt (2.5.3) ...
Setting up isenkram-cli (0.51) ...
Setting up isenkram (0.51) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-9-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-6.1.0-9-amd64
 linux-image-amd64
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo isenkram-autoinstall-firmware

Code: Select all

info: did not find any firmware files requested by loaded kernel modules.  exiting
sudo apt reinstall linux-image-6.1.0-9-amd64

Code: Select all

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 32 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for linux-image-6.1.0-9-amd64:amd64
* I don't know if this has anything to do with it. I booted into the 6.1.0-7-amd64 kernel to perform these instructions.

Random_Troll
Posts: 444
Joined: 2023-02-07 13:35
Been thanked: 105 times

Re: Debian 11.6.0, HP Computer, and Video Problems

#31 Post by Random_Troll »

DebianUser042923 wrote: 2023-05-20 21:45

Code: Select all

raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-9-amd64 (--configure):
 installed linux-image-6.1.0-9-amd64 package post-installation script subprocess returned error exit status 1
Why is the raspi-firmware package installed? How did you install that? The package is for the arm64 architecture.

Check

Code: Select all

apt policy raspi-firmware
dpkg --print-foreign-architectures
Can it be removed?

Code: Select all

apt purge raspi-firmware
dpkg --remove-architecture arm64
apt update
Jeder nach seinen Fähigkeiten, jedem nach seinen Bedürfnissen.

User avatar
DebianUser042923
Posts: 77
Joined: 2023-04-30 01:30

Re: Debian 11.6.0, HP Computer, and Video Problems

#32 Post by DebianUser042923 »

@Random_Troll

I have no idea how raspi-firmware got installed. I didn't do it. But I don't like removing anything that the system installed as a dependency. I have the system backed up by timeshift so I'll look into it a little more and give your idea a try, maybe.

CynicalDebian
Posts: 263
Joined: 2023-03-02 05:26
Location: USA
Has thanked: 50 times
Been thanked: 60 times
Contact:

Re: Debian 11.6.0, HP Computer, and Video Problems

#33 Post by CynicalDebian »

@DebianUser042923

Can we see your full sources.list? It looks like you have duplicate entries.

Can you try to

Code: Select all

# apt upgrade
and see what happens? I would also like to see the apt-policy for raspi-firmware.
Be seeing you...

Random_Troll
Posts: 444
Joined: 2023-02-07 13:35
Been thanked: 105 times

Re: Debian 11.6.0, HP Computer, and Video Problems

#34 Post by Random_Troll »

This will show if it has been installed as a dependency of another package:

Code: Select all

aptitude why raspi-firmware
Or check to see if the package can be removed without actually attempting it:

Code: Select all

apt purge --simulate raspi-firmware
Jeder nach seinen Fähigkeiten, jedem nach seinen Bedürfnissen.

User avatar
DebianUser042923
Posts: 77
Joined: 2023-04-30 01:30

Re: Debian 11.6.0, HP Computer, and Video Problems

#35 Post by DebianUser042923 »

@CynicalDebian

cat /etc/apt/sources.list

Code: Select all

#deb cdrom:[Debian GNU/Linux 12 _Bookworm_ - Official Snapshot amd64 LIVE/INSTALL Binary 20230428-08:11]/ bookworm main non-free-firmware

deb http://deb.debian.org/debian/ bookworm main
deb-src http://deb.debian.org/debian/ bookworm main

deb http://security.debian.org/debian-security bookworm-security main
deb-src http://security.debian.org/debian-security bookworm-security main

# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main
deb-src http://deb.debian.org/debian/ bookworm-updates main

deb http://deb.debian.org/debian/ bookworm main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware

deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware

# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
sudo apt upgrade

Code: Select all

[sudo] password for gregory: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  firmware-nvidia-gsp
The following packages will be upgraded:
  amd64-microcode exim4-base exim4-config exim4-daemon-light firmware-amd-graphics firmware-atheros firmware-bnx2 firmware-bnx2x firmware-brcm80211 firmware-cavium firmware-intel-sound
  firmware-ipw2x00 firmware-ivtv firmware-iwlwifi firmware-libertas firmware-linux-nonfree firmware-misc-nonfree firmware-myricom firmware-netronome firmware-netxen
  firmware-nvidia-tesla-gsp firmware-qcom-soc firmware-qlogic firmware-realtek firmware-samsung firmware-siano firmware-ti-connectivity less libqt5positioning5 libssh-gcrypt-4
  libwpebackend-fdo-1.0-1
31 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
3 not fully installed or removed.
Need to get 175 MB of archives.
After this operation, 64.5 kB of additional disk space will be used.
Do you want to continue? [Y/n] y

Code: Select all

Get:1 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-ipw2x00 all 20230210-5 [280 kB]
Get:2 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-misc-nonfree all 20230210-5 [13.0 MB]
Get:3 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-linux-nonfree all 20230210-5 [49.5 kB]                                                                          
Get:4 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-amd-graphics all 20230210-5 [11.9 MB]                                                                           
Get:5 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-ivtv all 20230210-5 [138 kB]                                                                                    
Get:6 http://deb.debian.org/debian bookworm/main amd64 less amd64 590-2 [131 kB]                                                                                                             
Get:7 http://deb.debian.org/debian bookworm/non-free-firmware amd64 amd64-microcode amd64 3.20230414.1 [117 kB]                                                                              
Get:8 http://deb.debian.org/debian bookworm/main amd64 exim4-config all 4.96-15 [255 kB]                                                                                                     
Get:9 http://deb.debian.org/debian bookworm/main amd64 exim4-base amd64 4.96-15 [1,115 kB]                                                                                                   
Get:10 http://deb.debian.org/debian bookworm/main amd64 exim4-daemon-light amd64 4.96-15 [603 kB]                                                                                            
Get:11 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-atheros all 20230210-5 [16.8 MB]                                                                               
Get:12 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-bnx2 all 20230210-5 [133 kB]                                                                                   
Get:13 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-bnx2x all 20230210-5 [1,738 kB]                                                                                
Get:14 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-brcm80211 all 20230210-5 [5,356 kB]                                                                            
Get:15 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-cavium all 20230210-5 [681 kB]                                                                                 
Get:16 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-intel-sound all 20230210-5 [821 kB]                                                                            
Get:17 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-iwlwifi all 20230210-5 [9,336 kB]                                                                              
Get:18 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-libertas all 20230210-5 [31.2 MB]                                                                              
Get:19 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-myricom all 20230210-5 [302 kB]                                                                                
Get:20 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-netronome all 20230210-5 [1,743 kB]                                                                            
Get:21 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-netxen all 20230210-5 [1,273 kB]                                                                               
Get:22 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-nvidia-tesla-gsp amd64 525.105.17-1 [41.1 MB]                                                                  
Get:23 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-qcom-soc all 20230210-5 [28.3 MB]                                                                              
Get:24 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-qlogic all 20230210-5 [4,240 kB]                                                                               
Get:25 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-realtek all 20230210-5 [1,491 kB]                                                                              
Get:26 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-samsung all 20230210-5 [551 kB]                                                                                
Get:27 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-siano all 20230210-5 [354 kB]                                                                                  
Get:28 http://deb.debian.org/debian bookworm/non-free-firmware amd64 firmware-ti-connectivity all 20230210-5 [1,068 kB]                                                                      
Get:29 http://deb.debian.org/debian bookworm/main amd64 libqt5positioning5 amd64 5.15.8+dfsg-3 [203 kB]                                                                                      
Get:30 http://deb.debian.org/debian bookworm/main amd64 libssh-gcrypt-4 amd64 0.10.5-2 [218 kB]                                                                                              
Get:31 http://deb.debian.org/debian bookworm/main amd64 libwpebackend-fdo-1.0-1 amd64 1.14.2-1 [33.6 kB]                                                                                     
Fetched 175 MB in 2min 54s (1,001 kB/s)                                                                                                                                                      
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 265396 files and directories currently installed.)
Preparing to unpack .../00-firmware-ipw2x00_20230210-5_all.deb ...
Unpacking firmware-ipw2x00 (20230210-5) over (20230210-4) ...
Preparing to unpack .../01-firmware-misc-nonfree_20230210-5_all.deb ...
Unpacking firmware-misc-nonfree (20230210-5) over (20230210-4) ...
Preparing to unpack .../02-firmware-linux-nonfree_20230210-5_all.deb ...
Unpacking firmware-linux-nonfree (20230210-5) over (20230210-4) ...
Preparing to unpack .../03-firmware-amd-graphics_20230210-5_all.deb ...
Unpacking firmware-amd-graphics (20230210-5) over (20230210-4) ...
Preparing to unpack .../04-firmware-ivtv_20230210-5_all.deb ...
Unpacking firmware-ivtv (20230210-5) over (20230210-4) ...
Preparing to unpack .../05-less_590-2_amd64.deb ...
Unpacking less (590-2) over (590-1.2) ...
Preparing to unpack .../06-amd64-microcode_3.20230414.1_amd64.deb ...
Unpacking amd64-microcode (3.20230414.1) over (3.20220411.2) ...
Preparing to unpack .../07-exim4-config_4.96-15_all.deb ...
Unpacking exim4-config (4.96-15) over (4.96-14) ...
Preparing to unpack .../08-exim4-base_4.96-15_amd64.deb ...
Unpacking exim4-base (4.96-15) over (4.96-14) ...
Preparing to unpack .../09-exim4-daemon-light_4.96-15_amd64.deb ...
Unpacking exim4-daemon-light (4.96-15) over (4.96-14) ...
Preparing to unpack .../10-firmware-atheros_20230210-5_all.deb ...
Unpacking firmware-atheros (20230210-5) over (20230210-4) ...
Preparing to unpack .../11-firmware-bnx2_20230210-5_all.deb ...
Unpacking firmware-bnx2 (20230210-5) over (20230210-4) ...
Preparing to unpack .../12-firmware-bnx2x_20230210-5_all.deb ...
Unpacking firmware-bnx2x (20230210-5) over (20230210-4) ...
Preparing to unpack .../13-firmware-brcm80211_20230210-5_all.deb ...
Unpacking firmware-brcm80211 (20230210-5) over (20230210-4) ...
Preparing to unpack .../14-firmware-cavium_20230210-5_all.deb ...
Unpacking firmware-cavium (20230210-5) over (20230210-4) ...
Preparing to unpack .../15-firmware-intel-sound_20230210-5_all.deb ...
Unpacking firmware-intel-sound (20230210-5) over (20230210-4) ...
Preparing to unpack .../16-firmware-iwlwifi_20230210-5_all.deb ...
Unpacking firmware-iwlwifi (20230210-5) over (20230210-4) ...
Preparing to unpack .../17-firmware-libertas_20230210-5_all.deb ...
Unpacking firmware-libertas (20230210-5) over (20230210-4) ...
Preparing to unpack .../18-firmware-myricom_20230210-5_all.deb ...
Unpacking firmware-myricom (20230210-5) over (20230210-4) ...
Preparing to unpack .../19-firmware-netronome_20230210-5_all.deb ...
Unpacking firmware-netronome (20230210-5) over (20230210-4) ...
Preparing to unpack .../20-firmware-netxen_20230210-5_all.deb ...
Unpacking firmware-netxen (20230210-5) over (20230210-4) ...
Preparing to unpack .../21-firmware-nvidia-tesla-gsp_525.105.17-1_amd64.deb ...
Unpacking firmware-nvidia-tesla-gsp (525.105.17-1) over (525.85.12-1) ...
Preparing to unpack .../22-firmware-qcom-soc_20230210-5_all.deb ...
Unpacking firmware-qcom-soc (20230210-5) over (20230210-4) ...
Preparing to unpack .../23-firmware-qlogic_20230210-5_all.deb ...
Unpacking firmware-qlogic (20230210-5) over (20230210-4) ...
Preparing to unpack .../24-firmware-realtek_20230210-5_all.deb ...
Unpacking firmware-realtek (20230210-5) over (20230210-4) ...
Preparing to unpack .../25-firmware-samsung_20230210-5_all.deb ...
Unpacking firmware-samsung (20230210-5) over (20230210-4) ...
Preparing to unpack .../26-firmware-siano_20230210-5_all.deb ...
Unpacking firmware-siano (20230210-5) over (20230210-4) ...
Preparing to unpack .../27-firmware-ti-connectivity_20230210-5_all.deb ...
Unpacking firmware-ti-connectivity (20230210-5) over (20230210-4) ...
Preparing to unpack .../28-libqt5positioning5_5.15.8+dfsg-3_amd64.deb ...
Unpacking libqt5positioning5:amd64 (5.15.8+dfsg-3) over (5.15.8+dfsg-2) ...
Preparing to unpack .../29-libssh-gcrypt-4_0.10.5-2_amd64.deb ...
Unpacking libssh-gcrypt-4:amd64 (0.10.5-2) over (0.10.4-2) ...
Preparing to unpack .../30-libwpebackend-fdo-1.0-1_1.14.2-1_amd64.deb ...
Unpacking libwpebackend-fdo-1.0-1:amd64 (1.14.2-1) over (1.14.0-1) ...
Setting up libssh-gcrypt-4:amd64 (0.10.5-2) ...
Setting up firmware-netxen (20230210-5) ...
Setting up firmware-samsung (20230210-5) ...
Setting up initramfs-tools (0.142) ...
update-initramfs: deferring update (trigger activated)
Setting up firmware-iwlwifi (20230210-5) ...
Setting up linux-image-6.1.0-9-amd64 (6.1.27-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-9-amd64.
dkms: autoinstall for kernel: 6.1.0-9-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-9-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-9-amd64 (--configure):
 installed linux-image-6.1.0-9-amd64 package post-installation script subprocess returned error exit status 1
Setting up firmware-bnx2x (20230210-5) ...
Setting up firmware-netronome (20230210-5) ...
Setting up firmware-siano (20230210-5) ...
Setting up libqt5positioning5:amd64 (5.15.8+dfsg-3) ...
Setting up firmware-atheros (20230210-5) ...
Setting up firmware-misc-nonfree (20230210-5) ...
Setting up less (590-2) ...
dpkg: dependency problems prevent configuration of linux-image-amd64:
 linux-image-amd64 depends on linux-image-6.1.0-9-amd64 (= 6.1.27-1); however:
  Package linux-image-6.1.0-9-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up firmware-nvidia-tesla-gsp (525.105.17-1) ...
Setting up amd64-microcode (3.20230414.1) ...
update-initramfs: deferring update (trigger activated)
amd64-microcode: microcode will be updated at next boot
Setting up firmware-cavium (20230210-5) ...
Setting up firmware-myricom (20230210-5) ...
Setting up libwpebackend-fdo-1.0-1:amd64 (1.14.2-1) ...
Setting up firmware-brcm80211 (20230210-5) ...
Setting up firmware-realtek (20230210-5) ...
Setting up firmware-qlogic (20230210-5) ...
Setting up firmware-ipw2x00 (20230210-5) ...
Setting up exim4-config (4.96-15) ...
Setting up firmware-libertas (20230210-5) ...
Setting up firmware-qcom-soc (20230210-5) ...
Setting up firmware-bnx2 (20230210-5) ...
Setting up firmware-intel-sound (20230210-5) ...
Setting up firmware-ti-connectivity (20230210-5) ...
Setting up firmware-amd-graphics (20230210-5) ...
Setting up firmware-ivtv (20230210-5) ...
Setting up exim4-base (4.96-15) ...
exim4-base.service is a disabled or a static unit not running, not starting it.
Setting up firmware-linux-nonfree (20230210-5) ...
Setting up exim4-daemon-light (4.96-15) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for libc-bin (2.36-9) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-9-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-6.1.0-9-amd64
 linux-image-amd64
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
@Random_Troll

aptitude why raspi-firmware

Code: Select all

bash: aptitude: command not found
sudo aptitude why raspi-firmware

Code: Select all

[sudo] password for gregory: 
sudo: aptitude: command not found
apt purge --simulate raspi-firmware

Code: Select all

NOTE: This is only a simulation!
      apt needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  raspi-firmware*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
3 not fully installed or removed.
Purg raspi-firmware [1.20220830+ds-1]
Conf linux-image-6.1.0-9-amd64 (6.1.27-1 Debian:testing [amd64])
Conf linux-image-amd64 (6.1.27-1 Debian:testing [amd64])
Conf initramfs-tools (0.142 Debian:testing [all])

CynicalDebian
Posts: 263
Joined: 2023-03-02 05:26
Location: USA
Has thanked: 50 times
Been thanked: 60 times
Contact:

Re: Debian 11.6.0, HP Computer, and Video Problems

#36 Post by CynicalDebian »

@DebianUser042923

Aptitude is a front-end for apt with some fancy stuff. You will have to install it with

Code: Select all

# apt install aptitude
It definitely looks like "raspi-firmware" is interfering with your kernel somehow, and it also looks we have successfully updated all your non-free-firmware! Before you remove it it would be nice to know *why* it is installed.

Code: Select all

# apt install aptitude
# apt policy raspi-firmware
# aptitude why raspi-firmware
Be seeing you...

User avatar
DebianUser042923
Posts: 77
Joined: 2023-04-30 01:30

Re: Debian 11.6.0, HP Computer, and Video Problems

#37 Post by DebianUser042923 »

@CynicalDebian

Please look at my sources.list file. I gave it to you. There is something wrong in there! It is causing this to happen whenever I sudo apt update.

Code: Select all

W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:18
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:15
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:23
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:15
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:18
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:23
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22

CynicalDebian
Posts: 263
Joined: 2023-03-02 05:26
Location: USA
Has thanked: 50 times
Been thanked: 60 times
Contact:

Re: Debian 11.6.0, HP Computer, and Video Problems

#38 Post by CynicalDebian »

@DebianUser042923
I see, I missed it on my first look.

non-free-firmware is an optional component, meaning you did not need to add a new line to add it. You simply need to remove the duplicate lines bookworm, bookworm-updates and bookworm-security, and append "non-free-firmware" to the original lines you have. Your sources.list should have only the lines I listed originally.

https://wiki.debian.org/SourcesList
Be seeing you...

User avatar
DebianUser042923
Posts: 77
Joined: 2023-04-30 01:30

Re: Debian 11.6.0, HP Computer, and Video Problems

#39 Post by DebianUser042923 »

CynicalDebian wrote: 2023-05-21 03:21 @DebianUser042923
I see, I missed it on my first look.

non-free-firmware is an optional component, meaning you did not need to add a new line to add it. You simply need to remove the duplicate lines bookworm, bookworm-updates and bookworm-security, and append "non-free-firmware" to the original lines you have. Your sources.list should have only the lines I listed originally.

https://wiki.debian.org/SourcesList
I am sorry but you are loosing me on the sources.list file thing. I know what the file is for! The problem is what you told me to do is add the stuff you gave me to add. It causes duplicates. But not exact duplicates. The URLs are different from the originals. And that doesn't even include the non-free stuff.

CynicalDebian
Posts: 263
Joined: 2023-03-02 05:26
Location: USA
Has thanked: 50 times
Been thanked: 60 times
Contact:

Re: Debian 11.6.0, HP Computer, and Video Problems

#40 Post by CynicalDebian »

@DebianUser042923

Code: Select all

#deb cdrom:[Debian GNU/Linux 12 _Bookworm_ - Official Snapshot amd64 LIVE/INSTALL Binary 20230428-08:11]/ bookworm main non-free-firmware

(Original ->) deb http://deb.debian.org/debian/ bookworm main
(Original ->)deb-src http://deb.debian.org/debian/ bookworm main

(Original ->) deb http://security.debian.org/debian-security bookworm-security main
(Original ->)deb-src http://security.debian.org/debian-security bookworm-security main

# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
(Original ->) deb http://deb.debian.org/debian/ bookworm-updates main
(Original ->)deb-src http://deb.debian.org/debian/ bookworm-updates main

(Duplicate ->) deb http://deb.debian.org/debian/ bookworm main non-free-firmware
(Duplicate ->)deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware

(Duplicate ->) deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
(Duplicate ->)deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware

# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
(Duplicate ->) deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
(Duplicate ->)deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
Here is the exact copy of your sources.list with some notes I have added.

The lines marked original should be altered to look like this all that is necessary is appending "non-free-firmware" onto the end.

Code: Select all

deb http://deb.debian.org/debian/ bookworm main non-free-firmware
and the lines marked "duplicate" should be removed. I linked the sources.list page since it explains "components", these are not part of the url.

All deb-src lines can be safely removed and or commented out unless you plan to build packages from source. You can comment stuff out by prefixing it with # character.

Code: Select all

#deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware
Be seeing you...

Post Reply