-1
votes
1answer
63 views

Why can't I update my system via shell script?

I have a very simple script, let's call it update.sh: #!/bin/bash echo "Updating system..." sudo apt-get udpate sudo apt-get udgrade Running this script, throws the following error: me@host $ ...
1
vote
0answers
29 views

suppress all interaction while installing apt-fast

I want to ask whether there is any method to suppress any interaction while installing apt-fast using apt-get. I add the ppa source and then use the next command to install apt-fast: sudo apt-get -y ...
0
votes
0answers
26 views

Recompile package (with applied .diff file) after every update

I have a .diff file which I use to patch unity source code and then recompile it, so I can remove trash icon from unity panel which is important to me. However after every update of Unity, the patched ...
3
votes
2answers
239 views

How can I check for apt-get errors in a bash script?

I am writing a bash script to install software and update Ubuntu 12.04. I would like the script to be able to check for apt-get errors especially during apt-get update so that I can include corrective ...
0
votes
4answers
606 views

How to prevent script not to stop after apt-get?

I keep some bash snippets and copy&paste them when I needed for management. But I discovered apt-get cancels script execution. Here's my script where problematic. apt-get -y install gcc g++ make ...
0
votes
0answers
13 views

retrieve statistics on Ubuntu packages

how can I retrieve a list of all packages or better specific packages offered by Ubuntu? Preferable, I would like to create a list of certain packages shipped by Ubuntu but on a computer in the cloud ...
1
vote
1answer
102 views

How to integrate a package updates in Ubuntu?

I have made a .deb file which I have hosted on an Apache server. What I want is that the software should get updated automatically along with other software & Ubuntu updates as shown in the image. ...
1
vote
1answer
1k views

Auto confirm when running bash scripts?

I am working on a simple bash script that configures new servers how I want them. It's nothing special but it will hopefully save me quite a lot of time in the future. How do I prevent prompts like ...
0
votes
1answer
211 views

Trigger script execution on after apt-get upgrade for a certain package?

Question: I have customized an application startup script. Unfortunately, it gets overwritten every time I do apt-get dist-upgrade when there is an update available (quite often). Now I have ...
3
votes
2answers
2k views

How to avoid “apt-get” to stuck?

In some conditions like those : Slow internet connections Slow PPA or sources Wifi internet access or 3g internet access apt-get may stuck during update, install, upgrade or dist-upgrade.... ...
9
votes
3answers
3k views

How to install multiple PPAs and applications at once?

I'm going to set up a couple of general use computers on one of my lab's work benches. There's a whole bunch of PPA repositories and applications from the Ubuntu repositories that I'd like to install ...
14
votes
2answers
1k views

What is apt-fast and should I use it?

Several times over the past couple years, I've heard of people using apt-fast for updating and installing packages, but I'm not really sure what it does. I think I've traced its origin to this forum ...
3
votes
1answer
383 views

Off-line Repository and software removal

I read up on the process here and came up with this script: for i in `ls -1 /var/cache/apt/archives` ; do sudo cp /var/cache/apt/archives/$i /home/jj/Documents/Repository ; done and to re-install: ...
7
votes
5answers
586 views

Generating an app list from the old installation to run it on the new installation

I want to shift from ubuntu-desktop 10.10 to ubuntu netbook edition 10.10 on my netbook. Currently, the moment I ssh into ubuntu from my ad-hoc network, ubuntu freezes. It always requires a cold ...
10
votes
4answers
10k views

How do I write an application install shell script?

Does anyone know how to write a shell script to install a list of applications? It's a pain to have to install each application by hand every time I set up a new system. Edit: It still asks me Do ...