Sep 19, 2025 - 03:53 AMDeutsch | English
Hello unlogged user [ Register | Log in ]

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
stalin2000
Post subject: Einfaches Systemupdate-Script  PostPosted: Oct 26, 2011 - 07:16 PM



Joined: Jan 04, 2007
Posts: 1604
Location: Hamburg
Hallo Ihr,

ich möchte ein sh-Script auf dem Dektop haben, welches folgendes tut:

-Die Konsole öffnet
-und dann diese Befehle hintereinander eingibt (am besten nach apt-get dist-upgrade auch automatisch das j/ja für Pakete wirklich installieren auswählt)

apt-get update
apt-get dist-upgrade
apt-get clean
apt-get autoclean

Könnt Ihr mir da helfen?

Viele Grüße Christopher

_________________
Es ist dem Untertanen untersagt, den Maßstab seiner beschränkten Einsicht an die Handlungen der Obrigkeit anzulegen - Kurfürst Friedrich Wilhelm von Brandenburg
www.projektidee.org | www.gesundheitstabelle.de | www.neoliberalyse.de
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
sausi
Post subject: Einfaches Systemupdate-Script  PostPosted: Oct 26, 2011 - 08:42 PM



Joined: Mar 08, 2006
Posts: 55
Location: Magdeburg
Schau mal hier --> Automatisches Update unter Linux (http://www.kanotix.com/index.php?name=PNphpBB2&file=viewtopic&t=26593&highlight=)

hatte diese Anfrage auch schon mal gestartet.

sausi
 
 View user's profile Send private message  
Reply with quote Back to top
towo2099
Post subject: Einfaches Systemupdate-Script  PostPosted: Oct 26, 2011 - 08:46 PM



Joined: Sep 23, 2004
Posts: 618

apt-get clean
apt-get autoclean

Macht NULL Sinn, da nach einem apt-get clean nix mehr da ist, für ein apt-get autoclean.

Man sollte sich halt manchmal vielleicht die Manpages zu Gemüte führen.

_________________
Ich bin nicht die Signatur, ich Putz' hier nur Winken
Nach Diktat spazieren gegangen Auf den Arm nehmen
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
stalin2000
Post subject: Einfaches Systemupdate-Script  PostPosted: Oct 27, 2011 - 07:21 AM



Joined: Jan 04, 2007
Posts: 1604
Location: Hamburg
Alles, klar, danke! Simpleupdate scheint zu funktionieren, aber es stürzt ab mit hoher CPU-Auslastung, wenn es fertig ist bzw. bei der der letzten Aufgabe "Removing old and...."

_________________
Es ist dem Untertanen untersagt, den Maßstab seiner beschränkten Einsicht an die Handlungen der Obrigkeit anzulegen - Kurfürst Friedrich Wilhelm von Brandenburg
www.projektidee.org | www.gesundheitstabelle.de | www.neoliberalyse.de
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
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.