Answer the question
In order to leave comments, you need to log in
Why doesn't the bash script work?
same problem
ubuntugeeks.com/questions/24482/how-to-undo-apt-ge...
there is a bash script at the end
echo '#!/bin/bash' > restore
echo sudo apt-get install 'grep Remove /var/log/apt/history.log | tail -1 | sed -e 's|Remove: ||g' -e 's|([^)]*)||g' -e 's|:[^ ]* ||g' -e 's|,||g'' >> restore
Answer the question
In order to leave comments, you need to log in
Compare the first and second lines. The answer is in front of your eyes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question