-
Junior Member
registered user
apt-get sources configuration/minimal
knoppix 3.3 hard drive install utilized knoppix-installer, debian version.
Running apt-get update has about 95 sources it checks, what can I "safely" remove from apt-get/sources to get a minimal source list, and not break my system? When I run it, i seem to get a mixtuer of stable/unstable/testing...is this required? or can I go with just unstable...etc.etc.etc.
Thanks
TheBman
-
Senior Member
registered user
Edit your /etc/apt/sources.list file and comment out (put a # (hash)) in front of the lines in your /etc/apt/sources.list file that reference stable and testing debian repositories.
ex:
deb ftp://ftp.debian.org/debian stable main contrib non-free
in the above line after the URI is the word stable so you could comment out this line like this:
#deb ftp://ftp.debian.org/debian stable main contrib non-free
I also comment out all references to source repositories, as I don't build my own packages, ex:
#deb-src ftp://ftp.debian.org/debian woody main contrib non-free
then save the file and run apt-get update and then apt-get dist-upgrade to upgrade all libraries etc. to unstable, note you may have some difficulties doing this because of dependencies and duplications of some files in more than one package in KDE, as an example, if you get an error that some file is also in another package you will have to use:
dpkg --force-overwrite -i * fullpath-to-packagename-with-version.deb
to install the package that failed, then run apt-get dist-upgrade again. You may have to run apt-get dist-upgrade several times for all problems to be sorted out. Keep running apt-get dist-upgrade untill it says that there are no packages to upgrade, from then on you shouldn't need to use dist-upgrade for "normal" upgrades, just use apt-get upgrade to upgrade packages as they come into unstable,.
You should be able to get around any problems with this approach, but there is a chance that you may break your system doing this.
~rock
-
Junior Member
registered user
Rock
Thanks...worked like a champ
TheBman
-
Senior Member
registered user
Hey RockMumbles,
While on the topic/subject, pardon my intrussion on this thread, but, since we are talking about the apt-get stuff...
Ever since installing Knoppix v3.3, I have been "seriously" doing the apt-get stuff, I just got through cleaning out my sources list, so most (if not all) of the 404 and not found messages are cleaned up, but...
All I have ever done is the apt-get update and apt-get upgrade, why/when would you do the apt-get dist one? What does it do, considering I am just a single user system, with a couple of user accounts for family members, is the dist part necessary?
Please, enlighten me, being new to this whole process, (which is incredibly cool, compared to Windows' way of doing this kind of stuff) , no one really ever did explain why, and when, and where, these kinds of things are done. Please, don't get me hosed here, ok? I love Knoppix/Debian, and have come to call it "my" OS now, and wouldn't want to have to go back to Windows, even if I had to 
Thanks for any assistance on my furthering knowledge,
Cuddles
-
Senior Member
registered user

Originally Posted by
Cuddles
Hey RockMumbles,
While on the topic/subject, pardon my intrussion on this thread, but, since we are talking about the apt-get stuff...
Ever since installing Knoppix v3.3, I have been "seriously" doing the apt-get stuff, I just got through cleaning out my sources list, so most (if not all) of the 404 and not found messages are cleaned up, but...
All I have ever done is the apt-get update and apt-get upgrade, why/when would you do the apt-get dist one? What does it do, considering I am just a single user system, with a couple of user accounts for family members, is the dist part necessary?
Please, enlighten me, being new to this whole process, (which is incredibly cool, compared to Windows' way of doing this kind of stuff) , no one really ever did explain why, and when, and where, these kinds of things are done. Please, don't get me hosed here, ok? I love Knoppix/Debian, and have come to call it "my" OS now, and wouldn't want to have to go back to Windows, even if I had to
Thanks for any assistance on my furthering knowledge,
Cuddles
You usually use the dist-upgrade when you want to change from one branch to the other, say you are running stable and you want to upgrade to testing then you put the sources for testing in the sources.list then you use the dist-upgrade to upgrade your entire install to testing.
-
Senior Member
registered user
Thanks...worked like a champ
Cool
and..
Thanks, Stephen for all you do here!
~rock
-
Junior Member
registered user
While we are on the subject, what does "apt-get setup" do?
Similar Threads
-
By ihtiandr in forum MS Windows & New to Linux
Replies: 1
Last Post: 02-14-2005, 08:40 PM
-
By dapissarenko in forum MS Windows & New to Linux
Replies: 3
Last Post: 11-10-2004, 10:43 AM
-
By sylphin in forum General Support
Replies: 1
Last Post: 05-22-2004, 02:41 AM
-
Replies: 0
Last Post: 09-26-2003, 08:59 PM
-
By ZerBit in forum Customising & Remastering
Replies: 16
Last Post: 09-09-2003, 06:06 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Toshiba Magnia SG20 VPN Linux server Web server (No HDD, *Read*) -
$60.00

Sun Enterprise e450 400mhz cpu(x4), 4gb ram, 9gb HD w/spud most complete on ebay
$600.00

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$115.00

Ubuntu 26.04 LTS β 3 DVD Set Desktop - Server - Studio Edition - Grade AAA+
$13.99

Hitachi 14TB SATA 6Gb/s, 3.5β, 7200 RPM, Linux Only Hard Drive. 100% HEALTH.
$189.95

All New Ubuntu 26.04 LTS Linux Bootable USB Flash Drive
$15.95

Start9 Server Pure 32GB 4TB Intel i7 Node StartOS β Box + PSU
$699.00

Linux Mint AI Deep Learning PC Workstation Ryzen 5 24gb Ram 16gb Tesla P100 GPU
$599.99

HP ProLiant DL360P G8 Server 2.60Ghz 16-Core 96GB 2X 300GB Enterprise (Renewed)
$140.00

Microsoft SQL Server 2025 Standard 32 Core Unlimited User CALs CoA Authentic
$388.00