Sources.list

Important informations about SolydXK including releases notes, forum rules and other anouncements
User avatar
Schoelje
Site Admin
Posts: 8455
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Sources.list

Postby Schoelje » 21 Sep 2013 22:29

For reference I post here the default content of /etc/apt/sources.list

[SolydK / SolydX]

In SolydK open a terminal and run:

Code: Select all

kdesudo kate /etc/apt/sources.list

In SolydX open a terminal and run

Code: Select all

gksudo mousepad /etc/apt/sources.list

Copy and paste the following (replace all), save, and close the editor:

Code: Select all

deb http://repository.solydxk.com/ solydxk-9 main upstream import
deb http://deb.debian.org/debian stretch main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free


After changing the /etc/apt/sources.list file, do not forget to run:

Code: Select all

sudo apt-get update


If you're tracking Debian Testing, use the sources.list mentioned here: http://forums.solydxk.com/viewtopic.php?f=78&t=5620


SolydXK needs you!
Development | Testing | Translations

645dood
Posts: 12
Joined: 23 Sep 2013 07:53

Re: Sources.list

Postby 645dood » 23 Sep 2013 08:02

Hi, Love using SolydK, but trying to get into the source list and I am getting an error message "The document could not be saved, as it was not possible to write to /etc/apt/sources.list. Check that you have write access to this file or that enough disk space is available". I have a hell of a lot of disk space so I do not understand why. Also I though updating via apt-get update, etc would solve this issue but I got the following errors.

Code: Select all

Ign http://packages.solydxk.com solydxk InRelease
Ign http://packages.solydxk.com solydxk Release.gpg
Ign http://packages.solydxk.com solydxk Release
Hit http://debian.solydxk.com testing InRelease
Ign http://debian.solydxk.com testing InRelease                       
Hit http://debian.solydxk.com testing/updates InRelease
Hit http://debian.solydxk.com testing/main amd64 Packages/DiffIndex     
Hit http://debian.solydxk.com testing/contrib amd64 Packages/DiffIndex
Hit http://debian.solydxk.com testing/non-free amd64 Packages/DiffIndex
Hit http://debian.solydxk.com testing/main i386 Packages/DiffIndex
Hit http://debian.solydxk.com testing/contrib i386 Packages/DiffIndex
Hit http://debian.solydxk.com testing/non-free i386 Packages/DiffIndex
Hit http://debian.solydxk.com testing Release.gpg
Hit http://debian.solydxk.com testing/updates/main amd64 Packages
Hit http://debian.solydxk.com testing/updates/contrib amd64 Packages
Hit http://debian.solydxk.com testing/updates/non-free amd64 Packages
Hit http://debian.solydxk.com testing/updates/main i386 Packages
Hit http://debian.solydxk.com testing/updates/contrib i386 Packages
Hit http://debian.solydxk.com testing/updates/non-free i386 Packages
Hit http://debian.solydxk.com testing Release
Hit http://debian.solydxk.com testing/main amd64 Packages
Hit http://debian.solydxk.com testing/non-free amd64 Packages
Hit http://debian.solydxk.com testing/main i386 Packages
Hit http://debian.solydxk.com testing/non-free i386 Packages
Err http://packages.solydxk.com solydxk/main amd64 Packages
  404  Not Found
Err http://packages.solydxk.com solydxk/upstream amd64 Packages
  404  Not Found
Err http://packages.solydxk.com solydxk/import amd64 Packages
  404  Not Found
Err http://packages.solydxk.com solydxk/main i386 Packages
  404  Not Found
Err http://packages.solydxk.com solydxk/upstream i386 Packages
  404  Not Found
Err http://packages.solydxk.com solydxk/import i386 Packages
  404  Not Found
W: Failed to fetch http://packages.solydxk.com/dists/solydxk/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://packages.solydxk.com/dists/solydxk/upstream/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://packages.solydxk.com/dists/solydxk/import/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://packages.solydxk.com/dists/solydxk/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://packages.solydxk.com/dists/solydxk/upstream/binary-i386/Packages  404  Not Found

W: Failed to fetch http://packages.solydxk.com/dists/solydxk/import/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.


Is there any solutions to this as I love SolydK. I do apologies if I have posted in the wrong section of the forum.
Thanks.

User avatar
Schoelje
Site Admin
Posts: 8455
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Sources.list

Postby Schoelje » 23 Sep 2013 08:25

Hi 645dood, and welcome to our forum!

I have updated the Opening Post (OP).
You need to open the /etc/apt/sources.list file with root privileges.
In SolydX you open a terminal and run:

Code: Select all

gksudo mousepad /etc/apt/sources.list

and in SolydK you run:

Code: Select all

kdesudo kate /etc/apt/sources.list

Then you paste the corresponding lines from the OP, save, and run:

Code: Select all

sudo apt-get update

If all has gone well, you won't see the errors anymore.

P.S.: For readability, please put any terminal output between "Code" tags. I have done that now for you.


SolydXK needs you!
Development | Testing | Translations

645dood
Posts: 12
Joined: 23 Sep 2013 07:53

Re: Sources.list

Postby 645dood » 23 Sep 2013 09:37

Hi Schoelje, Excellent it worked, did a sudo apt-update, upgrade and dist-upgrade. I find though doing a sudo apt update, etc my internet speeds are slow typically 200-300kb/s. Is this normal..?? thanks again. :D

User avatar
Schoelje
Site Admin
Posts: 8455
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Sources.list

Postby Schoelje » 23 Sep 2013 10:33

645dood wrote:Hi Schoelje, Excellent it worked, did a sudo apt-update, upgrade and dist-upgrade. I find though doing a sudo apt update, etc my internet speeds are slow typically 200-300kb/s. Is this normal..?? thanks again. :D

If you open the Update Manager (UM, the shield icon in your tray), you can open Edit/Preferences and click on the "Repository mirrors" tab. Click on the "Check mirrors speed" button to see which mirror is fastest. Select those that are fastest, and click "Apply". The next time your speed will be better. Of course, it all depends on your ISP's speed.


SolydXK needs you!
Development | Testing | Translations

645dood
Posts: 12
Joined: 23 Sep 2013 07:53

Re: Sources.list

Postby 645dood » 24 Sep 2013 07:39

Thanks again Schoelje, I can't beleive they have my ISP as a mirror source which I have selected. It indicates a much faster download speed, Again thank you for your help / asistance.

fromwm
Posts: 12
Joined: 22 Jan 2014 03:07

Re: Sources.list

Postby fromwm » 26 Jan 2014 19:28

I did a fresh install of 201401 Solydx yesterday. Within this topic, under the heading "[Production - SolydX]", you show the contents of sources.list I have everything you show except the first line.

You show:
deb http://packages.solydxk.com/production/ solydxk main upstream import
But I have:
deb http://packages.solydxk.com/production/ solydxk main upstream import kdenext

What is the difference?

Also, when I do an apt-get update, I received this:

Hit http://packages.solydxk.com solydxk InRelease
Hit http://community.solydxk.com solydxk InRelease
Hit http://debian.solydxk.com testing InRelease
E: Release file for http://debian.solydxk.com/production/di ... /InRelease is expired (invalid since 18d 21h 20min 55s). Updates for this repository will not be applied.

I searched your forums, and when I entered this as root:
echo "Acquire::Check-Valid-Until "false";" >> /etc/apt/apt.conf.d/80updatemanager

the apt-get update ran fine.

Was I correct creating this file?

Thank you.

nalu
Posts: 3
Joined: 24 Jan 2014 18:46

Re: Sources.list

Postby nalu » 26 Jan 2014 20:45

fromwm wrote:I did a fresh install of 201401 Solydx yesterday. Within this topic, under the heading "[Production - SolydX]", you show the contents of sources.list I have everything you show except the first line.

You show:
deb http://packages.solydxk.com/production/ solydxk main upstream import
But I have:
deb http://packages.solydxk.com/production/ solydxk main upstream import kdenext

What is the difference?


First of, [Production - SolydX] is for XFCE flavor. Your repo sources.list (at least first line) is pointing SolydK repos, which is KDE flavor.

So if you have SolydX you should use [Production - SolydX] repos. But if you are using SolydK, more likely regarding your repo, you suppose to use [Production - SolydK] repo.

User avatar
ane champenois
Posts: 1536
Joined: 24 Feb 2013 08:17
Location: Grands lacs Forêt d'Orient, France

Re: Sources.list

Postby ane champenois » 26 Jan 2014 20:48

fromwm wrote:I did a fresh install of 201401 Solydx yesterday. Within this topic, under the heading "[Production - SolydX]", you show the contents of sources.list I have everything you show except the first line.

You show:
deb http://packages.solydxk.com/production/ solydxk main upstream import
But I have:
deb http://packages.solydxk.com/production/ solydxk main upstream import kdenext

What is the difference?

For the first question, as you can see in the first post of the topic if you take a look at [Production - SolydK], your sources.list file is a SolydK's sources.list.
But it seems to me that this is not a problem, because it just allows you to use SolydK specific Kde repository, what you doesn't need on SolydX (your desktop is based on Xfce, totally unlinked with Kde.
I hope this help. For the second question, I'm afraid I can't help you.
They did not know it was impossible so they did it.

User avatar
fleabus
Posts: 1227
Joined: 16 Sep 2013 04:24
Location: Winchester, VA USA

Re: Sources.list

Postby fleabus » 26 Jan 2014 20:54

Removed: incorrect info

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: Sources.list

Postby zerozero » 26 Jan 2014 21:04

the sources.list for X and K are exactly the same in the latest iso's.

this was a discussed topic some time ago but:
1- it doesn't make sense not to have all the software (and the same version of that software) available in both X and K;
2- not having kdenext in X we would see dependencies issues if an user wanted to install any kde app in SolydX

so, the sources.list are exactly the same

Code: Select all

zerozero@x32:~$ inxi -Sxxxr
System:    Host: x32 Kernel: 3.11-2-486 i686 (32 bit, gcc: 4.8.2)
           Desktop: Xfce 4.10.2 (Gtk 2.24.18) info: xfce4-panel dm: lightdm Distro: SolydXK 1 testing
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://packages.solydxk.com/production/ solydxk main upstream import kdenext
           deb http://debian.solydxk.com/production testing main contrib non-free
           deb http://debian.solydxk.com/production/multimedia testing main non-free
           deb http://debian.solydxk.com/security testing/updates main contrib non-free
           deb http://community.solydxk.com/production/ solydxk main

^^ out-of-the-box install ^^

===
the second issue is odd because80updatemanager has that line in all editions

Code: Select all

zerozero@x32:~$ cat /etc/apt/apt.conf.d/80updatemanager
Acquire::Check-Valid-Until "false";
Acquire::Language "environment";

and shouldn't give you that error.

===
have you checked the md5sum of the downloaded iso?
bliss of ignorance

fromwm
Posts: 12
Joined: 22 Jan 2014 03:07

Re: Sources.list

Postby fromwm » 26 Jan 2014 21:15

I wonder why the installation of SolydX would reference any of the SolydK's repos? But because you say it should not be a problem, then I won't be that concerned. I just think removing the " kdenext" from the installed version of SolydX would be less confusing (at least to me), and then be the same as what you reference under the heading "[Production - SolydX]" of this thread.

Hopefully someone will be able to help me with my 2nd question regarding the creation of the file 80updatemanager in order to run the apt-get update without errors.

Thank you.

User avatar
fleabus
Posts: 1227
Joined: 16 Sep 2013 04:24
Location: Winchester, VA USA

Re: Sources.list

Postby fleabus » 26 Jan 2014 21:19

Removed: Irrelevant

fromwm
Posts: 12
Joined: 22 Jan 2014 03:07

Re: Sources.list

Postby fromwm » 26 Jan 2014 21:23

When I did fresh installs using the 201311 and 201401 iso's, neither had a 80updatemanager file.

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: Sources.list

Postby zerozero » 26 Jan 2014 21:30

fromwm wrote:When I did fresh installs using the 201311 and 201401 iso's, neither had a 80updatemanager file.


[first go to apt.conf.d]
cd /etc/apt/apt.conf.d
and now give us the following outputs, please
ls -lA
(it's lowercase L in both situations)

Code: Select all

cat /etc/apt/apt.conf.d/80updatemanager
bliss of ignorance

fromwm
Posts: 12
Joined: 22 Jan 2014 03:07

Re: Sources.list

Postby fromwm » 26 Jan 2014 23:07

Per your request:

cd /etc/apt/apt.conf.d
ls -al
drwxr-xr-x 2 root root 4096 Jan 26 13:09 .
drwxr-xr-x 6 root root 4096 Dec 8 12:59 ..
-rw-r--r-- 1 root root 350 Jul 26 2013 01autoremove
-rw-r--r-- 1 root root 314 Jan 15 07:56 01autoremove-kernels
-rw-r--r-- 1 root root 129 Jan 25 12:44 10periodic
-rw-r--r-- 1 root root 164 Aug 27 04:53 20apt-show-versions
-rw-r--r-- 1 root root 243 Jun 11 2012 20dbus
-rw-r--r-- 1 root root 141 May 31 2011 20listchanges
-rw-r--r-- 1 root root 1040 Jul 11 2013 20packagekit
-rw-r--r-- 1 root root 3944 Dec 14 04:24 50unattended-upgrades
-rw-r--r-- 1 root root 182 Jan 30 2011 70debconf
-rw-r--r-- 1 root root 34 Jan 26 13:09 80updatemanager
-rw-r--r-- 1 root root 32 Jan 26 16:30 99synaptic

cat /etc/apt/apt.conf.d/80updatemanager
Acquire::Check-Valid-Until false;

Please note that 80updatemanager only exists because I created it after seeing a post in your forums.

Thank you.

User avatar
Schoelje
Site Admin
Posts: 8455
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Sources.list

Postby Schoelje » 27 Jan 2014 08:42

80updatemanager is part of the updatemanager package.
Removing that package, would also remove 80updatemanager.
You can check the package a file belongs to with:

Code: Select all

dpkg -S 80updatemanager
which in my case returns:

Code: Select all

updatemanager: /etc/apt/apt.conf.d/80updatemanager


SolydXK needs you!
Development | Testing | Translations

fromwm
Posts: 12
Joined: 22 Jan 2014 03:07

Re: Sources.list

Postby fromwm » 28 Jan 2014 17:29

You are absolutely correct. I did remove updatemanager via synaptic. I didn't realize removing this would remove 80updatemanager as well. My thought was because synaptic is part of the default installation and is a supported Debian package while updatemanager is not, that 80updatemanager would remain installed while synaptic is installed. Now I know. Thanks again for your support!

nbi
Posts: 32
Joined: 10 Feb 2014 18:59

Re: Sources.list

Postby nbi » 24 Feb 2014 18:40

fromwm wrote:I wonder why the installation of SolydX would reference any of the SolydK's repos? But because you say it should not be a problem, then I won't be that concerned. I just think removing the " kdenext" from the installed version of SolydX would be less confusing (at least to me), and then be the same as what you reference under the heading "[Production - SolydX]" of this thread.

Hopefully someone will be able to help me with my 2nd question regarding the creation of the file 80updatemanager in order to run the apt-get update without errors.

Thank you.


I'm actually interested in the answer to your first question. On a new installation sources.list only references SolydX repos. Not a problem I suppose, but not intuitively obvious. What I expected was the standard Debian repos augmented by SolydX repos. Since SolydX is based on Debian why not point to areas of commonality (the Debian repos) and add in the differences (SolydX repos) as needed? What if any benefit is provided by the installation default?

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: Sources.list

Postby zerozero » 24 Feb 2014 19:51

this viewtopic.php?f=17&t=152 has the answers for you.
bliss of ignorance


Return to “News & Anouncements”

Who is online

Users browsing this forum: No registered users and 2 guests