LFS and apt
support at cslimits.net
Thu Sep 6 22:38:52 PDT 2007
Hi, Peter -
> Well, I`m using Debian for nearly two years, and I know the usage of apt
> and dpkg. I have a sources.list configured on my LFS system, and the
> packages are being downloaded, but not installed.
Ah, ok. For a minute there I thought you might have assumed that apt was
yet another brain-dead software update app.
I had to create an apt.conf as apt kept bombing every time I used more than
a handful of mirrors; all of my systems are "mixed", so I need at least two
sets. The other thing it does is establish which release is your default
(etch, lenny, or sid); here's mine:
Two questions: what does "apt-cache policy" say that apt is going to try to
download? And, when you say they're getting downloaded but not installed -
does dpkg -L name-of-package (eg., dpkg -L net-tools) come back with "the
package is not installed", or ???
Is the package at least ending up in /var/cache/apt? If it is, what happens
when you try to manually install it w dpkg?
Also, where'd you get the code for apt? I'm wondering if it's a dependency
problem... Here are the libraries apt-get and dpkg are using:
$ ldd `which apt-get`
libapt-pkg-libc6.3-6.so.3.11 => /usr/lib/libapt-pkg-libc6.3-6.so.3.11
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00002b655c3b8000)
libm.so.6 => /lib/libm.so.6 (0x00002b655c5b7000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002b655c739000)
libc.so.6 => /lib/libc.so.6 (0x00002b655c846000)
$ ldd `which dpkg`
libpthread.so.0 => /lib/libpthread.so.0 (0x00002b8bee0f3000)
libc.so.6 => /lib/libc.so.6 (0x00002b8bee208000)
I just checked several of them, they all seem to be using pretty much the
Is it a case where you do an:
$ apt-get update
$ apt-get -y install whatever
and it downloads the thing but then abends before it installs it? If so,
what does apt's output say? Do you have gpg keys enabled?
What does dpkg say the state of the package is afterwards (partially
installed, etc.?) (dpkg --list | grep packagename)
I'm curious as to how you make out with this; I can think of a number of
things it'd be terrific for (why reinvent the wheel...).
More information about the lfs-support