Sponsored Content
Operating Systems Linux Ubuntu Automatic update script issue (Ubuntu server) Post 302691347 by mauregato on Friday 24th of August 2012 09:47:36 AM
Old 08-24-2012
Hello,
Quote:
Does apt-get dist-upgrade run in the background or should the script wait for the process to finish before proceeding to the next step?
Yes, it is recomended that apt-get dist-updagrade finished, the problem just you said, is the grep Kerne. You can try with while or something.

bye.
 

8 More Discussions You Might Find Interesting

1. Solaris

Script for automatic deletion of trash file of mail server

Hi, I have a mail server with limited space and operating system is sun solaris 8 (sparc). I do not have provisions to increase the space for home directory. So i have to delete files from /home/username/mail/trash which are more than 10 days old automatically. So my script should be like... (1 Reply)
Discussion started by: crown2100bd
1 Replies

2. Shell Programming and Scripting

Script to check file update on ftp server

Hi everybody, Is there a way to do a stat of files on a ftp server? I have a database which is populated by the contents of these files. I want to setup a crontab to check if there has been an update to these files. If the file has been updated I will download it and then update my database. ... (2 Replies)
Discussion started by: z1dane
2 Replies

3. UNIX for Dummies Questions & Answers

Would like to install x86 desktop Ubuntu over AMD64 Ubuntu server

My intention was to build a dual boot XP Pro 64 and Ubuntu media server. I had installed the AMD64 version of Ubuntu 8.10 server and thought that I would be able to install Apache server. I need a GUI to work in. I tried to boot and install Mythbuntu 32 bit 8.10, but my machine now won't recognize... (0 Replies)
Discussion started by: docflyboy
0 Replies

4. Windows & DOS: Issues & Discussions

Configure automatic script in windows server

Dear Experts, I have database running,on windows server 2003 and my database are going down frequently due to some oracle bug. I need help to configure the automatic script which run's and check the database status, if database is down then send me email. Thanks in Advance. (32 Replies)
Discussion started by: Mohammed Fareed
32 Replies

5. Shell Programming and Scripting

Shell script to read from a file and update remote server

Its a tough one and would appreciate any guidance for a script that i am trying to develop....Again I do understand its a complicated script and help would be greatly appreciated.... Thank you 1- Need to check for a file (in a certain location on a server) every 15 minute or so if it is there... (4 Replies)
Discussion started by: aavam
4 Replies

6. Shell Programming and Scripting

Create a specific bash to increase the automatic update on my pi

hi everyone, I just began to be interested about the bash access. I buy a time ago a Raspberry pi, I installed raspbmc and now I would like build a bash to copy everyday all new files inside my server directly on the hard drive in my Pi. So my HDD is directly plug on my pi with usb connect,... (4 Replies)
Discussion started by: nagito34
4 Replies

7. Red Hat

RedHat 5 update 9 BASH update issue

Hi i want to update the BASH because of the "shell shock" vulnerability. my RedHat 5 is clean install with the default mirror site. when im running the command: yum update bash im getting a message saying there is no update. you can see in the attach picture... what am i doing wrong? is... (4 Replies)
Discussion started by: guy3145
4 Replies

8. Shell Programming and Scripting

Problem with GREP + CUT - script for automatic update of STEAM GAME AR

Hello, I have a problem with the /etc/rc.d/init.d script to automatically update STEAM GAME ARK. I've converted 3 scripts into one, but something does not work correctly ... The problem is in the file latestavailableupdate.txt / line 36/39. It think the problem is with script, it wrongly... (2 Replies)
Discussion started by: kshishu
2 Replies
UPGRADE-SYSTEM.CONF(5)						 Debian GNU/Linux					    UPGRADE-SYSTEM.CONF(5)

NAME
upgrade-system.conf - Configuration file for upgrade-system(8) DESCRIPTION
upgrade-system.conf is the configuration file for the upgrade-system(8) Debian administration utility. This file specifies command options used for calling apt-get(8) and deborphan(1) within upgrade-system(8). Lines starting with a hash mark ("#") and empty lines are ignored. EXAMPLE
The configuration file contains four variables: CLEANOPTS This variable selects which one of autoclean or clean to execute as the apt-get(8) cleaning command. For example: CLEANOPTS="clean" Consult the apt-get(8) manual page to check which options are available for any particular APT version, before setting this variable. UPGRADEOPTS This variable specifies which one of dist-upgrade or upgrade to execute as the apt-get(8) upgrade command and the command options. For example: UPGRADEOPTS="-f -u dist-upgrade" Consult the apt-get(8) manual page to check which options are available for any particular APT version, before setting this variable. ORPHANOPTS This variable specifies deborphan(1) command options. For example: ORPHANOPTS="--guess-all --libdevel --priority=2" One should read the deborphan(1) manual page to check which options are available for any particular version, before setting this variable. FLAUSCH Setting this variable enables various extremely pedantic purge options. This feature is totally experimental; usage is strongly discour- aged and should only be attempted by truly experienced Debian administrators. It can be used to sanitize a Debian system after a distribu- tion upgrade or to detect packages that don't conform to the Debian Policy. Setting the variable as a command line environment, only when needed, is considered a safer approach than adding it to upgrade-system.conf variables. SECURITY
Because upgrade-system is an APT front-end, all precautions relating to APT configuration should be observed. Special attention is required to: deborphan Certain combinations of deborphan(1) options purge a dangerous quantity of packages, potentially leaving a system in a severely crippled state. /etc/apt/preferences To prevent untested packages from overwriting stable ones, setting this combination of APT preferences is recommended: Package: * Pin: release a=stable Pin-Priority: 990 Package: * Pin: release a=testing Pin-Priority: 500 Package: * Pin: release a=unstable Pin-Priority: 100 Package: * Pin: release a=experimental Pin-Priority: 1 This enforces a priority to packages from Stable, yet still allows ones from Testing, Unstable or Experimental to get installed via appro- priate apt-get(8) options to override the default release. AUTHORS
Copyright (C) 2003-2004 Martin Zdrahal <martin.zdrahal@konflux.at> Copyright (C) 2004,2012 Christoph Schindler <hop@30hopsmax.at> Copyright (C) 2004-2012 Martin-Eric Racine <martin-eric.racine@iki.fi> LICENSE
GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>. SEE ALSO
apt-get(8), apt_preferences(5), deborphan(1), upgrade-system(8). http://q-funk.iki.fi 2004-03-31 UPGRADE-SYSTEM.CONF(5)
All times are GMT -4. The time now is 06:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy