SparkyLinux Forums

Software & hardware support => Newbie questions => Topic started by: jwsawyer on March 26, 2014, 01:36:05 AM

Title: adding respositories
Post by: jwsawyer on March 26, 2014, 01:36:05 AM
I was trying to get and install aisleriot. It was not in any of the repositories. I found the debian respository to add but cannot find how to add respository to synaptic. It used to be very easy.
Title: Re: adding respositories
Post by: pavroo on March 26, 2014, 01:53:23 AM
There is a small bug.

Remove file /etc/lsb-release (as root):

Code:

sudo rm /etc/lsb-release


Update grub list:

Code:

update-grub


Open Synaptic, go to Settings-> Repositories to add a new repo.
Title: Re: adding respositories
Post by: jwsawyer on March 26, 2014, 02:07:04 AM
rm: cannot remove 'etc/lsb-release': No such file or directory

bash: update-grub: command not found



I'm batting a thousand!
Title: Re: adding respositories
Post by: pavroo on March 26, 2014, 02:54:12 AM
Run as root in text console:

Code:

su
nano /etc/apt/sources.list


add your repository address to the end of the list, then:

Code:

apt-get update