Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #195771 > unrolled thread

dpkg-scanpackages instructions on the Debian wiki

Started byVincent Lefevre <vincent@vinc17.net>
First post2018-05-15 16:20 +0200
Last post2018-05-15 16:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  dpkg-scanpackages instructions on the Debian wiki Vincent Lefevre <vincent@vinc17.net> - 2018-05-15 16:20 +0200
    Re: dpkg-scanpackages instructions on the Debian wiki Sven Joachim <svenjoac@gmx.de> - 2018-05-15 16:50 +0200

#195771 — dpkg-scanpackages instructions on the Debian wiki

FromVincent Lefevre <vincent@vinc17.net>
Date2018-05-15 16:20 +0200
Subjectdpkg-scanpackages instructions on the Debian wiki
Message-ID<vPIY1-5Ac-1@gated-at.bofh.it>
It seems that the dpkg-scanpackages instructions on the Debian wiki
are wrong. In the generated Packages file, for libltdl7, I get only:

Package: libltdl7
Source: libtool
Version: 2.4.6-2.1+local2
Architecture: i386
Maintainer: Kurt Roeckx <kurt@roeckx.be>
Installed-Size: 417
Depends: libc6 (>= 2.14)
Filename: ./libltdl7_2.4.6-2.1+local2_i386.deb
[...]

while I have both:

  libltdl7_2.4.6-2.1+local2_amd64.deb
  libltdl7_2.4.6-2.1+local2_i386.deb

and I need both to satisfy dependencies (due to the bloated
libwine:i386).

Indeed the dpkg-scanpackages(1) man page says:

  If  more  than one version of a package is found only the newest one is
  included in the output. If they have the same version and  only  differ
  in architecture only the first one found is used.

I assume that one needs a specific directory for each foreign
architecture.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

[toc] | [next] | [standalone]


#195773

FromSven Joachim <svenjoac@gmx.de>
Date2018-05-15 16:50 +0200
Message-ID<vPJr3-5Kp-7@gated-at.bofh.it>
In reply to#195771
On 2018-05-15 16:12 +0200, Vincent Lefevre wrote:

> It seems that the dpkg-scanpackages instructions on the Debian wiki
> are wrong. In the generated Packages file, for libltdl7, I get only:
>
> Package: libltdl7
> Source: libtool
> Version: 2.4.6-2.1+local2
> Architecture: i386
> Maintainer: Kurt Roeckx <kurt@roeckx.be>
> Installed-Size: 417
> Depends: libc6 (>= 2.14)
> Filename: ./libltdl7_2.4.6-2.1+local2_i386.deb
> [...]
>
> while I have both:
>
>   libltdl7_2.4.6-2.1+local2_amd64.deb
>   libltdl7_2.4.6-2.1+local2_i386.deb
>
> and I need both to satisfy dependencies (due to the bloated
> libwine:i386).
>
> Indeed the dpkg-scanpackages(1) man page says:
>
>   If  more  than one version of a package is found only the newest one is
>   included in the output. If they have the same version and  only  differ
>   in architecture only the first one found is used.

That sentence, and most of the dpkg-scanpackages script, was written
before multiarch, and apparently nobody bothered to add multiarch
support to dpkg-scanpackages.

> I assume that one needs a specific directory for each foreign
> architecture.

Either that, or use apt-ftparchive to generate the Packages file.  Works
for me. :-)

Cheers,
       Sven

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web