public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] portage quirk
@ 2003-04-06 19:26 Robert Thomas
  2003-04-06 19:47 ` Peter Ruskin
  2003-04-07  3:46 ` Martin Schlemmer
  0 siblings, 2 replies; 6+ messages in thread
From: Robert Thomas @ 2003-04-06 19:26 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

$ emerge -up nvidia-kernel nvidia-glx

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild    U ] media-video/nvidia-kernel-1.0.3123-r2 [1.0.4349-r1]
[ebuild    UD] media-video/nvidia-glx-1.0.3123 [1.0.4349]

note that nvidia-kernel is considered to be an upgrade. Why?

- --
Robert Thomas
Georgia Institute of Technology
Email: gtg663h@mail.gatech.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+kH9rW6dW6jDUoTsRAlJlAKCQ/AXtABVF+Of1ii7JpkYcuKS2FACdFOqv
+H4grAgMwowzJ/aBCgZkmJo=
=OSCP
-----END PGP SIGNATURE-----


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] portage quirk
  2003-04-06 19:26 [gentoo-dev] portage quirk Robert Thomas
@ 2003-04-06 19:47 ` Peter Ruskin
  2003-04-06 20:08   ` Robert Thomas
  2003-04-07  3:46 ` Martin Schlemmer
  1 sibling, 1 reply; 6+ messages in thread
From: Peter Ruskin @ 2003-04-06 19:47 UTC (permalink / raw
  To: gentoo-dev

On Sunday 06 Apr 2003 20:26, Robert Thomas wrote:
>
> $ emerge -up nvidia-kernel nvidia-glx
>
> These are the packages that I would merge, in order:
>
> Calculating dependencies ...done!
> [ebuild    U ] media-video/nvidia-kernel-1.0.3123-r2 [1.0.4349-r1]
> [ebuild    UD] media-video/nvidia-glx-1.0.3123 [1.0.4349]
>
> note that nvidia-kernel is considered to be an upgrade. Why?
>

Try `emerge -Uup nvidia-kernel nvidia-glx` if you want to keep the later 
ones.

Peter
-- 
Gentoo-1.4.2.8 Stable. KDE: 3.1.1 Qt: 3.1.2
AMD Athlon(tm) XP 2200+ 768MB.	Kernel: 2.4.20-xfs-r2.	GCC 3.2.2


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] portage quirk
  2003-04-06 19:47 ` Peter Ruskin
@ 2003-04-06 20:08   ` Robert Thomas
  0 siblings, 0 replies; 6+ messages in thread
From: Robert Thomas @ 2003-04-06 20:08 UTC (permalink / raw
  To: Peter Ruskin; +Cc: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Ruskin wrote:
| On Sunday 06 Apr 2003 20:26, Robert Thomas wrote:
|
|>$ emerge -up nvidia-kernel nvidia-glx
|>
|>These are the packages that I would merge, in order:
|>
|>Calculating dependencies ...done!
|>[ebuild    U ] media-video/nvidia-kernel-1.0.3123-r2 [1.0.4349-r1]
|>[ebuild    UD] media-video/nvidia-glx-1.0.3123 [1.0.4349]
|>
|>note that nvidia-kernel is considered to be an upgrade. Why?
|>
|
|
| Try `emerge -Uup nvidia-kernel nvidia-glx` if you want to keep the later
| ones.
|
| Peter
My point was that nvidia-kernel shows up as an upgrade, and nvidia-glx
shows up as a downgrade, even though the version numbers are the same.

- --
Robert Thomas
Georgia Institute of Technology
Email: gtg663h@mail.gatech.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+kIkmW6dW6jDUoTsRAo9eAKCNC5QZIF/Btrb5ds8sEiKMA6l/RwCfRWaB
nhGEEMHkNx0XZDcujXV+oMM=
=jyqi
-----END PGP SIGNATURE-----


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] portage quirk
  2003-04-06 19:26 [gentoo-dev] portage quirk Robert Thomas
  2003-04-06 19:47 ` Peter Ruskin
@ 2003-04-07  3:46 ` Martin Schlemmer
  2003-04-07  4:16   ` leahcim
  1 sibling, 1 reply; 6+ messages in thread
From: Martin Schlemmer @ 2003-04-07  3:46 UTC (permalink / raw
  To: Robert Thomas; +Cc: Gentoo-Dev

[-- Attachment #1: Type: text/plain, Size: 625 bytes --]

On Sun, 2003-04-06 at 21:26, Robert Thomas wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> $ emerge -up nvidia-kernel nvidia-glx
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies ...done!
> [ebuild    U ] media-video/nvidia-kernel-1.0.3123-r2 [1.0.4349-r1]
> [ebuild    UD] media-video/nvidia-glx-1.0.3123 [1.0.4349]
> 
> note that nvidia-kernel is considered to be an upgrade. Why?
> 

Because nvidia-kernel is slotted, and nvidia-glx is not.


-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop/System Team Developer
Cape Town, South Africa



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] portage quirk
  2003-04-07  3:46 ` Martin Schlemmer
@ 2003-04-07  4:16   ` leahcim
  2003-04-07 12:08     ` leahcim
  0 siblings, 1 reply; 6+ messages in thread
From: leahcim @ 2003-04-07  4:16 UTC (permalink / raw
  To: Gentoo-Dev

On Mon, Apr 07, 2003 at 05:46:21AM +0200, Martin Schlemmer wrote:
> On Sun, 2003-04-06 at 21:26, Robert Thomas wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > $ emerge -up nvidia-kernel nvidia-glx
> > 
> > These are the packages that I would merge, in order:
> > 
> > Calculating dependencies ...done!
> > [ebuild    U ] media-video/nvidia-kernel-1.0.3123-r2 [1.0.4349-r1]
> > [ebuild    UD] media-video/nvidia-glx-1.0.3123 [1.0.4349]
> > 
> > note that nvidia-kernel is considered to be an upgrade. Why?
> > 
> 
> Because nvidia-kernel is slotted, and nvidia-glx is not.
 
That's why it's different. But isn't it buggy?

In my case, probably similar to Robert's the slot of both should be
"2.4.20-gentoo-r2" and it would effectively be as much a downgrade if I removed
-p as the other files with equal "0" slots, unless I changed the kernel which
it was emerged against.

No doubt whatever gets the new slot doesn't calculate the $KV ?

-- 
Michael.

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] portage quirk
  2003-04-07  4:16   ` leahcim
@ 2003-04-07 12:08     ` leahcim
  0 siblings, 0 replies; 6+ messages in thread
From: leahcim @ 2003-04-07 12:08 UTC (permalink / raw
  To: Gentoo-Dev

[-- Attachment #1: Type: text/plain, Size: 283 bytes --]

On Mon, Apr 07, 2003 at 05:16:55AM +0100, leahcim@ntlworld.com wrote:
> No doubt whatever gets the new slot doesn't calculate the $KV ?

Hmm, portage works fine. It's when it cp the data from metadata/cache during
emerge sync that it doesn't have correct SLOT info.


 
-- 
Michael.

[-- Attachment #2: emerge.diff --]
[-- Type: text/plain, Size: 569 bytes --]

--- /usr/bin/emerge.orig	2003-04-07 12:56:09.000000000 +0100
+++ /usr/bin/emerge	2003-04-07 13:00:28.000000000 +0100
@@ -1606,7 +1606,10 @@
 			for y in mymatches:
 				update_spinner()
 				try:
-					ignored=portage.portdb.aux_get(y,[],metacachedir=myportdir+"/metadata/cache")
+					ignored=portage.portdb.aux_get(y,["SLOT"],metacachedir=myportdir+"/metadata/cache")[0]
+					if not ignored:
+						os.unlink(portage.dbcachedir+"/"+y)
+						ignored=portage.portdb.aux_get(y,[])
 				except:
 					pass
 		portage.spawn("chmod -R g+rw "+portage.dbcachedir, free=1)


[-- Attachment #3: Type: text/plain, Size: 37 bytes --]

--
gentoo-dev@gentoo.org mailing list

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-04-07 12:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-06 19:26 [gentoo-dev] portage quirk Robert Thomas
2003-04-06 19:47 ` Peter Ruskin
2003-04-06 20:08   ` Robert Thomas
2003-04-07  3:46 ` Martin Schlemmer
2003-04-07  4:16   ` leahcim
2003-04-07 12:08     ` leahcim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox