<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Kevin Hall wrote:
<blockquote cite="mid:506C9A63.90905@ntlworld.com" type="cite">
  <meta http-equiv="content-type"
 content="text/html; charset=ISO-8859-1">
Yes I have<br>
  <br>
The output is not in these log files.<br>
  <br>
I am also stuck in the command line as the mouse does not work when I
start x<br>
  <br>
So Raspberry Pi 2 User 0<br>
  <br>
but if this continues I will be holding a competition<br>
  <br>
Best way to scrap a pi?<br>
  <br>
a) a large hammer (tried and tested)<br>
b) under the wheels of my car<br>
c) from the top of a tall building<br>
d) next doors dog<br>
e) lawnmower<br>
f) power tool (own choice)<br>
g) strapped to a firework<br>
h) bonfire<br>
 <br>
Regards<br>
  <br>
Kevin<br>
  <br>
  <div class="moz-cite-prefix">On 03/10/12 20:43, Philip Newborough
wrote:<br>
  </div>
  <blockquote class=" cite"
 id="mid_CAEDCcFknLUtgbF2nM5FENwMbtjDnHkubWetb0NPz4a_GZjn6jA_mail_gmail_com"
 cite="mid:CAEDCcFknLUtgbF2nM5FENwMbtjDnHkubWetb0NPz4a=GZjn6jA@mail.gmail.com"
 type="cite">
    <pre wrap="">On Wed, Oct 3, 2012 at 8:36 PM, Kevin Hall <a
 moz-do-not-send="true" class="moz-txt-link-rfc2396E"
 href="mailto:kevin_hall@ntlworld.com"><kevin_hall@ntlworld.com></a> wrote:
    </pre>
    <blockquote class=" cite" id="Cite_0" type="cite">
      <pre wrap="">Hi Everyone

Does anyone know how to log the output from apt-get.

With the following, the output is an empty file:

sudo apt-get update > error.txt

sudo apt-get update | tee error.txt

My raspberry pi will not apt-get update and I am trying to post the output.

Regards

Kevin

      </pre>
    </blockquote>
    <pre wrap="">Hey Kevin :)

Have you taken a look inside '/var/log/apt'? It should contain the
logs. Try something like:

    cat /var/log/apt/term.log

or

    cat /var/log/apt/history.log

and add redirection as desired.

 -- Philip

_______________________________________________
Lincoln mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:Lincoln@mailman.lug.org.uk">Lincoln@mailman.lug.org.uk</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="https://mailman.lug.org.uk/mailman/listinfo/lincoln">https://mailman.lug.org.uk/mailman/listinfo/lincoln</a>
    </pre>
  </blockquote>
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Lincoln mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lincoln@mailman.lug.org.uk">Lincoln@mailman.lug.org.uk</a>
<a class="moz-txt-link-freetext" href="https://mailman.lug.org.uk/mailman/listinfo/lincoln">https://mailman.lug.org.uk/mailman/listinfo/lincoln</a>
  </pre>
</blockquote>
Does simulate option (-s) on apt-get help?<br>
</body>
</html>