Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux Deepin
User Name
Linux Deepin This forum is for the discussion of Linux Deepin.


  Search this Thread
Old 10-03-2019, 07:11 PM   #16
Registered: Jan 2017
Posts: 68

Rep: Reputation: Disabled

Ok, just to summarize the steps:

1. sudo apt-get install software-properties-common
2. sudo add-apt-repository <what ever repository to add>
3. sudo apt update

That's it, right?

Old 10-24-2019, 12:40 AM   #17
LQ Newbie
Registered: Oct 2019
Posts: 1

Rep: Reputation: Disabled
Thumbs up Completely agree with this

Originally Posted by futurelucas4502 View Post
Hi there i created an account simply to say this
@TB0ne the way you reacted to the question was nasty and aggressive and the answer you gave isn't correct now nor was it correct the some years ago this question was asked you got many things wrong first of all that deepin is an operating system completely independent of ubuntu meaning that straight away the answer you provided was talking about a completely different operating system where they had simply added the deepin styled terminal to a generic ubuntu install and the command that they specify is what they used to add said deepin styled terminal to ubuntu even tho the question clearly stated that they would like to know how to add repository to deepin not how to install a deepin styled terminal onto ubuntu so please don't turn around with an incorrect answer in an abusive manner with what makes it even worse a completely unrelated and unhelpful answer which is completely incorrect you asked them to do some base research before asking their questions and i'm guessing they must have therefore come across that site and known that is not what they wanted at all so i say back to you how about YOU do some base research before answering a question completely incorrectly and in an abusive manner as ubuntu and deepin are two very different operating systems.

Hi All,
I do so completely agree with this post. What is it with many so-called Linux "guru's" that they so easily jump on their high horses by blaming newbies for wasting their precious time? If one is completely new to Linux, as I am, it is extremely frustrating to find answers on how to do simple tasks. The last thing people like us need is for some wise-guy to try and preach gospel. In my opinion Linux as desktop operating system will only make inroads when new users feel welcome in the community. Rude responses like some of those in this thread does not help. Cudos to those Gurus who have compassion with newbies and have a real interest in promoting the wonderful world of Linux in all its many forms.
1 members found this post helpful.
Old 10-24-2019, 10:27 AM   #18
LQ Newbie
Registered: Oct 2019
Distribution: Deepin
Posts: 1

Rep: Reputation: Disabled
^^Total snowflake who wants his hand held.

Aw, someone wasn't nice enough. Can we be adults here and realize life's not fair?

**I had an account many years ago, but I can't remember the information.
Old 11-24-2019, 12:55 PM   #19
LQ Newbie
Registered: Nov 2019
Posts: 1

Rep: Reputation: Disabled

Originally Posted by TB0ne View Post
The OP asked if you *CAN* add a repository to Deepin through the terminal; the answer is "yes". The link I provided had commands to add some repositories, which is EXACTLY what he asked for. Ztcoracat provided a different repository and other links. Both are accurate to the question asked.

What packages was he looking for?? Because his ENTIRE QUESTION was "can i add repository in deepin from terminal?" He mentioned zero packages, functionality, or anything specific.

That is done by actually LEARNING, isn't it?? And please explain why forum members should look things up for others, please. Forums like this exist to solve PROBLEMS. For example:
  • "I read xxx and it said to add a repository I should run yyy. When I do, I get this message, and the repo doesn't get added. Anyone seen this before?" a good use of a forum. The poster has done research, and has encountered a problem that's not solvable, but SOMEONE may have a clue.
  • "Tell me the command to do zzz" is NOT, when just putting the exact question into pretty much any search engine would TELL YOU the command.
If you feel like it is too hard to do that, or read the documentation and learn on your own...not sure what to tell you.

Again, good for you.
@tb0ne didnt read the rules when he signed up, what a rude individual.

"This is *not* your average Linux forum. We are proud of the fact that despite of our growing numbers we continue to remain extremely friendly to both the newbie and the expert. When posting in the forum keep the following in mind:
Do not post any messages that are obscene, vulgar, sexually-orientated, hateful, threatening, or otherwise violative of any laws.
Personal attacks on others will not be tolerated.
Flame Wars will not be tolerated.
Do not post if you do not have anything constructive to say in the post.
When posting in an existing thread, ensure that what you're posting is on-topic and relevant to the thread. If the content of your post will interfere with the current discussion, you should start a new thread.
Your thread may be moved to a more appropriate forum at a moderator's discretion.
Challenge others' points of view and opinions, but do so respectfully and thoughtfully ... without insult and personal attack. Differing opinions is one of the things that make this site great."
Old 12-25-2019, 03:48 PM   #20
LQ Newbie
Registered: Dec 2019
Posts: 2

Rep: Reputation: Disabled
Hello, I had this same problem for a while but today I decided to solve it once and for all.

These steps actually almost worked:

Originally Posted by drpeppercan View Post
Ok, just to summarize the steps:

1. sudo apt-get install software-properties-common
2. sudo add-apt-repository <what ever repository to add>
3. sudo apt update

That's it, right?

However they yielded the following error:

~$ sudo add-apt-repository
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/", line 109, in __init__
  File "/usr/lib/python3/dist-packages/softwareproperties/", line 599, in reload_sourceslist
  File "/usr/lib/python3/dist-packages/aptsources/", line 93, in get_sources
    (, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Deepin/stable
The solution was given in another site:

and is simply to edit the following file:

sudo nano /usr/share/python-apt/templates/
and replace

Suite: unstable

Suite: stable
I hope this will help somebody else, if not, at least I can add PPA's to Deepin now
Old 02-13-2021, 06:16 AM   #21
LQ Newbie
Registered: Feb 2021
Posts: 1

Rep: Reputation: Disabled
because I can

I really don't have much to say.

Last edited by michaelk; 02-14-2021 at 03:58 PM.
Old 02-14-2021, 12:52 PM   #22
Registered: Aug 2002
Posts: 24,146

Rep: Reputation: 5347Reputation: 5347Reputation: 5347Reputation: 5347Reputation: 5347Reputation: 5347Reputation: 5347Reputation: 5347Reputation: 5347Reputation: 5347Reputation: 5347
Per the rules:
Do not post any messages that are obscene, vulgar, sexually-orientated, hateful, threatening, hostile or insulting.
Personal attacks on others will not be tolerated.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add 4 to 9 repository urls in one repository with custom name? RehanKhan Ubuntu 1 08-06-2014 11:54 AM
Additions to add to Deepin 12.12 Final DeepinGal Linux Deepin 2 06-28-2013 02:16 AM
[SOLVED] using maverick - added one new repository but now can't add another repository gerryyy Linux - Software 6 02-16-2011 06:47 AM
[SOLVED] Difference between add-apt-repository and apt-add-repository Kenny_Strawn Ubuntu 3 12-22-2010 07:50 PM > Forums > Linux Forums > Linux - Distributions > Linux Deepin

All times are GMT -5. The time now is 08:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration