Package: googleearth-package
Version: 0.6.1
Severity: normal

When building a googleearth package with the current version
make-googleearth-package adds an empty Suggests: field to
debian/control. If I put this package in my local repository,
apt-get update doesn't work anymore for this repository:
#v+
Reading package lists... Error!
E: Problem parsing dependency Suggests
E: Error occurred while processing googleearth (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/_var_www_debian-local_._Packages
E: The package lists or status file could not be parsed or opened.
#v-
A possible fix is appended.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (200, 
'unstable'), (2, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.36-k8 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages googleearth-package depends on:
ii  bzip2                         1.0.5-6    high-quality block-sorting file co
ii  curl                          7.21.0-1   Get a file from an HTTP, HTTPS or 
ii  dpkg-dev                      1.15.8.5   Debian package development tools
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  file                          5.04-5     Determines file type using "magic"
ii  wget                          1.12-2.1   retrieves files from the web
ii  x11-common                    1:7.5+8    X Window System (X.Org) infrastruc
ii  x11-utils                     7.5+4      X11 utilities

googleearth-package recommends no packages.

googleearth-package suggests no packages.

-- no debconf information
diff -urNad googleearth-package-0.6.1.orig//make-googleearth-package googleearth-package-0.6.1//make-googleearth-package
--- googleearth-package-0.6.1.orig//make-googleearth-package	2010-12-06 19:23:53.000000000 +0100
+++ googleearth-package-0.6.1//make-googleearth-package	2010-12-08 08:31:49.848421086 +0100
@@ -353,7 +353,13 @@
 Maintainer: $OPT_FULLNAME <${OPT_EMAIL}>
 Architecture: $(dpkg-architecture -qDEB_BUILD_ARCH)
 Depends: ttf-dejavu | ttf-bitstream-vera | msttcorefonts, lsb-core, libqtcore4, libgl1-mesa-glx, $depends $ia32libs
+EOF
+if [ -n "$suggests" ]; then
+  cat <<EOF >>control
 Suggests: $suggests
+EOF
+fi
+  cat <<EOF >>control
 Description: Google Earth, a 3D map/planet viewer
  Package built with googleearth-package.
 EOF

Attachment: signature.asc
Description: Digital signature

Reply via email to