PDA

View Full Version : apt-get sources best practices



alaing
09-07-2004, 08:55 AM
Hi,

I installed 3.6 to my HD and am looking for best **safe** practices for upgrading and installing packages. What sources did you change in the config ? I want to install KDE 3.3 on this machine and mail server/spamassassin/fetchmail/samba.

Must say that at first install I just did apt-get update, upgrade and dist-upgrade but ended up with some errors and not so clean package cache.

terry-s
09-07-2004, 11:41 AM
I had exactly the same problem when I installed 3.4 to hd.

A number of people have written that the result of install to hd is a
debian system, but in my (our?) hands it doesn't behave as
advertised in the way that it reacts to apt commands.

Sorry to say I've no idea how to deal with this.

Terry

fastvfr
09-09-2004, 05:53 AM
I think all Knoppix users who install the OS onto partitions will run into this eventually...

To date, I have had these issues and taken these steps:

UNchecked all but the Stable selections in all the address bars in apt. Boring? Perhaps. But safer to get started with.

Added any and all URL's for stable apps I came across.

Ran the Apt Update after doing that, yet I still wound up with a heap 'o crap :? coming into the apt-cache.

I did grab a few things from command line, such as the 2.4.26 and 2.6.7-i686 kernel source files (which allowed me to set up the kernel properly, as well as update one install to Sarge) and the newest ALSA drivers...yes indeed, that Audigy card sounds fabulous...ON XP.... :roll: ...but still no joy on Linux.

I was also forced to DL the libntfs5_1.9.2-2 because nothing AT ALL would install due to dependencies; and O/C neither would this lib!! And nothing I could shut down would allow it to install, either (due, of course, to the diffs between Knop and Debian naming conventions-its name is libntfs.so.5_1.9.2-2 in Kpx...) so I had to "--force-install" the little beggar. That heavy-handed approach has caused no problems yet, and the other apps went in fine afterwards.

So after I grabbed that stuff, I created a folder in the aptcache, moved all the stuff I wanted into it, and purged the other useless tripe. Reclaimed over 500MB of disk space that way.

But the best 'Safe' practice you can use is that of a separate '/ ', /home/ and swap partitions. In fact, I have a System Restore on my HDD, wherein I am using two kernels, with two home dirs and two root directories for each.

That means that, not only is there a nominal root/home/usr/ setup on each OS, but also that I have moved an active copy of each of the /home directories to a different partition, and then told the kernel about it. So, the /home directories on the actual partitions are really the first backup, in a way, since they are not used. I do refresh them periodically, about every third backup to the inactive partition sees them overwritten.

However, I have also created another partition, that is ignored by the kernels and needs manual mounting; in this part., I have archived yet another copy of each /home directory and locked them away for safekeeping along with enough '/' files to allow an emergency repair that is guaranteed to bring me back to the exact state of the last backup, unless the PC catches fire or something, that is. :shock:

Samba set up fine for me; I know very little about the other items on your list. KDE 3.2 is fine for me, esp. with all the themes and cursors available...but those mail/spam proggies should not be too dependent, or cause too many errors. Let's hope not, anyhow!

Good luck,

FastVFR