Bob Proulx wrote: > Check /var/log/dpkg.log for a trace of what was installed previously > and what was removed and what was recently installed. I think it > likely your xserver driver was removed due to a conflict. Figure out > what had been running and install it again.
In order to reduce the detail in the dpkg.log file something like the following command can summarize the actions. awk '$3=="upgrade"' /var/log/dpkg.log | less In awk $3 is the third field. If the third field is "upgrade" then perform the default action. The default action is to print the entire line. These will be listed with the time at the front of the line. This makes it relatively easy to see what changes happened at what time. On my Sid system today I see: $ awk '$3=="upgrade"||$3=="install"' /var/log/dpkg.log | less ... 2015-06-16 11:23:41 upgrade libdebconfclient0:amd64 0.193 0.194 2015-06-16 11:23:44 upgrade libustr-1.0-1:amd64 1.0.4-4 1.0.4-5 2015-06-16 11:23:45 upgrade chromium:amd64 43.0.2357.65-1 43.0.2357.81-1 2015-06-16 11:23:57 upgrade clusterssh:all 4.03.06-1 4.03.06-2 2015-06-16 11:23:57 upgrade file-roller:amd64 3.16.2-1 3.16.2-2 2015-06-16 11:24:04 upgrade gedit:amd64 3.14.0-3 3.16.2-1 2015-06-16 11:24:06 upgrade gedit-common:all 3.14.0-3 3.16.2-1 2015-06-16 11:24:12 upgrade help2man:amd64 1.46.6 1.47.1 2015-06-16 11:24:13 upgrade libdata-dump-perl:all 1.22-1 1.23-1 2015-06-16 11:24:13 upgrade libgtop2-common:all 2.28.5-2 2.30.0-3 2015-06-16 11:29:30 upgrade metacity:amd64 1:3.14.3-1 1:3.17.2-3 2015-06-16 11:29:32 upgrade metacity-common:all 1:3.14.3-1 1:3.17.2-3 $ awk '{print$3}' /var/log/dpkg.log | sort -u configure install purge remove startup status trigproc upgrade Here I am printing the 3rd field and sorting them uniquely to see what possible strings might be in that field. I guess we should look for remove and purge too. So it isn't quite so simple. As opposed to overthinking this I will just brute force ahead and look for all of those. $ awk '$3=="upgrade"||$3=="install"||$3=="remote"||$3=="purge"' /var/log/dpkg.log | less Not sure how much help this will be. But it is the type of thing I do when I am looking to see what has changed recently. Bob
signature.asc
Description: Digital signature