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

林博仁(Henry Lin) pika1021 at gmail.com
Fri Jul 27 06:56:51 UTC 2012


** Description changed:

- Some software repository doesn't provide sourcecode, so adding deb-src for them will cause problem.
- I suggest add a "--no-source" option to prevent add-apt-repository to add such line
+ 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" option to prevent add-apt-repository to add such line.
  
- this should be a wishlist tag...
+ this should be a wishlist tag...(thanks ;)
  
  temporary workaround
  
- add-apt-repository --remove "deb-src <repository url>" > /dev/null #add-
- apt-repository will errorly attempt to find "deb-src-src" entry as well
+ 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.

** Description changed:

  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" option to prevent add-apt-repository to add such line.
  
  this should be a wishlist tag...(thanks ;)
  
- temporary workaround
+ temporary dirty workaround
  
  after
  add-apt-repository "deb <repository url>"
  execute
- add-apt-repository --remove "deb-src <repository url>" > /dev/null 
+ 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.

** Description changed:

  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" option to prevent add-apt-repository to add such line.
+ 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
+ ===temporary dirty workaround===
  
- after
+ --after--
  add-apt-repository "deb <repository url>"
- execute
+ --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.

-- 
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