On Tuesday, January 08, 2013 17:46:24, Alan Jachimiak wrote:
> Hey!
> 
> I recently ran into a small bit of trouble when performing an "apt-get
> upgrade" on my webserver.
> 
> I was able to recover but I was digging around trying to do a post-mortem
> and I ran into an issue...
> 
> I can't seem to find the apt logs. Can you help me find them?
> 
> I'm running Ubuntu 12.04.  I've looked in /var/log/apt and both history.log
> and term.log are empty...

Check for /var/log/dpkg.log as that's another option.

Usually I use aptitude for both upgrades and package update/upgrades, partly 
because I like the interface (once you get used to it -- admittedly that's not 
easy, but the documentation is good), but even more so because it makes a more 
humanly-readable log of its own which gets rotated once a month.  
/var/log/aptitude[.#.gz] are the logs that I find save me when upgrades go 
wrong (which is thankfully very rare].

Assuming that you're missing all of the package logs, the next thing I suggest 
doing is installing the debsums package and running 'debsums -s' to find any 
packages that are corrupt.  

  -- Chris

--
Chris Knadle
[email protected]
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug

Upcoming Meetings (6pm - 8pm)                         Vassar College
  Jan 9 - High Performance Computing at a Small Scale
  Feb 6 - Raspberry Pi
  Mar 6 - 10th Anniversary Meeting - Linux where you least expect it

Reply via email to