--- In Jim Jackson <> wrote:
>
>
>
>
> On Mon, 6 Aug 2007, j.chitte wrote:
>
> > --- In "j.chitte" <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.
>
Very clever you quote the man page. Do you really think I have not
read that if I intend to use --root= option?
> As there are no package descriptor files under /mnt/mtd, then of
course it
> will give an error!
Yes of course it will. That was my intention. And if it actually told
me what the error was I would be getting somewhere!
>Repeat after me: There is no package management
>in the TSLinux image :-)
Repeat after me: " I intend to change that to suit my needs."
One of the more agreeable contributors here pointed out that there
was basic dpkg on TS and it may do what I wanted. I am now working on
doing that. I dont need smart comments or quotes from man pages.
Now if dpkg was capable of something more intellegent than "an error"
I may be able to move ahead. I have not been able to find any info on
setting up dpkg . The program files seem present on TS but no config.
(Neither does it seem set up on the "full" debian image.)
If you have some information on that it would be welcome. Sarcastic
comments about what is not possible or what is not worth doing and I
never intented to do, like stripping down debian , is really pretty
pointless.
It may bolster your ego but I think the list could do without the
noise.
Thx.
>
>
>
> >
> > 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/
|