Bug 4538

Summary: 'x11-driver-video' and 'x11-driver-video-nouveau' depend on old kernel
Product: Mageia Reporter: Bogdan Gruescu <gruescubogdan>
Component: RPM PackagesAssignee: Thomas Backlund <tmb>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Normal CC: bittwister2, dmorganec, thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: rpm-setup CVE:
Status comment:

Description Bogdan Gruescu 2012-02-16 06:10:06 CET
Description of problem:

The new kernel 'kernel-desktop-3.2.6-2.mga2' was intalled as an update, I rebooted the computer.
When trying to remove the old kernel 'kernel-desktop-3.2.6-0.rc1.1.mga2' i got the following error.

Because of their dependencies, the following package(s) also need to be removed:

- x11-driver-video-1.0.0-37.mga2.x86_64
- x11-driver-video-nouveau-0.0.16-0.20111203.2.mga2.x86_64

0B of additional disk space will be used.


Version-Release number of selected component (if applicable):
kernel-desktop-3.2.6-2.mga2-1-1.mga2


How reproducible:

Steps to Reproduce:
1. try to get rid of the unused kernel 'kernel-desktop-3.2.6-0.rc1.1.mga2'
2. a request to remove 2 packages related to x11-driver-video will appear
Comment 1 Bit Twister 2012-02-16 07:23:24 CET
I'll confirm that bug and add I am running ATI/AMD driver no less.

Thought I would urpme x11-driver-video-nouveau but it wanted to remove x11-driver-video, so I left everything alone.

CC: (none) => junk_no_spam

Comment 2 Thierry Vignaud 2012-02-16 08:45:38 CET
Confirmed. Here's why:

#  urpmq --requires x11-driver-video-nouveau | grep nouv
--requires behaviour changed, use --requires-recursive to get the old behaviour
kmod(nouveau)
libdrm_nouveau.so.1()(64bit)
# urpmq --whatprovides 'kmod(nouveau)'
kernel-tmb-laptop-3.2.5-1.mga2|kernel-rt-3.2.2-0.rt10.1.mga2|kernel-tmb-desktop-3.2.5-1.mga2|kernel-tmb-server-3.2.5-1.mga2|kernel-vserver-3.2.2-1.mga2|kernel-linus-3.2.5-1.mga2

CC: (none) => thierry.vignaud
Assignee: bugsquad => tmb
Status: NEW => ASSIGNED

Comment 3 Thomas Backlund 2012-02-16 13:01:52 CET
Ah,

kmod.prov in rpm-setup does only look for .ko and .ko.gz so it needs to be fixed for .ko.xz

I'll fix it tonight unless someone beats me to it.

Source RPM: kernel-desktop-3.2.6-2.mga2 => rpm-setup

Thierry Vignaud 2012-02-16 13:02:52 CET

CC: (none) => dmorganec

Comment 4 Thomas Backlund 2012-02-16 15:06:54 CET
kmod.prov fixed in rpm-mageia-setup-1.147-6.mga2

a new kernel is submitted to get the missing provides

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Thierry Vignaud 2012-12-09 21:40:44 CET

Summary: 'x11-driver-video' and 'x11-driver-video-nuveau' depend on old kernel => 'x11-driver-video' and 'x11-driver-video-nouveau' depend on old kernel