Your message dated Fri, 4 Mar 2016 16:51:55 +0000
with message-id <[email protected]>
and subject line Re: aptitude: calls pkgInitSystem before processing cmdline 
options
has caused the Debian Bug report #652603,
regarding aptitude: calls pkgInitSystem before processing cmdline options
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 [email protected]
immediately.)


-- 
652603: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652603
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aptitude
Version: 0.6.4-1.2
Severity: minor

Hello

The libapt-pkg function pkgInitSystem reads the value of the config
file option "Apt::System".

Since aptitude permits specifying config options on the command line
via `-o', it is necessary to call pkgInitSystem *after* reading the
command line options.  E.g. apt-get does this:

   CommandLine CmdL(Args,_config);
   if (pkgInitConfig(*_config) == false ||
       CmdL.Parse(argc,argv) == false ||
       pkgInitSystem(*_config,_system) == false)
   {

Aptitude currently calls pkgInitSystem (via apt_preinit) before it
reads the command line args, resulting in the wrong pkgSystem being
used if the user has specified an alternative on the cmdline.
Admittedly this would be a rare scenario for a Debian system.



--- End Message ---
--- Begin Message ---
noowner 652603
tags 652603 + wontfix
stop


2011-12-19 02:59 Daniel Hartwig:
Package: aptitude
Version: 0.6.4-1.2
Severity: minor

Hello

The libapt-pkg function pkgInitSystem reads the value of the config
file option "Apt::System".

Since aptitude permits specifying config options on the command line
via `-o', it is necessary to call pkgInitSystem *after* reading the
command line options.  E.g. apt-get does this:

  CommandLine CmdL(Args,_config);
  if (pkgInitConfig(*_config) == false ||
      CmdL.Parse(argc,argv) == false ||
      pkgInitSystem(*_config,_system) == false)
  {

Aptitude currently calls pkgInitSystem (via apt_preinit) before it
reads the command line args, resulting in the wrong pkgSystem being
used if the user has specified an alternative on the cmdline.
Admittedly this would be a rare scenario for a Debian system.

Indeed, we have enough open bugs to care about as it is, let's not add
theoretical ones that have no impact whatsoever.


--
Manuel A. Fernandez Montecelo <[email protected]>

--- End Message ---
_______________________________________________
Aptitude-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel

Reply via email to