[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#625212: marked as done (apt: pinning: please allow wildcards in Package too)



Your message dated Mon, 2 May 2011 17:29:09 +0200
with message-id <BANLkTi=Wtyy9Zndq8shB6LgOxn95RraEww@mail.gmail.com>
and subject line Re: Bug#625212: apt: pinning: please allow wildcards in Package too
has caused the Debian Bug report #625212,
regarding apt: pinning: please allow wildcards in Package too
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
625212: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625212
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.8.10
Severity: wishlist

Hello,
it would be nice if we can write preferences like:

  Package: php5*
  Pin: version 5.2.*
  Pin-Priority: 1001

that would pin all packages starting with 'php5' with version 5.2.* .

Thanks for considering,
Sandro

-- Package-specific info:

-- (no /etc/apt/preferences present) --


-- (/etc/apt/sources.list present, but not submitted) --


-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring  2010.08.28       GnuPG archive keys of the Debian a
ii  gnupg                   1.4.10-4         GNU privacy guard - a free PGP rep
ii  libc6                   2.11.2-8         Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.4.5-10       GCC support library
ii  libstdc++6              4.6.0-2          The GNU Standard C++ Library v3
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

apt recommends no packages.

Versions of packages apt suggests:
ii  apt-doc                       0.8.14.1   Documentation for APT
ii  aptitude                      0.6.3-3.2  terminal-based package manager (te
ii  bzip2                         1.0.5-6    high-quality block-sorting file co
ii  dpkg-dev                      1.15.8.8   Debian package development tools
ii  lzma                          4.43-14    Compression method of 7z format in
ii  python-apt                    0.7.100.1  Python interface to libapt-pkg
ii  synaptic                      0.70       Graphical package manager

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 0.8.14

On Mon, May 2, 2011 at 16:44, Sandro Tosi <morph@debian.org> wrote:
> it would be nice if we can write preferences like:
>
>  Package: php5*
>  Pin: version 5.2.*
>  Pin-Priority: 1001
>
> that would pin all packages starting with 'php5' with version 5.2.* .

apt (0.8.14) unstable; urgency=low

  [ Julian Andres Klode ]
[…]
  * apt-pkg/policy.cc:
    - Allow pinning by glob() expressions, and regular expressions
      surrounded by slashes (the "/" character) (LP: #399474)
      (Closes: #121132)
[…]


In your specific case you can help yourself in any apt version by
creating a single stanza listing the output of in Package:
apt-cache pkgnames php5 | tr '\n' ' '


Best regards

David Kalnischkies


--- End Message ---

Reply to: