Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Tried to 'add-apt-repository' and.. couldn't.

Started by twodogs, May 16, 2016, 10:39:57 PM

Previous topic - Next topic

twodogs

So, I was wondering.. why wouldn't 'software-properties-common' be installed by default.  Just wondering.


pavroo

Re-branding Debian into Sparky made conflicts with the package.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

twodogs

Quote from: pavroo on May 16, 2016, 11:04:34 PM
Re-branding Debian into Sparky made conflicts with the package.

So,  to add a repository (I'm trying to add TLP for example) I need to edit /etc/apt/sources.list manually?

Is there a way I can do this in the terminal?  Perhaps a Sparky way? ;)

paxmark1

https://wiki.debian.org/SourcesList

sudo nano sudo nano /etc/apt/sources.list       or       sudo  vim /etc/apt/sources.list  or   sudo geany    .

or you can nest it inside the directory sources.list.d     via any of your favourite editors.    There is lots of examples on the web. 

p.s.  don't make a FrankenDebian   If it is a Ubuntu ppa ...   

And about the terminal -  tlp mentions that

"TLP is a pure command line tool with automated background tasks, it does not contain a GUI."


   
Search forum for "More info easier via inxi"    If requested -  no inxi, no help for you by  me.

pavroo

You can also use APTus-> Repository-> Manage custom repos.
Edit any existing list, for example sid.list, remove the contects, add yours repos and save the file with a new name.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

twodogs

Quote from: paxmark1 on May 17, 2016, 04:44:02 AM
https://wiki.debian.org/SourcesList

sudo nano sudo nano /etc/apt/sources.list       or       sudo  vim /etc/apt/sources.list  or   sudo geany    .

or you can nest it inside the directory sources.list.d     via any of your favourite editors.    There is lots of examples on the web. 

p.s.  don't make a FrankenDebian   If it is a Ubuntu ppa ...   

And about the terminal -  tlp mentions that

"TLP is a pure command line tool with automated background tasks, it does not contain a GUI."




I'm familiar with how to modify sources.list manually.  Apparently, that is the only way to add a ppa to Sparky (besides using the APTus tool).

On the command line, one should be able to type 'sudo apt-add-repository ...' and all is well.  But on Sparky, that is not the case.  You have to either use a 'Sparky' tool or do it manually.  To me, that is not easy.  That just sounds like a workaround.

pavroo

What about Synaptic-> Settings-> Repository ?
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

View the most recent posts on the forum