21.10.2014, 10:12 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
feffer777
Titel: Configure Kanotix on a second machine  BeitragVerfasst am: 16.05.2006, 19:23 Uhr



Anmeldung: 01. Feb 2006
Beiträge: 128
Wohnort: SF Bay area
I have Kanotix 2005-04 on my primary machine now and have added many apps to it. I'm thinking about adding another machine at home and installing the latest Easter release on it. What's the best way to setup a new machine with the same apps and configuration that I have on my current box? How do I get a list of packages that I've added to 2005-04, so that I could install them on the new machine? Also, I know I can cp my /home dir to the new machine and get many configuration files that way, but what about configuration files in /etc? I don't like the idea of cp the whole old /etc to the new machine. Can I just change selective files, like /etc/fstab?

As far as getting a list of packages I've added this is what I've tried so far. I used "dpkg -l" to give me the list of currently installed packages and their status. Then I got a copy of the packages that come with Easter from the web-site. I cut the app name from both files and combined them into one file and then did "uniq -c" to give me a list of unique packages, and eliminated all packages with a count of 2. On this list would be all the apps I've added to 2005-04 plus apps unique to Easter. I thought I could locate and eliminate these latter ones by doing "dpkg -l < combined_file.txt". However this didn't work. Instead I got a list of all files installed on my current system just as if I'd done "dpkg -l". I don't understand why my file combined_file.txt wasn't redirected as stdin to "dpkg -l". Checking man dpkg and googling "redirection+cli" didn't answer my question. Maybe, I just missed it. Can anyone tell me how to get this to work? Or is there and easier way for me to get a list of apps I've added to my 2005-04 system?

Regards,
Ron

_________________
To whom much is given, much shall be required.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
lyx
Titel:   BeitragVerfasst am: 18.05.2006, 15:51 Uhr



Anmeldung: 28. Dez 2005
Beiträge: 15

If you haven't executed an apt-get clean you'll find all the packages you have installed in /var/cache/apt/archives. You could install 2005-04 on your second machine and try to install all these packages there via dpkg -i *.deb and copy your home directory to get an identical system. At least that's the way it works for me.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
feffer777
Titel:   BeitragVerfasst am: 18.05.2006, 20:07 Uhr



Anmeldung: 01. Feb 2006
Beiträge: 128
Wohnort: SF Bay area
Thanks lyx. So you've actually done that? Great, I was looking for some first hand experience. Unfortunately, I did an apt-get clean recently, so my cache is pretty much empty. Is there any other way to get a list of these added packages? Also what about configurations in /etc? Did you have to do a lot of tweeking to get your second system to where you like it?

Regards,
Ron

_________________
To whom much is given, much shall be required.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
lyx
Titel:   BeitragVerfasst am: 19.05.2006, 17:47 Uhr



Anmeldung: 28. Dez 2005
Beiträge: 15

If you installed everything via apt-get on the console, maybe you're lucky and your /root/.bash_history still contains all the commands you've entered (mine does because I didn't do much on the root console, only as user...)
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.