Hi all,

Am having some problems in running script to get a transcript of an apt-get upgrade.

The version of script on the Intel machine does not support the -c option so I have been doing this:
$ script
Script started, file is typescript
[EMAIL PROTECTED]:~$ sudo apt-get update
Hit http://mirror.pacific.net.au stable/main Packages
Hit http://mirror.pacific.net.au stable/main Release
Building Dependency Tree... Done
[EMAIL PROTECTED]:~$ exit
Script done, file is typescript


[EMAIL PROTECTED]:~$ cat typescript
[EMAIL PROTECTED]:~$ exit
Script done on Mon May 31 17:38:02 2004
[EMAIL PROTECTED]:~$

The typescript file is empty. So how does one use it? Do I have to do some redirect or something?

On my PowerPC box with the slightly later script I can just go
$ script -c 'sudo apt-get -q upgrade'

and I get a nice file 'typescript' that contains the interactive session but the Intel version does not contain the -c command and there is no later candidate.

Intel Platform / Debian Stable
--------------
[EMAIL PROTECTED]:~$ apt-cache show bsdutils
Package: bsdutils
Architecture: i386
Source: util-linux (2.11n-7)
Version: 1:2.11n-7
Description: Basic utilities from 4.4BSD-Lite.
 This package contains the bare minimum number of BSD utilities needed
 to boot a Debian system.  You should probably also install
 bsdmainutils to get the remaining standard BSD utilities.
 Included are: logger, renice, replay, script, wall

SYNOPSIS
     script [-a] [-f] [-q] [-t] [file]

[EMAIL PROTECTED]:~$ sudo apt-get -s -t unstable install bsdutils
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, bsdutils is already the newest version.

PowerPC / Debian Testing
------------------------
PowerPPackage: bsdutils
Architecture: powerpc
Source: util-linux (2.12-3)
Version: 1:2.12-3

SYNOPSIS
     script [-a] [-c COMMAND] [-f] [-q] [-t] [file]



Mike
--
Mike Lake
Caver, Linux enthusiast and interested in anything technical.

--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to