Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
kasumiOffline
15 Post subject: Use "contrib" and "non-free" repositorie  PostPosted: 09.10.2011, 14:30



Joined: 2011-10-09
Posts: 2

Status: Offline
Hello.

Well, the subject says it all, I just want to use software stored in the non-free and contrib repositories, but anytime I change one of the .list-files in /etc/apt/sources.list.d/, apt-get update tells me that the file is malformatted or something ...

Can you please help me?

      Code:
Linux sidbox 3.0-6.slh.3-aptosid-amd64 #1 SMP PREEMPT Thu Oct 6 00:31:17 UTC 2011 x86_64 GNU/Linux


      Code:
root@sidbox:~# cat /etc/apt/sources.list.d/debian.list
deb http://cdn.debian.net/debian/ sid main
#deb-src http://cdn.debian.net/debian/ sid main


      Code:
root@sidbox:~# cat /etc/apt/sources.list.d/aptosid.list
deb http://oscar.aptosid.com/debian/ sid main fix.main
#deb-src http://oscar.aptosid.com/debian/ sid main fix.main


Thanks in advance. Smile
 
 View user's profile Send private message  
Reply with quote Back to top
bfreeOffline
Post subject: Re: Use "contrib" and "non-free" reposit  PostPosted: 09.10.2011, 15:25
Team Member


Joined: 2010-08-26
Posts: 247

Status: Offline
      kasumi wrote:

      Code:
root@sidbox:~# cat /etc/apt/sources.list.d/debian.list
deb http://cdn.debian.net/debian/ sid main
#deb-src http://cdn.debian.net/debian/ sid main


Just change that to:
      Code:
root@sidbox:~# cat /etc/apt/sources.list.d/debian.list
deb http://cdn.debian.net/debian/ sid main contrib non-free
#deb-src http://cdn.debian.net/debian/ sid main

[/quote]
Don't change the aptosid.list file (as aptosid has no contrib or non-free sections).
 
 View user's profile Send private message  
Reply with quote Back to top
kasumiOffline
Post subject: RE: Re: Use "contrib" and "non-free" rep  PostPosted: 09.10.2011, 15:39



Joined: 2011-10-09
Posts: 2

Status: Offline
Ah okay, that seemed to be my mistake ...

What does the second line stand for? I thought, lines beginning with a #, are just comments and not necessary for the essential content? If so, then why is it there?

Thank you very much! Smile
 
 View user's profile Send private message  
Reply with quote Back to top
piperOffline
Post subject: RE: Re: Use "contrib" and "non-free" rep  PostPosted: 09.10.2011, 15:52
Moderator


Joined: 2010-09-11
Posts: 480
Location: cheektowaga, ny
Status: Offline
The second line is for grabbing from source from debian. It is the source code of the applications and the files needed to create a .deb package out of them.

_________________
debian sid | apt-get into it
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio