ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: apt-not-get

To:
Subject: Re: [ts-7000] Re: apt-not-get
From: Jim Jackson <>
Date: Mon, 6 Aug 2007 11:50:55 +0100 (BST)


On Mon, 6 Aug 2007, j.chitte wrote:

> --- In  "j.chitte" <> wrote:
>
> >
> > Many thanks Andrew, that sounds like what I needed to know.
> >
> > You've probably saved me quite a bit time and reading.
> >
> > cheers.
> >
>
> Yes this looks like what I need. If only it followed doc I'd be
> flying:
>
> I boot via nfs to the "full" debain arm fs image provided by TS.
>
> I mount the onboard fs:
>  mount -t yaffs2 /dev/mtdblock/1 /mnt/mtd
>
> now in principal I should be able to install a pkg to target system
> with:
> dpkg -i --root=/mnt/mtd perl

from the man page for dpkg...

   --root=dir | --admindir=dir | --instdir=dir
              Change  default  directories.  admindir defaults to
              /var/lib/dpkg and contains  many  files  that  give
              information  about  status  of  installed  or unin­
              stalled packages, etc.  instdir defaults to  /  and
              refers  to  the  directory where packages are to be
              installed.  instdir is also the directory passed to
              chroot(2)  before  running  package's  installation
              scripts, which means that the scripts  see  instdir
              as a root directory.  Changing root changes instdir
              to dir and admindir to dir/var/lib/dpkg.

As there are no package descriptor files under /mnt/mtd, then of course it
will give an error!Repeat after me: There is no package management in the
TSLinux image :-)



>
> some more work is needed since dpkg is not configured there. If I try
> it on debian directly, it fails with a unspecified error. If I rerun
> even with "insanelyverbose" debugging I dont get a jot more info
> about the problem.
>
> :root# dpkg --debug=2000 -i perl
> dpkg: error processing perl (--install):
>  cannot access archive: No such file or directory
> Errors were encountered while processing:
>  perl
>
> hmm, more like --debug=insanelyterse
>
> looks like I need to manually rebuild dpkg with debugging turned ON.
>
> seems odd this is not the default on an fs image proposed for
> development use.
>
> :?
>
>
>



Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
    
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


<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