You are not logged in.

#1 2012-01-18 21:23:08

rtfreedman
Member
Registered: 2011-08-27
Posts: 80

[solved] nvidia: requires linux<3.2

pacman -Syu wrote:

...
warning: nvidia: ignoring package upgrade (285.05.09-3 => 290.10-2)
warning: nvidia-utils: ignoring package upgrade (285.05.09-1 => 290.10-1)
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: nvidia: requires linux<3.2

I've downgraded nvidia because nvidia-290.10 doesn't work at all for me.

Q: Now, what options do I have?

To cut a long story short...

A: use pacman -Syud

Thanks again, I've learned a lot these days.

Last edited by rtfreedman (2012-01-25 16:49:42)

Offline

#2 2012-01-18 21:26:07

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: [solved] nvidia: requires linux<3.2

Create your own packages. 285 should work fine with kernel 3.2. If it doesn't, 275.43 works for sure, it's what I'm using currently.

Offline

#3 2012-01-18 22:05:35

rtfreedman
Member
Registered: 2011-08-27
Posts: 80

Re: [solved] nvidia: requires linux<3.2

Gusar wrote:

Create your own packages. 285 should work fine with kernel 3.2. If it doesn't, 275.43 works for sure, it's what I'm using urrently.

Thanks for the fast reply.

I'll try the latest nvidia PKGBUILD with my current kernel first... wink
'hope it still works with modified version number!

Offline

#4 2012-01-18 22:15:32

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: [solved] nvidia: requires linux<3.2

Just chiming in that it installed and works without issues here, nvidia 290 and 3.2.

Linux  Version        : 3.2.1-1
Nvidia Version        : 290.10-2

I see you had 290.10-1, try again and see if it's solved.

Last edited by Earnestly (2012-01-18 22:16:35)

Offline

#5 2012-01-18 22:28:35

rtfreedman
Member
Registered: 2011-08-27
Posts: 80

Re: [solved] nvidia: requires linux<3.2

I see you had 290.10-1, try again and see if it's solved.

I doubt it - from what I've read, it's a long standing issue with some older (9500gt) cards.
I'll try it if you have 9500gt working wink

Offline

#6 2012-01-18 23:00:04

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: [solved] nvidia: requires linux<3.2

Ah, mine is a 9600gt. close, but no cigar.

Offline

#7 2012-01-22 20:57:10

rtfreedman
Member
Registered: 2011-08-27
Posts: 80

Re: [solved] nvidia: requires linux<3.2

Hm, I don't get pacman to upgrade - ignoring nvidia
I tried 'pacman -Syu --force' to no avail

error: failed to prepare transaction (could not satisfy dependencies)
:: nvidia: requires linux<3.2

I was going to upgrade the kernel, going to init 1 and compiling the nvidia.ko from source.
How do I do it?

Offline

#8 2012-01-22 21:09:53

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [solved] nvidia: requires linux<3.2

Force is for bypassing file conflict checks - see pacman mapage.

Offline

#9 2012-01-22 23:54:59

DarkVenger
Member
Registered: 2008-11-24
Posts: 35

Re: [solved] nvidia: requires linux<3.2

rtfreedman wrote:

Hm, I don't get pacman to upgrade - ignoring nvidia
I tried 'pacman -Syu --force' to no avail

error: failed to prepare transaction (could not satisfy dependencies)
:: nvidia: requires linux<3.2

I was going to upgrade the kernel, going to init 1 and compiling the nvidia.ko from source.
How do I do it?

I got the same problem, and my solution was:

1) Use pacman -U to install nvidia-290.10-2 and nvidia-utils-290.10-1 (downloaded directly from a mirror). This will force a kernel upgrade.
2) Use pacman -Syu to make entire system up-to-date
3) Use pacman -R nvidia to remove this package
4) Through ABS get the PKGBUILD of nvidia-utils version 290.10 and change the version to 285.05.09
4a) You must also change the md5sum number, for i686 it's 2d469a90abef50320f548cfa8085e3a0
4b) Use makepkg to build the package, and install both created packages (nvidia-utils and opencl-nvidia)
5) Through ABS get the PKGBUILD of nvidia version 290.10 and change the version to 285.05.09 and pkgrel from 1 to 3.
5a) You must also change the md5sum number, for i686 it's 2d469a90abef50320f548cfa8085e3a0
5b) Use makepkg to build the package, and install created package nvidia
6) Edit /etc/pacman.conf add opencl-nvidia to the ignore list
7) Reboot and enjoy smile

Hope this works for you too.

Ps: Just for the record, I really hate nvidia for not supporting my graphic card anymore...

Offline

#10 2012-01-23 16:30:20

rtfreedman
Member
Registered: 2011-08-27
Posts: 80

Re: [solved] nvidia: requires linux<3.2

hokasch wrote:

Force is for bypassing file conflict checks - see pacman mapage.

Ok, I do remember the mtab issue some weeks ago.
But how can I force pacman to ignore a dependency?

DarkVenger wrote:

I got the same problem, and my solution was ...

That's exactly what I tried to prevent - it's rather awkward and cumbersome. There must be some other way to persuade pacman to ignore a dependency!

Offline

#11 2012-01-23 20:18:47

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [solved] nvidia: requires linux<3.2

-d, --nodeps

    Skips dependency version checks. Package names are still checked. Normally, pacman will always check a package’s dependency fields to ensure that all dependencies are installed and there are no package conflicts in the system. Specify this option twice to skip all dependency checks.

Use with care as the deps are there for a reason.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#12 2012-01-23 20:25:11

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: [solved] nvidia: requires linux<3.2

Skipping dependencies won't work in this case. How do you expect a module compiled for 3.1 to work on 3.2? That's why I said, create your own packages. No matter how "awkward" or "cumbersome" you perceive DarkVenger's method to be, it is the only correct one.

Offline

#13 2012-01-24 08:10:10

rtfreedman
Member
Registered: 2011-08-27
Posts: 80

Re: [solved] nvidia: requires linux<3.2

Gusar wrote:

How do you expect a module compiled for 3.1 to work on 3.2?

I don't expect it to work! It's nice of pacman to remember me - it's not so nice to prevent me from doing it.
A kernel upgrade needs a reboot anyway - that's where I step in and build a new nvidia package right before entering 'init 5'

What about this (working) 'hack'?

/var/lib/pacman/local/nvidia-285.05.09-3/desc

#nvidia<3.2

Offline

#14 2012-01-24 12:15:52

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: [solved] nvidia: requires linux<3.2

So... you're still trying to do something you *know* won't work? I don't get it.

Offline

#15 2012-01-24 15:11:32

rtfreedman
Member
Registered: 2011-08-27
Posts: 80

Re: [solved] nvidia: requires linux<3.2

Gusar wrote:

So... you're still trying to do something you *know* won't work? I don't get it.

I don't expect a module compiled for 3.1 to work on 3.2 - please read my post again.

Offline

#16 2012-01-24 15:20:03

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: [solved] nvidia: requires linux<3.2

I did read your post. And I can only repeat: I don't get it.

What exactly are you trying to do?

Offline

#17 2012-01-24 16:46:42

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [solved] nvidia: requires linux<3.2

rtfreedman wrote:
Gusar wrote:

How do you expect a module compiled for 3.1 to work on 3.2?

I don't expect it to work! It's nice of pacman to remember me - it's not so nice to prevent me from doing it.

It's quite funny, given that you can override pacman's wishes and tell it to install anyway. However, that would make you end up with an incompatible module the kernel would refuse to load. That brings you back to square one.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#18 2012-01-24 17:03:20

rtfreedman
Member
Registered: 2011-08-27
Posts: 80

Re: [solved] nvidia: requires linux<3.2

.:B:. wrote:

That brings you back to square one.

Not quite.
I've told pacman to ignore nvidia nvidia-utils in pacman.conf 'cause installing the current nvidia package would'nt work with my graphic card. I've a choice of *not working because of wrong nvidia kernel module* or *not working because of wrong kernel* -
either way graphics won't work next boot sad
I think pacman does it wrong - I've done it  (ignore=...)  for a reason and pacman should ignore it in any dependency considerations  (a warning is welcome as a reminder).

Offline

#19 2012-01-24 18:59:32

DarkVenger
Member
Registered: 2008-11-24
Posts: 35

Re: [solved] nvidia: requires linux<3.2

rtfreedman wrote:

(...) I've a choice of *not working because of wrong nvidia kernel module* or *not working because of wrong kernel* -
(...)

But who's responsible is the key here, you have a choice of not having a working system because you choose to or because pacman failed.
IMHO pacman is right at giving us a "hard time" resolving issues of this kind, it is its duty to forbid a user to voluntary screwing up his system.

Offline

#20 2012-01-24 19:22:36

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [solved] nvidia: requires linux<3.2

I don't get what you are debating here - DarkVenger posted a solution which does not require a reboot, but if you somehow don't like it, why are you not just going ahead with your plan from post 7?
(still, use makepg when you are compiling from init 1.. much less cumbersome in the mid term.)

Offline

#21 2012-01-24 19:31:36

rtfreedman
Member
Registered: 2011-08-27
Posts: 80

Re: [solved] nvidia: requires linux<3.2

I don't get it -
pacman forces me to upgrade to a knowingly not working package first - the one I've told to not update (ignore=...)
and than leaves me alone to cope with it (via a local build from source)
vs.
I force pacman to ignore any dependency from nvida and rebuild nvidia my self
- 'cause I know what I'm doing, see  The_Arch_Way

Offline

#22 2012-01-24 19:38:43

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [solved] nvidia: requires linux<3.2

pacman forces me to upgrade to a knowingly not working package first - the one I've told to not update (ignore=...)
and than leaves me alone to cope with it (via a local build from source)

How? It just stops you upgrading your kernel because of your local nvidia depending on an earlier version, and you are "ignoring" an update of nvidia.
Nothing stops you from:

I force pacman to ignore any dependency from nvida and rebuild nvidia my self
- 'cause I know what I'm doing, see  The_Arch_Way

If you still haven't figured out how - its all in the manpage!

EDIT:
OK, nevermind.

pacman -Syud

then

4) Through ABS get the PKGBUILD of nvidia-utils version 290.10 and change the version to 285.05.09
4a) You must also change the md5sum number, for i686 it's 2d469a90abef50320f548cfa8085e3a0
4b) Use makepkg to build the package, and install both created packages (nvidia-utils and opencl-nvidia)
5) Through ABS get the PKGBUILD of nvidia version 290.10 and change the version to 285.05.09 and pkgrel from 1 to 3.
5a) You must also change the md5sum number, for i686 it's 2d469a90abef50320f548cfa8085e3a0
5b) Use makepkg to build the package, and install created package nvidia
6) Edit /etc/pacman.conf add opencl-nvidia to the ignore list
7) Reboot and enjoy smile

Last edited by hokasch (2012-01-24 19:44:44)

Offline

#23 2012-01-24 19:47:27

rtfreedman
Member
Registered: 2011-08-27
Posts: 80

Re: [solved] nvidia: requires linux<3.2

Hokasch wrote:

its all in the manpage!

I'll leave it to the reader and any newbies coming to the forum: find it yourself
Just a tip: read the man page twice
wink

Offline

#24 2012-01-24 19:53:03

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [solved] nvidia: requires linux<3.2

Actually, see post #8 tongue
Please add [solved] to the title by editing your first post when you managed to update.

edit: typoed - I meant post 11.

Last edited by hokasch (2012-01-24 21:30:56)

Offline

#25 2012-01-24 20:13:05

rtfreedman
Member
Registered: 2011-08-27
Posts: 80

Re: [solved] nvidia: requires linux<3.2

Hokasch wrote:

its all in the manpage!

Oh - I thought you meant this from the manpage:

... Specify this option twice to skip all dependency checks.

Hokasch wrote:

OK, nevermind.

Hm, do you withdraw from 'its all in the manpage!'?

Offline

Board footer

Powered by FluxBB