Welcome!
Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.2 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

conflict between MX and Debian linux-headers linux-image packages

Help for Current Versions of MX
User avatar
zorzi
Forum Regular
Forum Regular
Posts: 226
Joined: Fri Apr 20, 2018 7:41 pm

Re: conflict between MX and Debian linux-headers linux-image packages

#11

Post by zorzi » Tue May 14, 2019 3:37 am

Hello,

Since yesterday MX kernel updates, there seems to be a conflict. Some of MX 4.19 kernels updates removed Debian 4.9 kernel packages...

I'm not able to reinstall Debian 4.9 kernel:

Code: Select all

sudo apt-get install linux-image-amd64 -s
[sudo] Mot de passe  : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation : 

Les paquets suivants contiennent des dépendances non satisfaites :
 linux-image-amd64 : Dépend: linux-image-4.19.0-5-amd64 mais il n'est pas installable
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
Thanks for checking
You do not have the required permissions to view the files attached to this post.
Desktop: HP Pavilion a6435 (Athlon64 2x 2,6Ghz, Radeon R7-240, Ram 4 Go, HD 500 Go) / MX Linux 17

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 19089
Joined: Fri Dec 15, 2006 8:07 pm

Re: conflict between MX and Debian linux-headers linux-image packages

#12

Post by Stevo » Tue May 14, 2019 8:08 pm

We updated the metapackages to the latest version, which pulls in the 4.19.0-5 backported MX kernel. I'll ask Tim to move the metapackage to testing to avoid the conflict with the Debian 4.9 kernel.

After it's moved to the test repo, you should be able to remove and reinstall the metapackages to get the 4.9 versions, and you can remove the 4.19 kernel if desired.

User avatar
zorzi
Forum Regular
Forum Regular
Posts: 226
Joined: Fri Apr 20, 2018 7:41 pm

Re: conflict between MX and Debian linux-headers linux-image packages

#13

Post by zorzi » Wed May 15, 2019 2:05 am

Ok, Thanks Stevo.

Sorry if my question looks stupid, but isn't it possible to provide specific MX kernel metapackages, to avoid conflicts ?
Desktop: HP Pavilion a6435 (Athlon64 2x 2,6Ghz, Radeon R7-240, Ram 4 Go, HD 500 Go) / MX Linux 17

User avatar
baldyeti
Forum Regular
Forum Regular
Posts: 191
Joined: Sat Dec 05, 2009 4:37 pm

Re: conflict between MX and Debian linux-headers linux-image packages

#14

Post by baldyeti » Wed May 15, 2019 4:44 pm

Color me confused, again. I am running 4.9 and want to stay there, with a vanilla debian kernel which suits me just fine. Yet apt wants to re-install seemingly the same version I already have. What gives ?

Code: Select all

root@chtulhu:~# uname -a
Linux chtulhu 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1 (2019-04-12) x86_64 GNU/Linux
root@chtulhu:~# apt policy linux-image-amd64
linux-image-amd64:
  Installed: 4.9+80+deb9u7
  Candidate: 4.9+80+deb9u7
  Version table:
 *** 4.9+80+deb9u7 500
        500 http://ftp.be.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
     4.9+80+deb9u6 500
        500 http://security.debian.org stretch/updates/main amd64 Packages
root@chtulhu:~# apt-get install linux-image-amd64 -s
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-image-amd64 is already the newest version (4.9+80+deb9u7).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
root@chtulhu:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  adobe-flash-properties-gtk adobe-flashplugin intel-microcode
  linux-headers-4.9.0-9-amd64 linux-headers-4.9.0-9-common linux-image-4.9.0-9-amd64
  linux-kbuild-4.9 mx-snapshot
8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 60.2 MB of archives.
After this operation, 906 kB of additional disk space will be used.
Do you want to continue? [Y/n]

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4907
Joined: Wed Jul 12, 2006 4:05 pm

Re: conflict between MX and Debian linux-headers linux-image packages

#15

Post by timkb4cq » Wed May 15, 2019 6:40 pm

Debian just uploaded a new version with a lot of security related updates to the security repo. It's still 4.9.168 but not the same one you have installed.

Code: Select all

linux-image-4.9.0-9-amd64_4.9.168-1+deb9u2
 linux (4.9.168-1+deb9u2) stretch-security; urgency=high
 .
   [ Salvatore Bonaccorso ]
   * Revert "block/loop: Use global lock for ioctl() operation."
     (Closes: #928125)
 .
 linux (4.9.168-1+deb9u1) stretch-security; urgency=high
 .
   * [x86] Update speculation mitigations:
     - x86/MCE: Save microcode revision in machine check records
     - x86/cpufeatures: Hide AMD-specific speculation flags
     - x86/bugs: Add AMD's variant of SSB_NO
     - x86/bugs: Add AMD's SPEC_CTRL MSR usage
     - x86/bugs: Switch the selection of mitigation from CPU vendor to CPU
       features
     - x86/bugs: Fix the AMD SSBD usage of the SPEC_CTRL MSR
     - x86/microcode/intel: Add a helper which gives the microcode revision
     - x86/microcode/intel: Check microcode revision before updating sibling
       threads
     - x86/microcode: Make sure boot_cpu_data.microcode is up-to-date
     - x86/microcode: Update the new microcode revision unconditionally
     - x86/mm: Use WRITE_ONCE() when setting PTEs
     - bitops: avoid integer overflow in GENMASK(_ULL)
     - x86/speculation: Simplify the CPU bug detection logic
     - locking/atomics, asm-generic: Move some macros from <linux/bitops.h> to a
       new <linux/bits.h> file
     - x86/speculation: Remove SPECTRE_V2_IBRS in enum spectre_v2_mitigation
     - x86/cpu: Sanitize FAM6_ATOM naming
     - Documentation/l1tf: Fix small spelling typo
     - x86/speculation: Apply IBPB more strictly to avoid cross-process data
       leak
     - x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation
     - x86/speculation: Propagate information about RSB filling mitigation to
       sysfs
     - x86/speculation/l1tf: Drop the swap storage limit restriction when
       l1tf=off
     - x86/speculation: Update the TIF_SSBD comment
     - x86/speculation: Clean up spectre_v2_parse_cmdline()
     - x86/speculation: Remove unnecessary ret variable in cpu_show_common()
     - x86/speculation: Move STIPB/IBPB string conditionals out of
       cpu_show_common()
     - x86/speculation: Disable STIBP when enhanced IBRS is in use
     - x86/speculation: Rename SSBD update functions
     - x86/speculation: Reorganize speculation control MSRs update
     - x86/Kconfig: Select SCHED_SMT if SMP enabled
     - sched: Add sched_smt_active()
     - x86/speculation: Rework SMT state change
     - x86/l1tf: Show actual SMT state
     - x86/speculation: Reorder the spec_v2 code
     - x86/speculation: Mark string arrays const correctly
     - x86/speculataion: Mark command line parser data __initdata
     - x86/speculation: Unify conditional spectre v2 print functions
     - x86/speculation: Add command line control for indirect branch speculation
     - x86/speculation: Prepare for per task indirect branch speculation control
     - x86/process: Consolidate and simplify switch_to_xtra() code
     - x86/speculation: Avoid __switch_to_xtra() calls
     - x86/speculation: Prepare for conditional IBPB in switch_mm()
     - x86/speculation: Split out TIF update
     - x86/speculation: Prepare arch_smt_update() for PRCTL mode
     - x86/speculation: Prevent stale SPEC_CTRL msr content
     - x86/speculation: Add prctl() control for indirect branch speculation
     - x86/speculation: Enable prctl mode for spectre_v2_user
     - x86/speculation: Add seccomp Spectre v2 user space protection mode
     - x86/speculation: Provide IBPB always command line options
     - kvm: x86: Report STIBP on GET_SUPPORTED_CPUID
     - x86/msr-index: Cleanup bit defines
     - x86/speculation: Consolidate CPU whitelists
     - Documentation: Move L1TF to separate directory
     - cpu/speculation: Add 'mitigations=' cmdline option
     - x86/speculation: Support 'mitigations=' cmdline option
     - x86/speculation/mds: Add 'mitigations=' support for MDS
     - x86/cpu/bugs: Use __initconst for 'const' init data
   * [x86] Mitigate Microarchitectural Data Sampling (MDS) vulnerabilities
     (CVE-2018-12126, CVE-2018-12127, CVE-2018-12130, CVE-2019-11091):
     - x86/speculation/mds: Add basic bug infrastructure for MDS
     - x86/speculation/mds: Add BUG_MSBDS_ONLY
     - x86/kvm: Expose X86_FEATURE_MD_CLEAR to guests
     - x86/speculation/mds: Add mds_clear_cpu_buffers()
     - x86/speculation/mds: Clear CPU buffers on exit to user
     - x86/kvm/vmx: Add MDS protection when L1D Flush is not active
     - x86/speculation/mds: Conditionally clear CPU buffers on idle entry
     - x86/speculation/mds: Add mitigation control for MDS
     - x86/speculation/mds: Add sysfs reporting for MDS
     - x86/speculation/mds: Add mitigation mode VMWERV
     - Documentation: Add MDS vulnerability documentation
     - x86/speculation/mds: Add mds=full,nosmt cmdline option
     - x86/speculation: Move arch_smt_update() call to after mitigation decisions
     - x86/speculation/mds: Add SMT warning message
     - x86/speculation/mds: Fix comment
     - x86/speculation/mds: Print SMT vulnerable on MSBDS with mitigations off
     - x86/mds: Add MDSUM variant to the MDS documentation
     - Documentation: Correct the possible MDS sysfs values
     - x86/speculation/mds: Fix documentation typo
   * [x86] msr-index: Remove dependency on <linux/bits.h>
   * [rt] Update patches to apply on top of the speculation mitigation changes
   * [x86] mce, tlb: Ignore ABI changes
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
baldyeti
Forum Regular
Forum Regular
Posts: 191
Joined: Sat Dec 05, 2009 4:37 pm

Re: conflict between MX and Debian linux-headers linux-image packages

#16

Post by baldyeti » Thu May 16, 2019 2:16 pm

Thanks Tim. I see plain debian stretch wants this kernel revision, too. I got confused by install telling me i already had the latest version whereas upgrade wanted to download it. And Stevo's post made me wrongly suspect a side-effect of MX's handling of the kernel meta-package.

Post Reply

Return to “MX Help”