** 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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1027551 Title: add-apt-repository should have an option to ONLY add "deb" entry To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1027551/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
