LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 01-27-2013, 09:33 PM   #1
pepperdreamteam
LQ Newbie
 
Registered: Jan 2013
Posts: 5

Rep: Reputation: Disabled
Cool knoppix sources.list?


Knoppix is a debian-based, Linux live DVD.

I've liked the pre-installed packages in knoppix so much, that I've installed it to disk (several times now). My question is about /etc/apt/sources.list

in Knoppix, the sources.list file has MANY repo links, it includes links for stable, testing, unstable and experimental (lenny, squeeze, wheezy, sid...etc), all uncommented.

there's a copy of my sources.list file here: http://ghghgh.us/sources.list

the strange thing is that in the /etc/apt/apt.conf file, the
default release is wheezy...here's what it says:

APT:efault-Release "wheezy";

I'm wondering, should I COMMENT OUT or REMOVE all the links in my sources.list file that aren't wheezy/wheezy related? what is the advantage to having so many links?

Last edited by pepperdreamteam; 01-27-2013 at 09:36 PM.
 
Old 01-28-2013, 12:48 AM   #2
pepperdreamteam
LQ Newbie
 
Registered: Jan 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
does anyone know knoppix here?
 
Old 01-28-2013, 03:15 AM   #3
m.a.l.'s pa
Member
 
Registered: Oct 2007
Location: albuquerque
Distribution: Debian, Arch, Kubuntu
Posts: 366

Rep: Reputation: 139Reputation: 139
I use Knoppix, but not installed. My opinion is that it's better to go with Debian for that. I looked over your sources.list, and you bring up some good and interesting questions.

This might not give you quite the answers that you want, but you might want to read the article "HD Install Warning not to do it": http://knoppix.net/wiki/HD_Install_Warning_not_to_do_it

The reason I suggest this article is because it discusses how and why the live CD contains packages from different Debian versions (stable, testing, unstable, experimental) and how this can be a problem when using Knoppix as an installed system:

Quote:
This works out great for a Live CD where everything has been tested to work together well. It does not work out so well when you take that combination of carefully tested and balanced (and maybe hacked to fit) software and install it to hard disk, particularly if you ever install anything else or try to update any of the current packages. That makes the package manager do things that it is not intended to do with parts taken from the different versions.
 
Old 01-28-2013, 11:53 AM   #4
pepperdreamteam
LQ Newbie
 
Registered: Jan 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Cool

Well, unlike the article claims, I don't really think that this is rocket science. Basically it seems like knoppix is built on debian stable, but has the package manager set up so that it looks first to testing and unstable repos. I think there is no harm in eliminating lenny and squeeze from the sources.list file, and updating and upgrading everything. That being said what is left is a mixture of sid and wheezy (testing and unstable), which I guess is unsupported by Debian standards. If I'm wrong about any of this, I really do not mind being corrected.

There is one other pertinent file.../etc/apt/preferences, which reads
Package: *
Pin: release a=testing
Pin-Priority: 900

Package: *
Pin: release a=unstable
Pin-Priority: 800

I'm guessing this just means, first look to wheezy for the package, and if it isn't there, look in the unstable repos.

it SEEMS like a pretty cool way to set up debian, though perhaps more liable to break than just installing squeeze, isn't any debian configuration using the unstable or testing repos more likely to break than stable?

I definitely hear the advice about just installing Debian directly from sources rather than going through knoppix, and thank you for that. Maybe the more proper way would be to do a conventional debian install and then use dpkg to from knoppix build a package list for all of knoppix's cool, built-in packages?

Confusion like this makes me wonder why there are SO MANY linux distros, debian-based distros, gentoo-based distros, ubuntu-based distros, etc. If it's less stable/safe to install them, why should they even exist (instead of just existing as scripts that the user runs ONCE the main distro, whether it be debian, gentoo or ubuntu is properly installed)?

Last edited by pepperdreamteam; 01-28-2013 at 11:54 AM.
 
Old 01-28-2013, 11:56 AM   #5
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
What you describe is called "apt-pinning" and lots of Debian users do it:

http://wiki.debian.org/AptPreferences#Pinning
 
Old 01-29-2013, 07:13 AM   #6
m.a.l.'s pa
Member
 
Registered: Oct 2007
Location: albuquerque
Distribution: Debian, Arch, Kubuntu
Posts: 366

Rep: Reputation: 139Reputation: 139
Quote:
Originally Posted by pepperdreamteam View Post
Well, unlike the article claims, I don't really think that this is rocket science.
Maybe not, but I guess there are good reasons why the Knoppix wiki section on hard drive installation (http://knoppix.net/wiki/Category:Har...e_Installation) has a link to this article highlighted in red letters.

I do see why someone would want to try it, though. Knoppix comes with some cool stuff. Looking at a live Knoppix session, there's obviously an option in the menu for installing it to a hard drive.

But it also seems that you could install Debian and still add all of the packages that you see in Knoppix.

Beyond my area of expertise, I guess. I've used Knoppix (and Debian) for years, but I use Knoppix only for live sessions. Great tool to have around, by the way!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
disabling cd sources in apt/sources.list revod_neb Linux - Newbie 4 05-25-2013 12:03 PM
'E:Malformed line 54 in source list /etc/apt/sources.list (dist parse), E:The list of vsssuccess@gmail.com Linux - Desktop 1 11-17-2010 08:17 AM
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
Ubuntu Sources List! I need some great sources lists! Jengo Linux - Newbie 1 06-24-2005 04:50 PM
KNOPPIX apt-get sources.list Mingthefirst Debian 2 06-22-2004 09:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration