Subject: Bug#3242: perl's dependencies are wrong

From: [email-masked]
Date: Fri, 7 Jun 96 11:47 EDT

You are missing the fact that a package "source" (now obsolete) is not the
same as a package "kernel-source-1.3.100".

Perl has been upgraded yesterday or so. Try version -10.

--
Dirk Eddelb"uttel                             http://qed.econ.queensu.ca/~edd

---

From: Matthew Swift <[email-masked]>
Date: Fri, 07 Jun 1996 09:33:20 -0400

Package: perl
Version: 5.002-7

Perl recommends kernel sources, which is fine.  But it won't figure
out that they are installed when the kernel-source package is
installed.  (The sources are really there; I have built the kernel
with them.)  The session below indicates that this is possibly not a
bug with perl, but with the kernel sources package instead.

Script started on Fri Jun  7 05:13:25 1996
~> dpkg --status perl
Package: perl
Status: install ok installed
Priority: important
Section: devel
Maintainer: Darren Stalder <[email-masked]>
Version: 5.002-7
Depends: libc5, libgdbm1, libdb1
Recommends: source | includes
Description: Larry Wall's Practical Extracting and Report Language.
 An interpreted scripting language, known among some as "Unix's
 Swiss Army Chainsaw".
 .
 Perl is optimized for scanning arbitrary text files and system
 administration. It has built-in extended regular expression matching
 and replacement, a dataflow mechanism to improve security with
 setuid scripts and is extendible via modules that can interface
 to C libraries.

~> dpkg --status source
Package `source' is not installed and no info is available.

Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
~> dpkg --status includes
Package `includes' is not installed and no info is available.

Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
~> dpkg --info /usr/local/src/debian/unstable/binary-i386/devel/kernel-source-1.3.100-0.all.deb
 old debian package, version 0.939000.
 size 5645680 bytes: control archive= 2452, main archive= 5643214.
     413 bytes,    12 lines      control
    4312 bytes,   173 lines   *  postinst             #!/bin/perl
    3208 bytes,   143 lines   *  postrm               #!/bin/perl
 Package: kernel-source-1.3.100
 Priority: optional
 Description: Linux kernel source.
  This package provides the source code for the Linux kernel, as well
  as the scripts that maintain the symbolic link /usr/src/linux.
 Source: kernel-source-1.3.100
 Version: 1.3.100-0
 Architecture: all
 Section: devel
 Depends: binutils | gas
 Provides: kernel-source, kernel-headers
 Maintainer: Simon Shapiro  <[email-masked]>
~> dpkg --info /usr/local/src/debian/unstable/binary-i386/devel/kernel-source-1.3.100-0.all.deb

Package `kernel-source' is not installed and no info is available.

Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
~> dpkg --status kernel-headers
Package `kernel-headers' is not installed and no info is available.

Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
~> exit

Package: dpkg
Essential: yes
Status: install ok installed
Priority: required
Section: base
Maintainer: Ian Jackson <[email-masked]>
Version: 1.2.0elf
Replaces: dpkgname
Pre-Depends: libc5 (>= 5.2.18-2), ncurses3.0
Conflicts: dpkgname
Description: Package maintenance system for Debian Linux
 This package contains the programs which handle the installation and
 removal of packages on your system.
 .
 The primary interface for the dpkg suite is the `dselect' program;
 a more low-level and less user-friendly interface is available in
 the form of the `dpkg' command.

~> exit

---

From: Matthew Swift <[email-masked]>
Date: Mon, 10 Jun 1996 17:44:23 -0400

>>>>> "D" == Dirk Eddelbuettel <[email-masked]> writes:

    D> You are missing the fact that a package "source" (now obsolete)
    D> is not the same as a package "kernel-source-1.3.100".

You mean missing from my bug report?

It seems to me that my brain is not missing anything, but that either
the perl package or the unstable tree is/was missing something.  Sorry
if I'm being dense:

I noticed 
  1) perl requires/required "source" 
  2) no package that provided (the virtual package) source seemed to
     be available in the unstable tree
  3) Though "kernel-source-1.3.100" was conceptually similar and
     probably provided the actual files perl needed, it did
     not coordinate with perl in dselect/dpkg.
  4) as a result of 1-3, I could not get a full version of perl going
     (could not run perlconfig properly).

So that seemed like something to report....

    D> Perl has been upgraded yesterday or so. Try version -10.

I will.