public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Fail to add TCP/IP stack package
@ 2001-03-02  1:25 John
  2001-03-02  2:30 ` Björn Stenberg
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: John @ 2001-03-02  1:25 UTC (permalink / raw)
  To: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 778 bytes --]

Hi all,

When I add TCP/IP stack package(net-1.0b1.epk) using Package Administration Tool an error occurred:

Command execution error:

extracting pkgadd.db:
/usr/bin/tar:Skipping to next header
/usr/bin/tar:Skipping to next header
/usr/bin/tar:Skipping to next header
/usr/bin/tar:Skipping to next header
/usr/bin/tar:Skipping to next header
/usr/bin/tar:367 garbage bytes ignored at end of archive
/usr/bin/tar:pkgadd.db:Not found in archive
/usr/bin/tar:Error exit delayed from previos errors

Why?
Thanks in advance.

----
Á»¨­õ
John Hsieh
µo²{ªÌ°ê»ÚªÑ¥÷¦³­­¤½¥q
iMining Technology Co., Ltd.
john@imining.com.tw
TEL: 886-2-27235122
FAX: 886-2-27232287
www.imining.com.tw

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] Fail to add TCP/IP stack package
  2001-03-02  1:25 [ECOS] Fail to add TCP/IP stack package John
@ 2001-03-02  2:30 ` Björn Stenberg
  2001-03-02  7:10 ` Lewin A.R.W. Edwards
  2001-03-02  7:15 ` Jonathan Larmour
  2 siblings, 0 replies; 4+ messages in thread
From: Björn Stenberg @ 2001-03-02  2:30 UTC (permalink / raw)
  To: John; +Cc: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 266 bytes --]

John wrote:

> extracting pkgadd.db:
> /usr/bin/tar:Skipping to next header
> /usr/bin/tar:Skipping to next header

It looks like your tar file is corrupted. Download it again and make sure
you use binary transmission without any conversion or filtering.

/Björn

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] Fail to add TCP/IP stack package
  2001-03-02  1:25 [ECOS] Fail to add TCP/IP stack package John
  2001-03-02  2:30 ` Björn Stenberg
@ 2001-03-02  7:10 ` Lewin A.R.W. Edwards
  2001-03-02  7:15 ` Jonathan Larmour
  2 siblings, 0 replies; 4+ messages in thread
From: Lewin A.R.W. Edwards @ 2001-03-02  7:10 UTC (permalink / raw)
  To: John, ecos-discuss

>When I add TCP/IP stack package(net-1.0b1.epk) using Package 
>Administration Tool an error occurred:

It's a common problem. You need to gunzip/untar the file manually and move 
it into your repository. You then need to concatenate pkgadd.db (from this 
tar file) with ecos.db.

You might be better off downloading the latest CVS if you want networking, 
though...

=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

"Und setzet ihr nicht das Leben ein,
Nie wird euch das Leben gewonnen sein."

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] Fail to add TCP/IP stack package
  2001-03-02  1:25 [ECOS] Fail to add TCP/IP stack package John
  2001-03-02  2:30 ` Björn Stenberg
  2001-03-02  7:10 ` Lewin A.R.W. Edwards
@ 2001-03-02  7:15 ` Jonathan Larmour
  2 siblings, 0 replies; 4+ messages in thread
From: Jonathan Larmour @ 2001-03-02  7:15 UTC (permalink / raw)
  To: John; +Cc: ecos-discuss

John wrote:
> 
> Hi all,
> 
> When I add TCP/IP stack package(net-1.0b1.epk) using Package Administration Tool an error occurred:
> 
> Command execution error:
> 
> extracting pkgadd.db:
> /usr/bin/tar:Skipping to next header
> /usr/bin/tar:Skipping to next header
> /usr/bin/tar:Skipping to next header
> /usr/bin/tar:Skipping to next header
> /usr/bin/tar:Skipping to next header
> /usr/bin/tar:367 garbage bytes ignored at end of archive
> /usr/bin/tar:pkgadd.db:Not found in archive
> /usr/bin/tar:Error exit delayed from previos errors
> 
> Why?

This is a clash with cygwin binary vs. text mode I feel sure, but haven't
had the time to investigate :-(.

You can cheat though - an EPK is just a gzipped tar file. Decompress it
with gzip -d, and extract with tar. You will need to add pkgadd.db to your
ecos.db and the rest in place in your eCos repository.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-03-02  7:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-02  1:25 [ECOS] Fail to add TCP/IP stack package John
2001-03-02  2:30 ` Björn Stenberg
2001-03-02  7:10 ` Lewin A.R.W. Edwards
2001-03-02  7:15 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).