ts-7000
[Top] [All Lists]

Re: [ts-7000] Error installing gcc

To:
Subject: Re: [ts-7000] Error installing gcc
From: David Smead <>
Date: Tue, 9 Mar 2010 14:29:49 -0800


You need to be root to run apt-get.  I always use my desktop Linux box with the synaptic program to look for stuff that is missing.  It will give a list of dependencies.  Then you can apt-get install them on the other machine.

DaveS

On Tue, Mar 9, 2010 at 11:11 AM, jim_zurcher <> wrote:
 

Thanks in advance for any assistance you can provide.

I have a TS7800 booting from an SDCard with the image downloaded from the TS site.

I am just starting to try programming on this machine.

When I entered the command GCC test.cpp it complained that it could not find cc1plus. After some googling it seemed like the command

apt-get install build-essentials

was called for. However, after packages are downloaded I get the error messages

Checking init scripts...
/var/lib/dpkg/tmp.ci/preinst: line 1: /usr/bin/head: Permission denied
/var/lib/dpkg/tmp.ci/preinst: line 1: /usr/bin/od: Permission denied
dpkg: error processing /var/cache/apt/archives/libc6_2.7-18lenny1_arm.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.7-18lenny1_arm.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
:/# /var/lib/dpkg/tmp.ci/preinst/var/lib/dpkg/tmp.ci/preinst: line 1: /usr/bin/head: Permission denied
bash: /var/lib/dpkg/tmp.ci/preinst/var/lib/dpkg/tmp.ci/preinst:: No such file or directory

I have verified the last line of the error message - the reason for the failure is that the directory /var/lib/dpkg/tmp.ci is missing

I get basically the same messages if I try

apt-get install python.

What am I doing wrong?

Thanks
Jim




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU