0
votes
0answers
9 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
55 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
3answers
287 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
11 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 ...
0
votes
0answers
24 views

How can I update my hosted packages on client automatically?

I have made a .deb package which I have hosted on an Apache server. People can do apt-get install from repository. But I want the software to automatically get updates and show a notification for ...
1
vote
1answer
76 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
187 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 ...
12
votes
1answer
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
370 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
541 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 ...
8
votes
4answers
8k 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 ...