WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline adrian

  • Newbie
  • *
  • Posts: 31
dependency check slow?
« on: June 13, 2012, 04: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

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: dependency check slow?
« Reply #1 on: June 13, 2012, 04: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

  • Newbie
  • *
  • Posts: 31
Re: dependency check slow?
« Reply #2 on: June 13, 2012, 05: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: 11049
Re: dependency check slow?
« Reply #3 on: June 14, 2012, 05: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

  • Newbie
  • *
  • Posts: 31
Re: dependency check slow?
« Reply #4 on: June 14, 2012, 08: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: 11049
Re: dependency check slow?
« Reply #5 on: June 14, 2012, 02:15:48 PM »
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

  • Newbie
  • *
  • Posts: 31
Re: dependency check slow?
« Reply #6 on: June 14, 2012, 10: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.