WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: dependency check slow?  (Read 1474 times)

Offline adrian

  • WikiUser
  • *
  • Posts: 31
dependency check slow?
« on: June 13, 2012, 01:17:13 PM »
I see now why the dependency check for the X server was removed.  I tried to download an extension and it was taking forever to say "oh yeah, I've already got that dependency".  Why is it so slow?

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: dependency check slow?
« Reply #1 on: June 13, 2012, 01:36:07 PM »
It is a mis-statement to say it was removed. It was never included for reasons that have already been stated!
10+ Years Contributing to Linux Open Source Projects.

Offline adrian

  • WikiUser
  • *
  • Posts: 31
Re: dependency check slow?
« Reply #2 on: June 13, 2012, 02:01:45 PM »
It is a mis-statement to say it was removed. It was never included for reasons that have already been stated!
Yeah, whatev.  Removed or not installed, it doesn't matter.  Why is it so slow to detect if a dependency is not available?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10070
Re: dependency check slow?
« Reply #3 on: June 14, 2012, 02:18:26 AM »
Recursive dep files. If you try to get an extension with huge levels of dependencies, such as one of the KDE ones, it may be 40-50 dep files to download.
The only barriers that can stop you are the ones you create yourself.

Offline adrian

  • WikiUser
  • *
  • Posts: 31
Re: dependency check slow?
« Reply #4 on: June 14, 2012, 05:55:50 AM »
I was watching the progress.  I don't think this was caused by recursive dependencies as these had few if any dependencies.  Maybe just caused by scripting lag.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10070
Re: dependency check slow?
« Reply #5 on: June 14, 2012, 11:15:48 AM »
Which mirror? The main one, ibiblio, can be slow on occasion. It's recommended to pick one near you.
The only barriers that can stop you are the ones you create yourself.

Offline adrian

  • WikiUser
  • *
  • Posts: 31
Re: dependency check slow?
« Reply #6 on: June 14, 2012, 07:35:46 PM »
Ahhh, of course.  Dependency checking has to ping the server to check if it is up to date, not just that it has it already.  That would explain it.