Project

General

Profile

Bug #309

Some packages do not show up in installed_packages list

Added by Chris Buechler over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
Package System
Target version:
Start date:
01/17/2010
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

Some packages do not show up in installed_packages list, which makes it impossible to uninstall them, amongst other potential problems.

Two known to exhibit this:
OpenVPN Client Export
Squid 3

Associated revisions

Revision ed6b04d8 (diff)
Added by Ermal Luçi over 9 years ago

Resolves #309. Seems that including config.inc has bad habits on packages. Workaround this for now until the package config include is fixed.

Revision ab94ba00 (diff)
Added by Ermal Luçi over 9 years ago

Ticket #309. Correctly fix the problems of intermediate config lost because of inclusion of config.inc. This might have speed impacts to be measured.

Revision 8604523b (diff)
Added by Ermal Luçi over 9 years ago

Ticket #309. Fix it for packages.

History

#1 Updated by Jim Pingle over 9 years ago

I thought I'd already opened a ticket for this but apparently not. This happens when a package's .inc file includes config.inc, which resets the contents of $config, and the package data is lost since it was copied there before the .inc files were parsed.

On 2.0 it isn't necessary for a package's .inc file to include config.inc as far as I could tell.

#2 Updated by Ermal Luçi over 9 years ago

  • Status changed from New to Feedback

#3 Updated by Ermal Luçi over 9 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF