WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: graphics-2.6.33.3-tinycore64.tcz has wrong dependency  (Read 2311 times)

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
graphics-2.6.33.3-tinycore64.tcz has wrong dependency
« on: August 31, 2010, 03:06:42 PM »
graphics-2.6.33.3-tinycore64.tcz has i2c-2.6.33.3-tinycore.tcz (32 bit) as dependency instead of i2c-2.6.33.3-tinycore64.tcz

/Uggla

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: graphics-2.6.33.3-tinycore64.tcz has wrong dependency
« Reply #1 on: August 31, 2010, 08:08:39 PM »
Hmm, that's rather surprising as the dependency file (at this point in time) clearly states: i2c-KERNEL.tcz

The 'KERNEL' part should be replaced by the result of uname -r. As I don't run a 64-bit system myself I can't test, but maybe you can share what you get on your system for this command.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: graphics-2.6.33.3-tinycore64.tcz has wrong dependency
« Reply #2 on: September 01, 2010, 05:16:56 AM »
the problem here is that graphics-2.6.33.3-tinycore64.tcz.dep and graphics-2.6.33.3-tinycore.tcz have i2c-KERNEL.tcz entry

in this case if you download graphics-2.6.33.3-tinycore64 in a 32 bit installation i2c-2.6.33.3-tinycore.tcz will be downloaded ofcourse (is there any good reason for doing this ? maybe to copy the extension over to a computer with no internet access ?)

i2c-KERNEL.tcz entry can be written explicitly for each kernel to overcome this situation, also i don't see any reason why graphics-2.6.33.3-tinycore64.tcz.dep has i2c-KERNEL.tcz as a dep, it is obvious that it depends on i2c-2.6.33.3-tinycore64.tcz
« Last Edit: September 01, 2010, 05:19:17 AM by Arslan S. »

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: graphics-2.6.33.3-tinycore64.tcz has wrong dependency
« Reply #3 on: September 01, 2010, 05:44:48 AM »
in this case if you download graphics-2.6.33.3-tinycore64 in a 32 bit installation i2c-2.6.33.3-tinycore.tcz will be downloaded ofcourse (is there any good reason for doing this ? maybe to copy the extension over to a computer with no internet access ?)

That was exactly what I was trying to do. Now I know why it wasn't working. Thanks!

/Uggla

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: graphics-2.6.33.3-tinycore64.tcz has wrong dependency
« Reply #4 on: September 01, 2010, 01:06:47 PM »
It was both to set an example of the use of KERNEL, and to avoid having to update the dep files on kernel upgrade.
The only barriers that can stop you are the ones you create yourself.