apt-get install not working in script

Posted by isoman on Server Fault See other posts from Server Fault or by isoman
Published on 2011-09-28T17:37:49Z Indexed on 2012/09/30 21:40 UTC
Read the original article Hit count: 173

Filed under:
|
|

I create a small script that installs a set of linux paquets .

Strangely apt-get install always fails and tells me that the package have not been found. Here is my script:

#! /bin/bash
sudo apt-get install python-software-properties
sudo apt-get update
sudo add-apt-repository ppa:pitti/postgresql
sudo apt-get install xfce4 postgresql-9.0 pgadmin3 chromium-browser wine iftop

What can i do to fix this ?

Thanks .

© Server Fault or respective owner

Related posts about ubuntu

Related posts about installation