--- Em seg, 3/12/12, James Pinto escreveu:

> De: James Pinto
> Assunto: Re: [blfs-support] unable to install apt on LFS
> Para: "BLFS Support List"
> Data: Segunda-feira, 3 de Dezembro de 2012, 15:40
> On Mon, Dec 3, 2012 at 9:35 PM,
> Fernando de Oliveira
> wrote:
> >
> > --- Em seg, 3/12/12, Ken Moffat escreveu:
> >
> > > De: Ken Moffat
> > > Assunto: Re: [blfs-support] unable to install apt
> on LFS
> > > Para: "BLFS Support List"
> > > Data: Segunda-feira, 3 de Dezembro de 2012, 12:45
> > > On Mon, Dec 03, 2012 at 07:38:21AM
> > > -0800, Fernando de Oliveira wrote:
> > > > Still sending html. Either you do not
> understand what
> > > html is, do not care about it or do not know how
> to disable
> > > it. I am tired of reformatting your posts.
> > > >
> > > > Send the output of
> > > >
> > > >     ls -l /lib/libc6.so
> > > >
> > >
> > >  With respect, Fernando, this libc dependency
> is nothing to
> > > do with
> > > what is actually installed.  The hint has an
> attached
> > > status file,
> > > the contents of that (if he followed the hint and
> installed
> > > it)
> > > appear to not work to show that the dependency is
> met.
> >
> > I Know. I thought this at first, but was trying to see
> how far we could
> > help him to get what he wanted, and one of his problems
> is libc6.
> >
> > I have had in the past problem with a link to libc6,
> more than one time,
> > when trying to install lfs-tools, one time I documented
> in the list.
> >
> > Perhaps before starting trying to help him I should
> have warned about
> > this point of the age of the tip, in the beginning.
> >

> I am aware that this hint is very old and there is no
> updated hint..
> Also I have the dpkg folder in /var/lib/ and not /var
> 
> so I substitute the /var/dpkg with var/lib/dpkg in the touch
> commands
> in the hint.
> 
> I have updated he status file with many new packages at
> least gcc
> gnupg etc are mentioned in the status file.
> 
> The output asked for
> ls -l /lib/libc6.so
> lrwxrwxrwx 1 root root 14 Dec  3 22:50 /lib/libc6.so
> -> /lib/libc.so.6
> 
> It dint exist I ad to create a symlink
> 
> I tried installig the eglibc package even that doesnt work.
> 

Thanks for formatting properly the message.

Thanks to Ken for the message earlier (forgot to thank in my earlier
reply).

I really do not know what is necessary to solve the problem. So, I will
make some comments just for you to think about and perhaps solve your
problem.

There is someone in this list who has compiled and use pacman (I cannot
remember at the moment). I quite like portage, so, in case you do not
succeed, this is an alternative.

I myself use paco, although with care, as I have had problems. It is
very good to list the installed files, but does not always collects the
correct list.

What I was saying about libc6, ISTR now, should be about libstdc++6.
You have the problem:

 apt depends on libstdc++6 (>= 4.6); however:
  Package libstdc++6 is not installed.
  
I have (in the following, the output will always have a trailing "/"
missing):

$ find /media/Ubuntu32 -type l -name libstdc\* 2>/dev/null | grep 6 | xargs ls 
-l | cut -d"/" -f4-
usr/lib/gcc/i686-linux-gnu/4.6/libstdc++.so -> 
../../../i386-linux-gnu/libstdc++.so.6
usr/lib/i386-linux-gnu/libstdc++.so.6 -> libstdc++.so.6.0.16

and some in usr/share/doc

$ find /media/Ubuntu32 -type f -name libstdc\* 2>/dev/null | grep 6 | xargs ls 
-l | cut -d"/" -f4-
usr/lib/gcc/i686-linux-gnu/4.6/libstdc++.a
usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
usr/lib/vmware/lib/libstdc++.so.6/libstdc++.so.6
usr/share/doc/gcc-4.6-base/C++/libstdc++_symbols.txt
usr/share/doc/gcc-4.6-base/test-summaries/libstdc++.sum.gz

and some in var/lib/dpkg/info

So what I would do to solve?

First try to create symlinks for the missing ones that are really
installed, to comply to error message.

Second, use the same procedure you did to upgrade dpkg cache (or
something else) to include the new symlinks.

These symlinks should solve the errors for the installed but not found
packages.

For the missing and really not installed, I see the errors:

" apt depends on libapt-pkg4.12 (>= 0.9.7.6); however:
  Package libapt-pkg4.12 is not installed"
 apt depends on debian-archive-keyring; however:
  Package debian-archive-keyring is not installed.
 apt depends on gnupg; however:
  Package gnupg is not installed"
  
Have you installed those?

Finally, a look at

http://packages.ubuntu.com/source/quantal-updates/apt

    build-depends

    dpkg-dev (>= 1.15.8)
        Debian package development tools 

    debhelper (>= 8.1.3~)
        helper programs for debian/rules 

    libdb-dev
        Berkeley Database Libraries [development] 

    gettext
        GNU Internationalization utilities 

    libcurl4-gnutls-dev (>= 7.19.0)
        development files and documentation for libcurl (GnuTLS flavour) 

    zlib1g-dev
        compression library - development 

    libbz2-dev
        high-quality block-sorting file compressor library - development 

    xsltproc
        XSLT 1.0 command line processor 

    docbook-xsl
        stylesheets for processing DocBook XML to various output formats 

    docbook-xml
        standard XML documentation system for software and systems 

    po4a (>= 0.34-2)
        tools for helping translation of documentation 

    autotools-dev
        Update infrastructure for config.{guess,sub} files 

    autoconf
        automatic configure script builder

[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to