LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Deepin
User Name
Password
Linux Deepin This forum is for the discussion of Linux Deepin.

Notices


Reply
  Search this Thread
Old 10-03-2019, 07:11 PM   #16
drpeppercan
Member
 
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?

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

Rep: Reputation: Disabled
Thumbs up Completely agree with this

Quote:
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
Coplen
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
ftyshadesofjay
LQ Newbie
 
Registered: Nov 2019
Posts: 1

Rep: Reputation: Disabled
Angry

Quote:
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?" ...is 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
rw87
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:

Quote:
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?

Thanks
However they yielded the following error:

Code:
~$ sudo add-apt-repository ppa:inkscape.dev/stable
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/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Deepin/stable
The solution was given in another site:

https://unix.stackexchange.com/quest...-deepin-stable

and is simply to edit the following file:

Code:
sudo nano /usr/share/python-apt/templates/Deepin.info
and replace

Code:
Suite: unstable
with

Code:
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
g0tr00t
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
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
g0tr00t,
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Deepin

All times are GMT -5. The time now is 03:44 PM.

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