[Bug 1027551] Re: add-apt-repository should have an option to ONLY add "deb" entry

Robert Roth evfool at gmail.com
Wed Nov 21 21:04:05 UTC 2012


*** This bug is a duplicate of bug 621977 ***
    https://bugs.launchpad.net/bugs/621977

 Thank you for taking the time to report this bug and helping to make
Ubuntu better. This particular bug has already been reported and is a
duplicate of bug #621977, so it is being marked as such. Please look at
the other bug report to see if there is any missing information that you
can provide, or to see if there is a workaround for the bug.
Additionally, any further discussion regarding the bug should occur in
the other report. Feel free to continue to report any other bugs you may
find.

** This bug has been marked a duplicate of bug 621977
   If deb-src lines are going to be added automatically, they shouldn't be enabled and slowing down apt-get update.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1027551

Title:
  add-apt-repository should have an option to ONLY add "deb" entry

Status in “software-properties” package in Ubuntu:
  Confirmed

Bug description:
  Some software repository doesn't provide sourcecode, so adding deb-src for them will cause problem (404 Not Found).
  I suggest add a "--no-source/--without-source" option to prevent add-apt-repository to add such line.
  *update* please name your prefered option name as I'm not a good namer.

  this should be a wishlist tag...(thanks ;)

  ===temporary dirty workaround===

  --after--
  add-apt-repository "deb <repository url>"
  --execute--
  add-apt-repository --remove "deb-src <repository url>" > /dev/null

  #add-apt-repository will errorly attempt to find "deb-src-src" entry
  as well so throw the error message away, this is also a malfunction
  anyway.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1027551/+subscriptions




More information about the foundations-bugs mailing list