Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #195773
| From | Sven Joachim <svenjoac@gmx.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: dpkg-scanpackages instructions on the Debian wiki |
| Date | 2018-05-15 16:50 +0200 |
| Message-ID | <vPJr3-5Kp-7@gated-at.bofh.it> (permalink) |
| References | <vPIY1-5Ac-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
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
csiph-web