You are not logged in.

#1 2017-03-16 15:03

michaelk
Member
Registered: 2017-03-16
Posts: 81

New installation - /etc/apt/sources.list is empty

Hi,
I just installed Q4OS, runs smooth. Synaptic works - but I checked /etc/apt and found there is no content in the sources.list. Is this „normal“, did I make any mistake?

Offline

#2 2017-03-16 18:21

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: New installation - /etc/apt/sources.list is empty

Q4OS uses the files in /etc/apt/sources.list.d/ for this.

Offline

#3 2017-03-16 18:27

michaelk
Member
Registered: 2017-03-16
Posts: 81

Re: New installation - /etc/apt/sources.list is empty

Thanks a lot! Good to know! If one is only a bit experienced with Debian it is kind of surprising.
# Q4OS essential repository
# **** !!! NEVER touch this CRITICAL system file **** !!!

And nice that this is written within the file! ;-)

Offline

#4 2017-03-17 01:41

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: New installation - /etc/apt/sources.list is empty

You can still use the sources.list file if you have to add a repository that is not within Q4OS lists, and if you really wanted you could add the entries from the sources.list.d directory into the sources.list file manually and remove them from sources.list.d, although it would definitely NOT be a recommended way to do things, just another option.

Offline

#5 2017-03-17 10:42

aldrik
Member
From: france
Registered: 2016-04-12
Posts: 65

Re: New installation - /etc/apt/sources.list is empty

Hello,

so how can I have this new on my system ?
https://www.jurisic.org/index.php?post/ … e-in-3-min

with the depot deb http://apt.jurisic.org/debian/ jessie main contrib non-free

thank you for help

aldrik

Offline

#6 2017-03-17 10:52

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: New installation - /etc/apt/sources.list is empty

you can just follow the instructions on the page you linked to. smile It adds a file to the /etc/apt/sources.list.d/ folder which in turn populates the apt database, from there you can install it in the usual manner.

Offline

#7 2017-03-17 10:57

aldrik
Member
From: france
Registered: 2016-04-12
Posts: 65

Re: New installation - /etc/apt/sources.list is empty

I try this, but don't work...

aldrik@q4os-desktop:~$ echo 'deb http://apt.jurisic.org/debian/ jessie main contrib non-free' >> /etc/apt/sources.list.d/nextcloud.list
bash: /etc/apt/sources.list.d/nextcloud.list: Permission non accordée
aldrik@q4os-desktop:~$ sudo echo 'deb http://apt.jurisic.org/debian/ jessie main contrib non-free' >> /etc/apt/sources.list.d/nextcloud.list
bash: /etc/apt/sources.list.d/nextcloud.list: Permission non accordée
aldrik@q4os-desktop:~$

I'm a noob smile

Offline

#8 2017-03-17 11:04

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: New installation - /etc/apt/sources.list is empty

Easiest way is to become root first with

sudo su

You will have to enter your password here.
Then run your command

echo 'deb http://apt.jurisic.org/debian/ jessie main contrib non-free' >> /etc/apt/sources.list.d/nextcloud.list

now exit from root

exit

And simply continue with update and then installation. smile

Offline

#9 2017-03-17 11:21

aldrik
Member
From: france
Registered: 2016-04-12
Posts: 65

Re: New installation - /etc/apt/sources.list is empty

All is working thank you very much...

Offline

#10 2017-03-17 13:21

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: New installation - /etc/apt/sources.list is empty

You are welcome smile

Offline

Board footer

Powered by FluxBB