Modify

Ticket #1051 (closed enhancement: fixed)

Opened 11 years ago

Last modified 10 years ago

Do not show y/N proposal for Packages that can not be installed

Reported by: https://www.google.com/accounts/o8/id?id=AItOawkPb0RtPyicSdU7pLcv1UrX-yCh-YjkOwU Owned by: desai
Priority: major Milestone: Bcfg2 1.3.0 Release
Component: bcfg2-client Version: 1.0
Keywords: Cc:

Description

In interactive mode of Bcfg2 client:

Loaded tool drivers:
 APT      Action   DebInit  POSIX    VCS     
The following entries are not handled by any tool:
 Package:None:apache2       Package:None:mysql-server  Package:None:php5         

The following packages are specified in bcfg2:
 apache2       mysql-server  php5         
The following packages are prereqs added by Packages:


Phase: initial
Correct entries:	0
Incorrect entries:	3
Total managed entries:	3
Unmanaged entries:	264

Install Package: apache2? (y/N): y
Install Package: mysql-server? (y/N): y
Install Package: php5? (y/N): y

Phase: final
Correct entries:	0
Incorrect entries:	3
 Package:apache2       Package:mysql-server  Package:php5         
Total managed entries:	3
Unmanaged entries:	264

It would more intuitive to see the following messages:

...
Unmanaged entries:      264

Can't install Package: apache2 (no plugins can handle operation) [Press Enter]
Can't install Package: mysql-server (no plugins can handle operation) [Press Enter]
Can't install Package: php5 (no plugins can handle operation) [Press Enter]

Phase: final
...

If -d (debug) option is specified, the prompts can also show names of the plugins that will be called to process the command, e.g:

Install Package (Packages,): apache2? (y/N): y
Install Package (Packages,): mysql-server? (y/N): y

Attachments

Change History

comment:1 Changed 11 years ago by solj

  • Type changed from defect to enhancement

comment:2 Changed 10 years ago by https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc

  • Status changed from new to closed
  • Resolution set to fixed

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.