Quote:
Originally Posted by joseph2020
as to my questions... is there a batch command to install all files from the flashdrive? instead of one at a time?
|
You could use wildcard matching ("globbing"):
dpkg -i /directory/path/*.deb
... although I'm wondering whether some updates should be installed in a particular order. A safer method would be running this in the terminal on your Ubuntu machine:
Code:
sudo apt-get -s dist-upgrade | \
grep '^Inst' | awk '{print $2}' | \
sed 's/$/*.deb/' > UpdateFile
This will run a "simulated" update (-s flag in apt-get), select the lines which represent package installs (beginning with Inst), print out the second field (which should be the package name), then tack *.deb to the end (to match the
file name) and output to a file called UpdateFile. The upshot is that you should have a list of package files in the order in which Ubuntu was going to install them.
Then run:
Quote:
for file in $(cat UpdateFile); do \
dpkg -i /directory/path/$file; done
|
... to do the install.
Quote:
Do I really need to install all updates? Lastly, do the updates cause problems?
|
You don't necessarily need to update all of them. Gnome's update manager should give you a bit of information about each update, so you could look at this and make your mind up.
The updates generally don't cause problems. No guarantees (unfortunately). Occasionally an update can break something. In such cases, a fix is usually issued quite quickly.