Sponsored Content
Operating Systems Linux Ubuntu Automatic update script issue (Ubuntu server) Post 302691371 by mauregato on Friday 24th of August 2012 10:27:39 AM
Old 08-24-2012
Hello, sorry I try to explain better. Do you need to find some way to check the process apt-get dist-upgrade finshed before check the grep Kernel.
 

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
auto-apt(1)						      General Commands Manual						       auto-apt(1)

NAME
auto-apt - on demand package installation tool SYNOPSIS
auto-apt [options] [command] [args...] DESCRIPTION
This manual page documents briefly the auto-apt commands. auto-apt is a program that checks file access of programs running within auto-apt environments. If a program will access a file of unin- stalled package, auto-apt will install the package containing the file, by using apt-get. OPTIONS
A summary of options is included below. -h Usage. -s No action, perform a simulation of action. -y Automatic yes to prompt. -q Quiet -i Don't install in background process. -x Disable X interface. -X Enable X interface. Run apt-get in another x-terminal-emulator if you run in X environments. -a [dist[,dist...]] Select installable distribution from main,contrib,non-free,non-US or none. If you set "-a none", it means almost same as "-s". -p [hook[,hook...]] Select hook functions from exec,open,access,stat or none If you set "-p none", it means almost same as "-s". -D [dbfile] Change dbfile from default /var/cache/auto-apt/pkgcontents.db -F [filedb] Change filedb from default /var/cache/auto-apt/pkgfiles.db, which is generated by auto-apt update-local commands. It is used as default dbfile for commands with -local postfix. In many cases, it is used with -L option to detect file access -L [record.lists] Append file access data to record.lists file. COMMANDS
A summary of command is included below. run [command] Run command controlled by auto-apt. If command is not specified, user's shell will be used. update [ -a ] Recreate dbfile from sources.list information. dbfile can be specified by -D option. With -a option, all files are stored in dbfile. Note that dbfile become too big with -a option. update-local [ -a ] Generate filedb from installed package information. filedb can be specified by -F option. With -a option, all files are stored in dbfile. Note that dbfile become too big with -a option. merge [ -a ] Merge package,filename information to dbfile, which can be specified by -D option. With -a option, all files are stored in dbfile. Note that dbfile become too big with -a option. del package Delete file information of package from dbfile database. check [-v] [-f] file Check which package provides file, from dbfile database. options: -v means verbose. -f uses Contents-*.gz file instead of dbfile database. install [-s] [-d] [-u] [-y] [-v] file Try to install a package that provides file by using apt-get. You need root privilege to run apt-get install. list [-v] [-f] List file information in dbfile database. options: -v means verbose. -f uses Contents-*.gz file instead of dbfile database. search [-v] [-f] pattern Search file information by grep(1) pattern in dbfile database. options: -v means verbose. -f uses Contents-*.gz file instead of dbfile database. debuild [debuildopts] Run debuild(1) in auto-apt environments, and show Build-Depends: estimation. Recommended to use with -s option of auto-apt. status Show whether current environment is in auto-apt or not. FILES
o /etc/auto-apt/paths.list path lists o /var/cache/auto-apt cache/database directory o /etc/auto-apt/sources.list sources.list for auto-apt. if not found, symlink to apt-get's sources.list will be created. ENVIRONMENTS
o AUTO_APT_CACHEDIR override default cache/database directory BUGS
Known bugs. See /usr/share/doc/auto-apt/BUGS. and/or http://bugs.debian.org/auto-apt AUTHOR
This program was written by Fumitoshi UKAI <ukai@debian.or.jp>, inspired by idea/comments from Debian Guru (debian.gr.jp) and Project Dice members. 29 Jun 2000 auto-apt(1)
All times are GMT -4. The time now is 04:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy