MantisBT - Site
View Issue Details
0003605Site[All Projects] Documentationpublic2019-02-07 15:082019-02-11 14:38
WubTheCaptain 
Blzut3 
normaltrivialhave not tried
acknowledgedopen 
0003605: debian.drdteam.org instructions depend on apt-add-repository, which is not installed in Debian by default
Although the instructions at DRD Team Debian Package Repository index page are aimed mainly for Ubuntu (and truthfully, no dists exists in the repository for Debian but Ubuntu's multiverse dist), many of the packages work with Debian too.

Unfortunately for Debian users, there's a dependency on apt-add-repository(1) (software-properties-common package) which is not installed in Debian by default. I don't find much reason to prefer the apt-add-repository(1) script over something more trivial, let's say, tee(1) or stdout redirection.

Would the DRD Team accommodate Debian users by changing the command a little bit, by removing the dependency on apt-add-repository(1)? That's one thing less to install for Debian users.
Quote from http://debian.drdteam.org/
To use, use the following command or add the "deb ..." line to your /etc/apt/sources.list:

$ wget -O-'http://debian.drdteam.org/drdteam.gpg [^]' | sudo apt-key add -
$ sudo apt-add-repository 'deb'http://debian.drdteam.org/ [^]' stable multiverse'
$ dpkg -S $(which apt-add-repository tee)
software-properties-common: /usr/bin/apt-add-repository
coreutils: /usr/bin/tee
No tags attached.
Issue History
2019-02-07 15:08WubTheCaptainNew Issue
2019-02-07 15:09WubTheCaptainNote Added: 0020342
2019-02-07 15:11WubTheCaptainNote Edited: 0020342bug_revision_view_page.php?bugnote_id=20342#r12399
2019-02-07 15:12WubTheCaptainNote Edited: 0020342bug_revision_view_page.php?bugnote_id=20342#r12400
2019-02-08 02:56Blzut3Note Added: 0020355
2019-02-08 02:56Blzut3Assigned To => Blzut3
2019-02-08 02:56Blzut3Statusnew => acknowledged
2019-02-11 14:38WubTheCaptainNote Added: 0020363

Notes
(0020342)
WubTheCaptain   
2019-02-07 15:09   
(edited on: 2019-02-07 15:12)
Alternatives:

echo "deb'http://debian.drdteam.org/ [^]' stable multiverse" | sudo tee /etc/apt/sources.list.d/drdteam.list

sudo sh -c "echo 'deb'http://debian.drdteam.org/ [^]' stable multiverse' > /etc/apt/sources.list.d/drdteam.list"

sudo sh -c "printf 'deb'http://debian.drdteam.org/ [^]' stable multiverse' > /etc/apt/sources.list.d/drdteam.list"


(0020355)
Blzut3   
2019-02-08 02:56   
The target audience for the instructions are people new to Linux distributions so while I agree that there's not much benefit over one the suggestions, the tool does make the process look a lot simpler. Also as of late apt-add-repository automatically does an apt update for the user.

What I will do is make the sentence preceding the instructions a little more clear that adding the line manually is an option over the commands.
(0020363)
WubTheCaptain   
2019-02-11 14:38   
Also'https://zandronum.com/download#instubuntu, [^]' but don't care to make a new issue.