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

#61 Post by DebianUser042923 »

Random_Troll wrote: 2023-05-23 04:44
DebianUser042923 wrote: 2023-05-23 03:19Oh MY WORD! raspi-firmware is installed right out of the box!
Please provide the exact URL from which you downloaded that ISO image. Thanks.
CynicalDebian gave me this link:
https://cdimage.debian.org/cdimage/book ... so-hybrid/

I chose this one:
https://cdimage.debian.org/cdimage/book ... 4-xfce.iso

That should be the exact one I have.

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

#62 Post by CynicalDebian »

@DebianUser042923
I think raspi-firmware is a red-herring. It is not an arm64 package, I just tested installing it on my amd64 box.

Will your try to apt upgrade and see if there are any issues with your kernel again?
Be seeing you...

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

Re: Debian 11.6.0, HP Computer, and Video Problems

#63 Post by DebianUser042923 »

CynicalDebian wrote: 2023-05-23 05:33 @DebianUser042923
I think raspi-firmware is a red-herring. It is not an arm64 package, I just tested installing it on my amd64 box.

Will your try to apt upgrade and see if there are any issues with your kernel again?
Before I try that. Do you think it would be safe for me to try installing timeshift first and make a restore point?

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

#64 Post by CynicalDebian »

DebianUser042923 wrote: Before I try that. Do you think it would be safe for me to try installing timeshift first and make a backup?
There is no problem with that.
Be seeing you...

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

Re: Debian 11.6.0, HP Computer, and Video Problems

#65 Post by DebianUser042923 »

CynicalDebian wrote: 2023-05-23 05:38
DebianUser042923 wrote: Before I try that. Do you think it would be safe for me to try installing timeshift first and make a backup?
There is no problem with that.
I don't have time tonight to do that. I'm currently on my linux mint system. Downloading the ISO file to compare with the one I already have.

I thought you might want to see what the default sources.list file is.

Here that is.

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

# 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.
I didn't know if you wanted me to change it before we try upgrading or not.

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

#66 Post by CynicalDebian »

Yeah this is normal. The idea is that non-free-firmware is added on the installation image and is downloaded for system functioning and is loaded ad-hoc as necessary, I guess it won't be added to your main sources.

Really I just want to see if you can get to the latest kernel and see if that fixes your video issues. If not we can try adding non-free-firmware to all elements of your sources.list
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

#67 Post by Random_Troll »

DebianUser042923 wrote: 2023-05-23 05:18I chose this one:
https://cdimage.debian.org/cdimage/book ... 4-xfce.iso

That should be the exact one I have.
Thank you.

I can confirm that the raspi-firmware package is installed by default when using that image, which is clearly a bug. I could remove the package and it caused no problems by being installed so I'm not sure why that happened for you. Can you remove that package in your new installation?

I will submit an installation report and file a bug about this to get it fixed. I'll repost here when that's done so you can add any more details to the bug report.

The bookworm installer is in development (hence the "RC2" tag) so some bugs are to be expected. The recommended way to install testing is to use the stable installer then upgrade the system afterwards.
Jeder nach seinen Fähigkeiten, jedem nach seinen Bedürfnissen.

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

Re: Debian 11.6.0, HP Computer, and Video Problems

#68 Post by Random_Troll »

Random_Troll wrote: 2023-05-23 06:10I will submit an installation report and file a bug about this to get it fixed.
Looks like @p.H has already reported this issue:

https://bugs.debian.org/cgi-bin/bugrepo ... ug=1032071

Hopefully it will be picked up and fixed.
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

#69 Post by DebianUser042923 »

With this Debian 12 I will first install timeshift and make a restore point. Then I will use synaptic package manager to do the upgrade. Reason: because that is what I did when the system got broken the last time. If it breaks then perhaps I can timeshift it back. Then I can try doing it from the terminal. I have a virtual machine in virtualbox of Debian 12. On that one I upgraded from the terminal and experienced no problems. Just saying... After this is done I will report back.

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

Re: Debian 11.6.0, HP Computer, and Video Problems

#70 Post by DebianUser042923 »

@CynicalDebian
@Random_Troll

It did it again. I tried updating from Synaptic Package Manager and boom! I got the same errors I got last time. I guess I will use timeshift to revert back and try from the terminal. It shouldn't make any difference but I used the terminal in VirtualBox, and all went well there. My theory is that Debian doesn't like my hardware.

Image

Image

Image

Image

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

Code: Select all

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
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
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

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

Re: Debian 11.6.0, HP Computer, and Video Problems

#71 Post by DebianUser042923 »

From the Terminal. Same Errors.

Code: Select all

$ sudo apt update
[sudo] password for gregory: 
Get:1 http://deb.debian.org/debian bookworm InRelease [189 kB]
Get:2 http://security.debian.org/debian-security bookworm-security InRelease [48.0 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-24-1403.04-F-2023-05-24-1403.04.pdiff [10.7 kB]
Get:7 http://deb.debian.org/debian bookworm/main Sources T-2023-05-24-1403.04-F-2023-05-24-1403.04.pdiff [10.7 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 Packages T-2023-05-24-1403.04-F-2023-05-24-1403.04.pdiff [4,649 B]
Get:8 http://deb.debian.org/debian bookworm/main amd64 Packages T-2023-05-24-1403.04-F-2023-05-24-1403.04.pdiff [4,649 B]
Get:9 http://deb.debian.org/debian bookworm/main Translation-en T-2023-05-24-1403.04-F-2023-05-24-1403.04.pdiff [33 B]
Get:9 http://deb.debian.org/debian bookworm/main Translation-en T-2023-05-24-1403.04-F-2023-05-24-1403.04.pdiff [33 B]
Fetched 493 kB in 3s (177 kB/s)                                                    
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
152 packages can be upgraded. Run 'apt list --upgradable' to see them.
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

Code: Select all

$ sudo apt upgrade
[sudo] password for gregory: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... 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.
The following NEW packages will be installed:
  appstream linux-headers-6.1.0-9-amd64 linux-headers-6.1.0-9-common linux-image-6.1.0-9-amd64
The following packages will be upgraded:
  adduser console-setup console-setup-linux debian-archive-keyring desktop-base dpkg dpkg-dev exim4-base exim4-config exim4-daemon-light firefox-esr firefox-esr-l10n-ar
  firefox-esr-l10n-ast firefox-esr-l10n-be firefox-esr-l10n-bg firefox-esr-l10n-bn firefox-esr-l10n-bs firefox-esr-l10n-ca firefox-esr-l10n-cs firefox-esr-l10n-cy firefox-esr-l10n-da
  firefox-esr-l10n-de firefox-esr-l10n-el firefox-esr-l10n-en-gb firefox-esr-l10n-eo firefox-esr-l10n-es-ar firefox-esr-l10n-es-cl firefox-esr-l10n-es-es firefox-esr-l10n-es-mx
  firefox-esr-l10n-et firefox-esr-l10n-eu firefox-esr-l10n-fa firefox-esr-l10n-fi firefox-esr-l10n-fr firefox-esr-l10n-ga-ie firefox-esr-l10n-gl firefox-esr-l10n-gu-in firefox-esr-l10n-he
  firefox-esr-l10n-hi-in firefox-esr-l10n-hr firefox-esr-l10n-hu firefox-esr-l10n-id firefox-esr-l10n-is firefox-esr-l10n-it firefox-esr-l10n-ja firefox-esr-l10n-kk firefox-esr-l10n-km
  firefox-esr-l10n-kn firefox-esr-l10n-ko firefox-esr-l10n-lt firefox-esr-l10n-lv firefox-esr-l10n-mk firefox-esr-l10n-mr firefox-esr-l10n-nb-no firefox-esr-l10n-ne-np firefox-esr-l10n-nl
  firefox-esr-l10n-nn-no firefox-esr-l10n-pa-in firefox-esr-l10n-pl firefox-esr-l10n-pt-br firefox-esr-l10n-pt-pt firefox-esr-l10n-ro firefox-esr-l10n-ru firefox-esr-l10n-si
  firefox-esr-l10n-sk firefox-esr-l10n-sl firefox-esr-l10n-sq firefox-esr-l10n-sr firefox-esr-l10n-sv-se firefox-esr-l10n-ta firefox-esr-l10n-te firefox-esr-l10n-th firefox-esr-l10n-tr
  firefox-esr-l10n-uk firefox-esr-l10n-vi firefox-esr-l10n-zh-cn firefox-esr-l10n-zh-tw fuse3 gimp-help-common gimp-help-sv gir1.2-javascriptcoregtk-4.0 gir1.2-packagekitglib-1.0
  gir1.2-webkit2-4.0 grub-common grub-pc grub-pc-bin grub2-common isc-dhcp-client isc-dhcp-common iso-codes keyboard-configuration less libdebconfclient0 libdpkg-perl libfreetype6
  libfuse3-3 libgssapi-krb5-2 libjack-jackd2-0 libjavascriptcoregtk-4.0-18 libjavascriptcoregtk-4.1-0 libk5crypto3 libkrb5-3 libkrb5support0 libldb2 libmousepad0 libncurses6 libncursesw6
  libopenexr-3-1-30 libpackagekit-glib2-18 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5positioning5 libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5svg5 libqt5widgets5
  libqt5xml5 libraw20 libsdl2-2.0-0 libsmbclient libssh-gcrypt-4 libtiff6 libtinfo6 libwbclient0 libwebkit2gtk-4.0-37 libwebkit2gtk-4.1-0 libwmflite-0.2-7 libwpebackend-fdo-1.0-1
  linux-compiler-gcc-12-x86 linux-headers-amd64 linux-image-amd64 linux-kbuild-6.1 linux-libc-dev manpages manpages-dev mousepad ncurses-base ncurses-bin ncurses-term packagekit
  packagekit-tools pci.ids qt5-gtk-platformtheme samba-libs vim-common vim-tiny xserver-common xserver-xorg-core xserver-xorg-legacy
152 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,868 kB/339 MB of archives.
After this operation, 477 MB of additional disk space will be used.
Do you want to continue? [Y/n]
If you want to see what it does during the Upgrade Process here is a link to Pastebin.

https://pastebin.com/8p0RAZJF

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

Re: Debian 11.6.0, HP Computer, and Video Problems

#72 Post by Random_Troll »

DebianUser042923 wrote: 2023-05-24 14:36It did it again
You are encountering a known bug in a development branch of Debian.

You now have these choices:
  • Use the stable release instead.
  • Install using the stable ISO image then upgrade the system to testing.
  • Install using the testing ISO image and remove the raspi-firmware package using the technique I have already explained.
The last option is probably the easiest, given that you already have a testing system installed.
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

#73 Post by DebianUser042923 »

Random_Troll wrote: 2023-05-24 15:03
DebianUser042923 wrote: 2023-05-24 14:36It did it again
You are encountering a known bug in a development branch of Debian.

You now have these choices:
  • Use the stable release instead.
  • Install using the stable ISO image then upgrade the system to testing.
  • Install using the testing ISO image and remove the raspi-firmware package using the technique I have already explained.
The last option is probably the easiest, given that you already have a testing system installed.
I can't remove raspi-firmware. I just tried reverting back to the beginning and removing it before upgrading. It won't allow you.

Code: Select all

$ sudo apt purge raspi-firmware
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 152 not upgraded.
After this operation, 22.8 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 238935 files and directories currently installed.)
Removing raspi-firmware (1.20220830+ds-1) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-7-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 c
ode 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:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
I don't know how to install the Stable and then Upgrade to Testing.

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

Re: Debian 11.6.0, HP Computer, and Video Problems

#74 Post by Random_Troll »

We've already been through this. You have to manually remove the kernel & initramfs scripts first.

Just _read_ the error message, it tells you which file needs removing to proceed further.
Last edited by Random_Troll on 2023-05-24 15:12, edited 1 time in total.
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

#75 Post by DebianUser042923 »

I don't have time now to build something. I have a net installer that I used to install Debian 11. I think a lot of what we are doing is a waste of time. I'm about 98% sure that problem I'm having with video issues is the Debian Kernel. As I explained what I did at the very beginning of this thread. I explained how MXLinux is based on Debian and uses the Debian Kernels. When I reverted that system way back to 4.9 the video problems went away. It was actually an Antix Kernel.

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

Re: Debian 11.6.0, HP Computer, and Video Problems

#76 Post by DebianUser042923 »

Random_Troll wrote: 2023-05-24 15:11 We've already been through this. You have to manually remove the kernel & initramfs scripts first. Read through the thread again.

Just _read_ the error message, it tells you which file needs removing to proceed further.
I am not going to do that. If I do anything I will build a whole new system. I don't trust that would solve the problem. Just more waste of time in my book.

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

Re: Debian 11.6.0, HP Computer, and Video Problems

#77 Post by DebianUser042923 »

I am going to erase the Debian 12 drive. Then I will use my netinstaller to install Debian 11. Then we can upgrade to Debian 12. If the system does this sort of thing to me again. I will not be using Debian on that computer. That is for sure!

I am getting ready to print this.
https://wiki.debian.org/DebianTesting
https://wiki.debian.org/DebianUpgrade
https://wiki.debian.org/DebianStability

Using the Gparted Live Disc, I deleted Debian 12. And I'm happy about it. :D That Live Disc is a pain in the butt.

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

#78 Post by CynicalDebian »

@DebianUser042923
DebianUser042923 wrote: I am not going to do that. If I do anything I will build a whole new system. I don't trust that would solve the problem. Just more waste of time in my book.
We can't confirm that your issue is with Debian until we fix this issue with apt, since it directly involves your kernel. Perhaps there is some underlying issue that it is getting at?

I appreciate your patience, the issues you are experiencing are very strange and frustrating. I am wondering why /boot/firmware doesn't exist on your system (it exists in mine), since you plan to install Debian 11 and upgrade to Debian 12 we will skip this mystery.

We are so close to release the installer should be very close to the final product, and many have already used it, the existence of raspi-firmware shouldn't outright brick your ability to upgrade your kernel, perhaps you did something strange with your partitions or how the disks are booting?

Anyways, I mainly want to see if you can get this system working on clean Debian 12 to see if the issues with the kernel have hopefully been fixed in a newer version.

Really narrowing down the issue at this point on stable likely involves some much more indepth technical debugging of your audio systems and the kernel which I think you would like to avoid :P. Sadly I think you have just some atrocious bad luck. Upgrading from 11 to 12 should be the safest upgrade path, remember to include non-free-firmware in your sources.list so that any non-free-firmware will be upgraded to the newer version aswell.
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

#79 Post by Random_Troll »

CynicalDebian wrote: 2023-05-24 16:17I am wondering why /boot/firmware doesn't exist on your system (it exists in mine)
The /boot/firmware/ directory is created by the raspi-firmware postinst script[0] but it is not removed by the postrm script.

Just remove it manually.

Details here: https://bugs.debian.org/cgi-bin/bugrepo ... ug=1035783

And the error suffered by the OP only manifests for configure operations, which is why I didn't encounter it.
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

#80 Post by DebianUser042923 »

CynicalDebian wrote: 2023-05-24 16:17 @DebianUser042923
DebianUser042923 wrote: I am not going to do that. If I do anything I will build a whole new system. I don't trust that would solve the problem. Just more waste of time in my book.
We can't confirm that your issue is with Debian until we fix this issue with apt, since it directly involves your kernel. Perhaps there is some underlying issue that it is getting at?

I appreciate your patience, the issues you are experiencing are very strange and frustrating. I am wondering why /boot/firmware doesn't exist on your system (it exists in mine), since you plan to install Debian 11 and upgrade to Debian 12 we will skip this mystery.

We are so close to release the installer should be very close to the final product, and many have already used it, the existence of raspi-firmware shouldn't outright brick your ability to upgrade your kernel, perhaps you did something strange with your partitions or how the disks are booting?

Anyways, I mainly want to see if you can get this system working on clean Debian 12 to see if the issues with the kernel have hopefully been fixed in a newer version.

Really narrowing down the issue at this point on stable likely involves some much more indepth technical debugging of your audio systems and the kernel which I think you would like to avoid :P. Sadly I think you have just some atrocious bad luck. Upgrading from 11 to 12 should be the safest upgrade path, remember to include non-free-firmware in your sources.list so that any non-free-firmware will be upgraded to the newer version aswell.
My partition is just one big one with the swap partition at the end. It was the default partition scheme that the installer wanted to created for new users. It made sense to me to just go with something simple since I wasn't planning on turning this into a full time OS on my computer.

I've been trying to read up on how to install and debian 11 and upgrade to debian 12. I have not been able to figure this out yet. Hopefully I'll be able to find something that explains it to me in terms I understand. The sources.list file still snows me. I find it a bit hard to understand. The wiki page for debian didn't help me much. I might need to watch a video about it. I don't learn things exactly the way "most" people do.

Post Reply