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

Bug#115520: marked as done (--target-release (-t) for apt-cache [show?])



Your message dated Thu, 10 Jun 2010 12:47:17 +0000
with message-id <E1OMhAD-0002Sl-CU@ries.debian.org>
and subject line Bug#115520: fixed in apt 0.7.26~exp6
has caused the Debian Bug report #115520,
regarding --target-release (-t) for apt-cache [show?]
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.)


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

Thank you for nice system tools. Here is my feature requests:
 1) -t and other similar commands for apt-cache as in apt-get
 2) preferences file to allow # lead comments (officially)
 3) creation of default preferences file

Here is my long story with example file:

1) 
Even though, 

 # apt-cache -o APT::Default-Release=testing policy packagename

exists, its nice to have equivalent "-t" found in "apt-get" to do

 # apt-cache -t testing policy packagename

This makes life easy.  (Yes, I know -s option for apt-get...)

2)
Also, include a basic sane /etc/apt/preferences with many comment lines
needs to be installed by install script if no file existed during
upgrade.  If testing and unstable entries are added to sources.list
without /etc/apt/preferences, system end up with:

Pin-priority=500 for stable,testing,unstable
Pin-priority=100 for installed package

I think reasonable starting /etc/apt/preferences is:
-------- x8 
# Make stable as default system.
Package: *
Pin: release a=stable
Pin-Priority: 500

# Make testing as 2nd priority
Package: *
Pin: release a=testing
Pin-Priority: 400

# Make unstable as 3rd priority
Package: *
Pin: release a=unstable
Pin-Priority: 300
#
# Read "man 5 apt_preferences"
#
# If one wants to track testing (with missing packages from unstable)
# change Pin-priority for testing to 700 and unstable to 600.
#
# If one wants to keep particular package at fixed version do as
# following example. (Remove leading # to activate): 
# Package: apt 
# Pin: version 0.5.*
# Pin-Priority: 2000
#
# If one must force to downgrade to particular distribution, set its
# Pin-priority of the distribution to above 1001.  
#
# apt(5.4) allow meaningless entry which enabled this comments.
# Be careful not to have empty line which break this.
-------- x8

3)
Leading # may not be a correct documented feature, but current engine
disregard strange starting token and happily considers as a comment, I
think ;-)  Of course, adding # lead comment as feature is nice to have.

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D  +



--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.7.26~exp6

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive:

apt-doc_0.7.26~exp6_all.deb
  to main/a/apt/apt-doc_0.7.26~exp6_all.deb
apt-transport-https_0.7.26~exp6_i386.deb
  to main/a/apt/apt-transport-https_0.7.26~exp6_i386.deb
apt-utils_0.7.26~exp6_i386.deb
  to main/a/apt/apt-utils_0.7.26~exp6_i386.deb
apt_0.7.26~exp6.dsc
  to main/a/apt/apt_0.7.26~exp6.dsc
apt_0.7.26~exp6.tar.gz
  to main/a/apt/apt_0.7.26~exp6.tar.gz
apt_0.7.26~exp6_i386.deb
  to main/a/apt/apt_0.7.26~exp6_i386.deb
libapt-pkg-dev_0.7.26~exp6_i386.deb
  to main/a/apt/libapt-pkg-dev_0.7.26~exp6_i386.deb
libapt-pkg-doc_0.7.26~exp6_all.deb
  to main/a/apt/libapt-pkg-doc_0.7.26~exp6_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 115520@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Vogt <mvo@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 10 Jun 2010 14:02:22 +0200
Source: apt
Binary: apt apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all i386
Version: 0.7.26~exp6
Distribution: experimental
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-transport-https - APT https transport
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 115520 236270 499897 583517
Changes: 
 apt (0.7.26~exp6) experimental; urgency=low
 .
   [ Michael Vogt ]
   * merge the remaining Ubuntu change:
     - on gpg verification failure warn and restore the last known
       good state
     - on failure display the IP of the server (useful for servers
       that use round robin DNS)
     - support Original-Maintainer in RewritePackageOrder
     - enable cdrom autodetection via libudev by default
     - show message about Vcs in use when apt-get source is run for
       packages maintained in a Vcs
     - better support transitional packages with mark auto-installed.
       when the transitional package is in "oldlibs" the new package
       is not marked auto installed (same is true for section
       metapackages)
     - provide new "deb mirror://archive.foo/mirrors.list sid main"
       method expects a list of mirrors (generated on the server e.g.
       via geoip) and will use that, including cycle on failure
     - write apport crash file on package failure (disabled by default
       on debian until apport is available)
     - support mirror failure reporting (disabled by default on debian)
 .
   [ David Kalnischkies ]
   * apt-pkg/deb/dpkgpm.cc:
     - write Disappeared also to the history.log
     - forward manual-installed bit on package disappearance
   * apt-pkg/deb/debsystem.cc:
     - add better config item for extended_states file
   * apt-pkg/pkgcache.h:
     - switch {,Install-}Size to unsigned long long
   * apt-pkg/depcache.cc:
     - do the autoremove mark process also for required packages to handle
       these illegally depending on lower priority packages (Closes: #583517)
     - try harder to find the other pseudo versions for autoremove multiarch
     - correct "Dangerous iterator usage" pointed out by cppcheck
     - deal with long long, not with int to remove 2GB Limit (LP: #250909)
     - deprecate AddSize with Multiplier as it is unused and switch to
       boolean instead to handle the sizes more gracefully.
     - switch i{Download,Usr}Size from double to (un)signed long long
   * apt-pkg/aptconfiguration.cc:
     - remove duplicate architectures in getArchitectures()
   * apt-pkg/indexrecords.{cc,h}:
     - backport forgotten Valid-Until patch from the obsolete experimental
       branch to prevent replay attacks better, thanks to Thomas Viehmann
       for the initial patch! (Closes: #499897)
     - add a constant Exists check for MetaKeys
   * apt-pkg/acquire-item.cc:
     - do not try PDiff if it is not listed in the Meta file
     - sent Last-Modified header also for Translation files
   * apt-pkg/cacheiterator.h:
     - let pkgCache::Iterator inherent std::iterator
   * ftparchive/writer.h:
     - add a virtual destructor to FTWScanner class (for cppcheck)
   * apt-pkg/cacheset.{cc,h}:
     - add simple wrapper around std::set for cache structures
     - move regex magic from apt-get to new FromRegEx method
     - move cmdline parsing from apt-cache to new FromCommandLine method
     - support special release-modifier 'installed' and 'candidate'
   * apt-pkg/contrib/cmdline.cc:
     - fix segfault in SaveInConfig caused by writing over char[] sizes
   * apt-pkg/pkgcache.cc:
     - get the best matching arch package from a group with FindPreferredPkg
   * cmdline/apt-cache.cc:
     - make the search multiarch compatible by using GrpIterator instead
     - use pkgCacheFile and the new CacheSets all over the place
     - add --target-release option (Closes: #115520)
     - accept pkg/release and pkg=version in show and co. (Closes: #236270)
     - accept package versions in the unmet command
   * cmdline/apt-get.cc:
     - use unsigned long long instead of double to store values it gets
   * apt-pkg/cachefile.{cc,h}:
     - split Open() into submethods to be able to build only parts
     - make the OpProgress optional in the Cache buildprocess
     - store also the SourceList we use internally for export
   * doc/apt.conf.5.xml:
     - document the new Valid-Until related options
   * apt-pkg/contrib/strutl.cc:
     - split StrToTime() into HTTP1.1 and FTP date parser methods and
       use strptime() instead of some self-made scanf mangling
     - use the portable timegm shown in his manpage instead of a strange
       looking code copycat from wget
   * ftparchive/writer.cc:
     - add ValidTime option to generate a Valid-Until header in Release file
   * apt-pkg/policy.cc:
     - get the candidate right for a not-installed pseudo package if
       his non-pseudo friend is installed
   * apt-pkg/indexcopy.cc:
     - move the gpg codecopy to a new method and use it also in methods/gpgv.cc
Checksums-Sha1: 
 9f16c2f83c808988061f323a0c50890c3d2f666c 1268 apt_0.7.26~exp6.dsc
 58e6625c2025469f2b05d37e8e1113fd1ad8aaab 2881605 apt_0.7.26~exp6.tar.gz
 dd464ad5f413bbfc3cd6cd86d3ab9f74e9469dae 226522 apt-doc_0.7.26~exp6_all.deb
 987614b58a31a1cc1a7b254b048e3c993d4e4597 645588 libapt-pkg-doc_0.7.26~exp6_all.deb
 8fb69fc145e545b26c78e069da41d4d2367c35a7 1983484 apt_0.7.26~exp6_i386.deb
 0fc9549c6baeb134c762e96f3b4c4f64975f0fbd 140362 libapt-pkg-dev_0.7.26~exp6_i386.deb
 02c726ebc7a6f5f495630bd3fa97c6d1617880e1 262932 apt-utils_0.7.26~exp6_i386.deb
 26a179b2d594017d085e7dc68d66aabb77be0bfd 76300 apt-transport-https_0.7.26~exp6_i386.deb
Checksums-Sha256: 
 fd2c653639e8a39f11c5467f77700ee5083141d3edf52105640597f551de7072 1268 apt_0.7.26~exp6.dsc
 0ad603d6d50d8868b1b7c99a7ac4f7ec3cbad23259241d5a88e894afd4ea742f 2881605 apt_0.7.26~exp6.tar.gz
 6f31b72298ace54043c3b1971a7fbe17097b0a3274d23362b9b2787aed40ca30 226522 apt-doc_0.7.26~exp6_all.deb
 904a906bfa43e5d16199d5fbd3e915e6deeeffb5ecf92c7e27643cfd58efea6a 645588 libapt-pkg-doc_0.7.26~exp6_all.deb
 35bd6f0fc3aa903b4301bdd37be175329ee31f878a0dc3fb502b26708a69cdb3 1983484 apt_0.7.26~exp6_i386.deb
 a49111917076a9c609773bf607d09b94ef800244f4d52850041b1fbe76d593fe 140362 libapt-pkg-dev_0.7.26~exp6_i386.deb
 b80f3522965a71955e664cc0f34cd5f8bf65defb461d8fca4e13b3f8aa251f97 262932 apt-utils_0.7.26~exp6_i386.deb
 63a582187c5dcf9f1d69438559a1a308ea7a8d17cf9f97c55286d17a2ff219c7 76300 apt-transport-https_0.7.26~exp6_i386.deb
Files: 
 a2b0ee2e3a7119ee498d323eefaccb49 1268 admin important apt_0.7.26~exp6.dsc
 bef705ea19dcc7c272bc2ba275f51038 2881605 admin important apt_0.7.26~exp6.tar.gz
 32fe079f6ff13bc7680bf84b921901ea 226522 doc optional apt-doc_0.7.26~exp6_all.deb
 51d187f5f96dbe16c00a20483e6f3b50 645588 doc optional libapt-pkg-doc_0.7.26~exp6_all.deb
 71e852d3ee5090065d274fe713ca8cde 1983484 admin important apt_0.7.26~exp6_i386.deb
 bb8ee5332ed867e224e7c0cb868be8d3 140362 libdevel optional libapt-pkg-dev_0.7.26~exp6_i386.deb
 549ef9fb3c31cf919c0bbb45ab1c57c6 262932 admin important apt-utils_0.7.26~exp6_i386.deb
 054ba73ea08c2cbf89465dfc8edc960f 76300 admin optional apt-transport-https_0.7.26~exp6_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwQ20AACgkQliSD4VZixzRCAwCeMY1iCdji2s24ME/432EwmyCH
KSwAmwR8DihbcCet9kPFZhtnFrITDgMJ
=rX8X
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: