
On Sat, Jan 02, 2016 at 07:35:46PM +1100, David Zuccaro wrote:
No the question is which packages will give me networking back?
apt says network-manager has no installation candidate.
You need to find out which packages you removed. Try: grep remove /var/log/dpkg.log Or if you know the packages were removed on a certain date (e.g. 2015-12-30), you can get a list of just the package names by printing only the 4th field of the log file. awk '/^2015-12-30 ..:..:.. remove / {print $4}' /var/log/dpkg.log | sed -e 's/:all//' (the sed command strips ':all' from package names. apt-get copes with architecture specification like :amd64 or :i386 but barfs on :all) That list can be used directly with apt-get with: apt-get -d -u install $(awk '/^2015-12-30 ..:..:.. remove / {print $4}' /var/log/dpkg.log | sed -e 's/:all//') Run again without the '-d' (download-only) option when you are sure it's only going to install the stuff you want. Optionally add '| grep -Ev "pkg1|pkg2|pkg3..."' after the sed but before the close-parenthesis if you want to exclude particular packages from being re-installed. NOTE: if dpkg.log has been rotated since you removed the packages, try dpkg.log.1 or dpkg.log.2.gz etc. craig -- craig sanders <cas@taz.net.au>