https://bugs.kde.org/show_bug.cgi?id=511208

            Bug ID: 511208
           Summary: Update dep resolution fails on nvidia drivers
    Classification: KDE Neon
           Product: neon
      Version First unspecified
       Reported In:
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Packages User Edition
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: ---

Created attachment 186225
  --> https://bugs.kde.org/attachment.cgi?id=186225&action=edit
Update logs and information

SUMMARY
Update resolution fails due to nvidia driver versions

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT
Update fails with dependency issues

EXPECTED RESULT
Update is successful without manual tinkering

SOFTWARE/OS VERSIONS
Operating System: KDE neon User Edition
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.14.0-33-generic (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-10750H CPU @ 2.60GHz
Memory: 64 GiB of RAM (62.6 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 3070 Laptop GPU
abibok@abibok-omenlaptop15ek1xxx:~$ 


ADDITIONAL INFORMATION
I'm rolling this setup for almost 3 yearst without a clean install. Migration
from 5 to 6 was seamless.

I used the following script to extract as much information about apt as i
could:
mkdir -p ~/nvidia-apt-bugreport && cd ~/nvidia-apt-bugreport

# 1) Basics: OS, kernel, package manager versions
( set -x
  date --iso=seconds
  cat /etc/os-release || true
  uname -a
  dpkg --print-architecture
  apt --version
  lsb_release -a 2>/dev/null || true
) > basics.txt 2>&1

# 2) Apt sources & pins
( set -x
  grep -R ^deb /etc/apt/sources.list /etc/apt/sources.list.d 2>/dev/null
  echo "---- preferences & pins ----"
  grep -R . /etc/apt/preferences /etc/apt/preferences.d 2>/dev/null || true
) > apt_sources_pins.txt 2>&1

# 3) Current nvidia/linux packages installed/available
( set -x
  dpkg -l | grep -E 'nvidia|linux-(image|headers|modules|signatures)' || true
  echo "---- holds ----"
  apt-mark showhold || true
  echo "---- policy (global priorities) ----"
  apt-cache policy
) > packages_installed_policy.txt 2>&1

# 4) Specific package version availability (both the module & signatures)
PK_MOD="linux-modules-nvidia-550-$(uname -r)"
PK_SIG="linux-signatures-nvidia-$(uname -r)"
( set -x
  echo "Querying: $PK_MOD and $PK_SIG"
  apt-cache policy "$PK_MOD" "$PK_SIG"
  apt-cache madison "$PK_MOD" "$PK_SIG"
  dpkg -s "$PK_MOD" 2>/dev/null || true
  dpkg -s "$PK_SIG" 2>/dev/null || true
) > package_versions.txt 2>&1

# 5) Resolver debug: simulate and show why it breaks
( set -x
  sudo apt-get update
  echo "---- simulate install of the module ----"
  sudo apt-get -s install "$PK_MOD"
  echo "---- simulate dist-upgrade with resolver debug ----"
  sudo apt-get -o Debug::pkgProblemResolver=1 -o Debug::pkgDepCache::Marker=1
-s dist-upgrade
) > resolver_debug.txt 2>&1

# 6) Driver & DKMS context (often relevant)
( set -x
  command -v ubuntu-drivers >/dev/null && ubuntu-drivers devices || true
  dkms status || true
  mokutil --sb-state 2>/dev/null || true
  nvidia-smi 2>/dev/null || true
) > driver_context.txt 2>&1

# 7) Recent apt logs
mkdir -p logs
cp -a /var/log/apt/history.log* /var/log/apt/term.log* logs/ 2>/dev/null ||
true

# 8) Pack it up
cd ..
tar czf nvidia-apt-bugreport.tar.gz nvidia-apt-bugreport
echo "Created: $PWD/nvidia-apt-bugreport.tar.gz"

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to