Liquorix problem

SolydXK is too quiet for you? SolydXK Enthusiast Editions, based on Debian Testing is for you! Here you can find news about Debian Testing and Unstable too, and also tests on SolydXK programs.
The support for SolydXK EE is provided by the community.
User avatar
ilu
Posts: 1671
Joined: 09 Oct 2013 12:45

Liquorix problem

Postby ilu » 16 Oct 2017 21:41

The way to install liquorix kernel on liquorix.net doesn't work anymore. man(8) of apt-secure indicates changes made in v 1.5 - now you have to get the key before the repo loads.

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9AE4078033F8024D

Anyway, kernel install did not work on EE (it worked on stretch).

Code: Select all

sudo apt-get install linux-image-liquorix-amd64 linux-headers-liquorix-amd64
...
The following additional packages will be installed:
  linux-headers-4.12.0-14.3-liquorix-amd64 linux-image-4.12.0-14.3-liquorix-amd64
...
The following NEW packages will be installed:
  linux-headers-4.12.0-14.3-liquorix-amd64 linux-headers-liquorix-amd64
  linux-image-4.12.0-14.3-liquorix-amd64 linux-image-liquorix-amd64
...
0 packages upgraded, 4 newly installed, 0 to remove and 16 not upgraded.
...
Fetching:1 https://liquorix.net/debian sid/main amd64 linux-image-4.12.0-14.3-liquorix-amd64 amd64 4.12-11 [47,9 MB]
Fetching:2 https://liquorix.net/debian sid/main amd64 linux-headers-4.12.0-14.3-liquorix-amd64 amd64 4.12-11 [7.839 kB]
Fetching:3 https://liquorix.net/debian sid/main amd64 linux-headers-liquorix-amd64 amd64 4.12-11 [145 kB]
Fetching:4 https://liquorix.net/debian sid/main amd64 linux-image-liquorix-amd64 amd64 4.12-11 [145 kB]
...
Unpacking linux-image-liquorix-amd64 (4.12-11) ...
linux-image-4.12.0-14.3-liquorix-amd64 (4.12-11) wird eingerichtet ...
/etc/kernel/postinst.d/dkms:
Error! Module version 0.42 for thinkpad_ec.ko
is not newer than what is already found in kernel 4.12.0-14.3-liquorix-amd64 (0.42).
You may override by specifying --force.
Error! Module version 0.42 for tp_smapi.ko
is not newer than what is already found in kernel 4.12.0-14.3-liquorix-amd64 (0.42).
You may override by specifying --force.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.12.0-14.3-liquorix-amd64
W: initramfs-tools failed to select a resume device
/etc/kernel/postinst.d/zz-update-grub:
...
Adding boot menu entry for EFI firmware configuration
done
linux-headers-4.12.0-14.3-liquorix-amd64 (4.12-11) wird eingerichtet ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.12.0-14.3-liquorix-amd64
linux-image-liquorix-amd64 (4.12-11) wird eingerichtet ...
linux-headers-liquorix-amd64 (4.12-11) wird eingerichtet ...

Should I specify --force? And where? The system is not a thinkpad.
And what about the initramfs-tools message? The system has 32 GB RAM so I did not use swap. Do I need to set RESUME=none? Where?

kurotsugi
Posts: 1952
Joined: 09 Jan 2014 00:17

Re: Liquorix problem

Postby kurotsugi » 17 Oct 2017 01:34

Code: Select all

/etc/kernel/postinst.d/dkms:
Error! Module version 0.42 for thinkpad_ec.ko
is not newer than what is already found in kernel 4.12.0-14.3-liquorix-amd64 (0.42).
You may override by specifying --force.
Error! Module version 0.42 for tp_smapi.ko
is not newer than what is already found in kernel 4.12.0-14.3-liquorix-amd64 (0.42).
You may override by specifying --force.

if you're not using them, you can ignore that part. the kernel needs to be generic (i.e: works in every system). to achieve that, it build every kernel modules in the source code. the kernel will detects the system and pick the driver automatically. if you're wondering, the core kernel is actually quite small, my old droid's kernel is only ~4mb. the big part of the kernel is actually the driver modules.

you can use "lsmod" command if you're unsure whether if you're using it or not.

Code: Select all

/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.12.0-14.3-liquorix-amd64
W: initramfs-tools failed to select a resume device
IIRC this is caused by resume mode defined in the kernel. the kernel should pick the resume device automatically but on this case, he forget where it should it be. if I'm not mistaken, you need to check /etc/initramfs-tools/conf.d/resume but I forgot the details. though, your system should works normally.

User avatar
ilu
Posts: 1671
Joined: 09 Oct 2013 12:45

Re: Liquorix problem

Postby ilu » 17 Oct 2017 03:44

Thank you, you are right, the system seems to run without problems so far.

User avatar
ilu
Posts: 1671
Joined: 09 Oct 2013 12:45

Re: Liquorix problem

Postby ilu » 17 Oct 2017 12:19

On stretch, the Liquorix Linux headers are held back - do you know the reason?

kurotsugi
Posts: 1952
Joined: 09 Jan 2014 00:17

Re: Liquorix problem

Postby kurotsugi » 18 Oct 2017 00:02

I'm not on stretch so I'm not sure. perhaps related with gcc or some other libs. the easiest way to know would be either using apt-get in simulation mode or using aptitude. aptitude's graphical mode is quite easy to use.

User avatar
ilu
Posts: 1671
Joined: 09 Oct 2013 12:45

Re: Liquorix problem

Postby ilu » 18 Oct 2017 15:20

apt -s upgrade says kernel and headers are kept back - seems the update manager is not on top of things.

Code: Select all

$ apt-cache depends linux-image-liquorix-amd64
linux-image-liquorix-amd64
  Depends: linux-image-4.13.0-7.2-liquorix-amd64
  Recommends: linux-headers-liquorix-amd64
$ apt-cache depends linux-image-4.13.0-7.2-liquorix-amd64
linux-image-4.13.0-7.2-liquorix-amd64
 |PreDepends: debconf
  PreDepends: <debconf-2.0>
    cdebconf
    debconf
  Depends: kmod
    kmod:i386
 |Depends: debconf
  Depends: <debconf-2.0>
    cdebconf
    debconf
 |Depends: initramfs-tools
  Depends: <linux-initramfs-tool>
    dracut
    initramfs-tools
    tiny-initramfs
  Conflicts: <hal>
  Conflicts: r8168-dkms
  Recommends: firmware-linux-free
  Suggests: ....

What could it be? debconf-2.0? That's not even in sid and any debconf should be enough? Kernel 4.13 in debian buster doesn't seem to have any special dependencies? That initramfs-tools problem was on another machine, so can't be the reason.
Nothing in the liquorix forums so far, they are kind of slow. But I'm not in a hurry so I'll better trust apt.

kurotsugi
Posts: 1952
Joined: 09 Jan 2014 00:17

Re: Liquorix problem

Postby kurotsugi » 19 Oct 2017 00:24

"apt-cache depends" doesn't tell you about the dependency clash. apt-get -s or aptitude in graphical mode does. if you find no dependency clash perhaps it's waiting for certain package. in EE we got new kernel (and subsequently many kernel related updates) today so that could be the reason.

debconf-2.0 is a virtual package and provided by either cdebconf or debconf. the dependency shows that any debconf higher than 0.5 is fine.

User avatar
ilu
Posts: 1671
Joined: 09 Oct 2013 12:45

Re: Liquorix problem

Postby ilu » 19 Oct 2017 13:33

I checked apt -s but it doesn't get me anywhere. The package doesn't exist? I'm trying to understand the message.

Code: Select all

apt install -s linux-headers-liquorix-amd64
[sudo] password for xxx:
Reading package lists... Done
Building dependency tree       
Reading state information... 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:
 linux-headers-liquorix-amd64 : Depends: linux-headers-4.13.0-7.2-liquorix-amd64 (= 4.13-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

apt install -s linux-headers-liquorix-amd64-4.13.0-7.2-liquorix-amd64
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package linux-headers-liquorix-amd64-4.13.0-7.2-liquorix-amd64
E: Couldn't find any package by glob 'linux-headers-liquorix-amd64-4.13.0-7.2-liquorix-amd64'
E: Couldn't find any package by regex 'linux-headers-liquorix-amd64-4.13.0-7.2-liquorix-amd64'

For the install think I will just wait until stevenpusser finishes his work here: https://build.opensuse.org/project/show/home:stevenpusser:codelite

kurotsugi
Posts: 1952
Joined: 09 Jan 2014 00:17

Re: Liquorix problem

Postby kurotsugi » 20 Oct 2017 00:13

go to apt's package list cache folder then delete all the content. it should reset apt. after that, do 'apt-get update' to download the new one and repeat the command above.

User avatar
ilu
Posts: 1671
Joined: 09 Oct 2013 12:45

Re: Liquorix problem

Postby ilu » 20 Oct 2017 00:51

Same result.

Code: Select all

apt install -s linux-headers-liquorix-amd64 linux-image-liquorix-amd64
Reading package lists... Done
Building dependency tree       
Reading state information... 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:
 linux-headers-liquorix-amd64 : Depends: linux-headers-4.13.0-7.2-liquorix-amd64 (= 4.13-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

kurotsugi
Posts: 1952
Joined: 09 Jan 2014 00:17

Re: Liquorix problem

Postby kurotsugi » 20 Oct 2017 00:54

that's weird. my result is like this

Code: Select all

apt install -s linux-headers-liquorix-amd64 linux-image-liquorix-amd64
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       
Reading state information... Done
The following additional packages will be installed:
  linux-headers-4.13.0-7.2-liquorix-amd64
  linux-image-4.13.0-7.2-liquorix-amd64
Suggested packages:
  linux-doc-4.13 crda
The following NEW packages will be installed:
  linux-headers-4.13.0-7.2-liquorix-amd64 linux-headers-liquorix-amd64
  linux-image-4.13.0-7.2-liquorix-amd64 linux-image-liquorix-amd64
0 upgraded, 4 newly installed, 0 to remove and 6 not upgraded.
Inst linux-image-4.13.0-7.2-liquorix-amd64 (4.13-2 kernel:unstable [amd64])
Inst linux-headers-4.13.0-7.2-liquorix-amd64 (4.13-2 kernel:unstable [amd64])
Inst linux-headers-liquorix-amd64 (4.13-2 kernel:unstable [amd64])
Inst linux-image-liquorix-amd64 (4.13-2 kernel:unstable [amd64])
Conf linux-image-4.13.0-7.2-liquorix-amd64 (4.13-2 kernel:unstable [amd64])
Conf linux-headers-4.13.0-7.2-liquorix-amd64 (4.13-2 kernel:unstable [amd64])
Conf linux-headers-liquorix-amd64 (4.13-2 kernel:unstable [amd64])
Conf linux-image-liquorix-amd64 (4.13-2 kernel:unstable [amd64])

User avatar
ilu
Posts: 1671
Joined: 09 Oct 2013 12:45

Re: Liquorix problem

Postby ilu » 20 Oct 2017 16:35

Your result is on EE?

This: https://unix.stackexchange.com/questions/374798/unable-to-install-linux-headers-because-of-unmet-dependencies seems to be the same issue for plain debian (just earlier kernel).

I might have to wait until stevepusser does the backport to stretch.

User avatar
MAYBL8
Posts: 1478
Joined: 10 Mar 2013 18:41
Location: Maryland Heights, MO USA
Contact:

Re: Liquorix problem

Postby MAYBL8 » 21 Oct 2017 12:30

I haven't messed with liquorix for a while or smxi but can you install with smxi?
I am going to go install smxi and see.


User avatar
ilu
Posts: 1671
Joined: 09 Oct 2013 12:45

Re: Liquorix problem

Postby ilu » 21 Oct 2017 15:26

I don't want to force an install since the source I quoted discussed package dependencies being wrong. And 4.13 is bleeding edge for a debian stable system which might very well be too much edge. So I'm waiting and watching this guys work: http://techpatterns.com/forums/about2614.html.

On this stable system I don't really need the newest kernel. The liquorix kernel in itself already did a lot for system performance under wine. I can't definitely say how much because I did some other improvements too but it's a significant difference. I'd just like to know the why of the error message.

kurotsugi
Posts: 1952
Joined: 09 Jan 2014 00:17

Re: Liquorix problem

Postby kurotsugi » 22 Oct 2017 08:35

yes...I'm on enthusiast.

User avatar
ilu
Posts: 1671
Joined: 09 Oct 2013 12:45

Re: Liquorix problem

Postby ilu » 01 Dec 2017 20:06

I'm guessing that the dependencies specified in the package were wrong indeed. Kernel 4.14 now tells me that it needs gcc-7 which is not available on stretch. 4.13 most probably was also compiled with gcc-7. Now stevenpusser provides liuorix compiled with gcc6 https://techpatterns.com/forums/about2614.html.


Return to “Testing zone”

Who is online

Users browsing this forum: No registered users and 3 guests