-
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
Intel Core i7-7700 3.60GHz Quad-Core CPU
$38.87
AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads - 5.60 GHz Max Boo
$349.00
Intel Core i7-3770 3.40GHz SR0PK Processor
$30.00
AMD Ryzen 5 Pro 2400G Quad-Core 3.5GHz CPU Processor
$27.50
AMD Ryzen 7 7700 Processor (5.3 GHz, 8 Cores, Socket AM5) Boxed -...
$200.00
Intel Core i7-4770 SR149 3.40GHz Quad Core LGA1150 8MB Processor CPU
$29.99
Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...
$549.99
AMD Ryzen 5 5600X 6-core 12-Thread Desktop Processor AVZ9
$104.99
Intel Core i5-13600K - 13th Gen Raptor Lake 14-Core (6P+8E) 3.5GHz LGA CPU
$259.98
AMD Ryzen 7 5800X Processor 4.7GHz Socket AM4 8 Cores Box - 100-100000063WOF
$179.99