Re: discover-udeb: Depends: libdiscover1 but it is not installable
On Tue, Dec 09, 2003 at 07:39:07PM -0500, Joey Hess wrote:
> Geert Stappers wrote:
> > libdiscover1 is installed on that build computer.
> > Doing `grep -R libdiscover1 *` didn't bring up a usefull hint.
> > What other things do I have to hunt down that dependency.
> This must be a consequence of Goswin's grody hack in get-packages:
[ get-packages fragment that modifies APT status file ]
> So even though you have it installed, apt is coaxed to not know it is
> installed. Goswin and I discussed this for hours, I think it is 100%
> useless to dummy up a status file, and I never got an answer that was
> satesfactory to me about why it's needed.
I missed that discussion. So I missed also the _why_
> Try either adding libdiscover1 to the list, or changing the APT_GET
> to not use the dummy status file. I've done the latter in my own tree,
> for weeks.
Besides adding libdiscover1, also discover-data was needed.
Removing the status file tweaking stuff did also work and much cleaner.
Please apply attached getpackages.patch
The udeb pkg-list was incomplete, see baselist.patch.
> see shy jo
RCS file: /cvs/debian-boot/debian-installer/build/get-packages,v
retrieving revision 1.6
diff -u -r1.6 get-packages
--- build/get-packages 17 Nov 2003 12:20:42 -0000 1.6
+++ build/get-packages 10 Dec 2003 12:20:21 -0000
@@ -59,23 +59,12 @@
APT_GET="apt-get --assume-yes \
-o Dir::Etc::sourcelist=`pwd`/$LIST \
-o Dir::State=`pwd`/$APTDIR/state \
- -o Dir::State::Status=`pwd`/$APTDIR/state/status \
-o Debug::NoLocking=true \
-o Dir::Cache=`pwd`/$APTDIR/cache "
# Prepare APTDIR
mkdir -p $APTDIR/state/lists/partial
mkdir -p $APTDIR/cache/archives/partial
-# Prime status file with system libraries -
-echo -n > $APTDIR/state/status
-if [ "$TYPE" = "udeb" ]; then
- # Some archs have libc6 others have libc6.1
- dpkg -s libc6 >> $APTDIR/state/status || dpkg -s libc6.1 >> $APTDIR/state/status
- for i in libnewt0.51 libdebconfclient0 libdebian-installer4 \
- libdb1-compat slang1a-utf8; do
- dpkg -s $i >> $APTDIR/state/status
# Update package lists and autoclean cache
if [ "$ONLINE" = "y" ]; then
RCS file: /cvs/debian-boot/debian-installer/build/pkg-lists/base,v
retrieving revision 1.18
diff -u -r1.18 base
--- build/pkg-lists/base 22 Oct 2003 00:44:49 -0000 1.18
+++ build/pkg-lists/base 10 Dec 2003 12:21:30 -0000
@@ -7,3 +7,7 @@
+# GSt dropped these here