Pacman

Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".

* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.
Tasklist

FS#1105 - pacman 2.8-1 No colored Messages

Attached to Project: Pacman
Opened by Albert Steiner (alibaba) - Saturday, 10 July 2004, 19:48 GMT
Last edited by Simo Leone (neotuli) - Sunday, 15 October 2006, 17:21 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

if have in my package install scripts colored messages
and calls to the /etc/rc.d/package start stop
after update to 2.8-1 never any color will be displayed
and the output from stat_fail stat_done looks
::Stopping Package 9G [BUSY] 9G [DONE]
the scripts runnig aoutside well, and if i downgrade to
pacman 2.7.9-1 all color and stat_ will be correct displayed ?
regards
albert
This task depends upon

This task blocks these from closing
 FS#6316 - Pacman 3 release bugcatcher 
Closed by  Aaron Griffin (phrakture)
Thursday, 01 February 2007, 01:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  Works in CVS
Comment by Judd Vinet (judd) - Saturday, 10 July 2004, 19:53 GMT
You're saying if you downgrade pacman to 2.7.9, then all your rc.d scripts display color properly?

The pacman package doesn't provide any scripts that are used by the rc.d scrpits.
Comment by Albert Steiner (alibaba) - Saturday, 10 July 2004, 21:26 GMT
Sorry for my bad english, I am an Austrian,
i now that the pacman not provide the rc.d srcipts,
but i look at var/run/daemons and if the package is running then
i call /etc/rc.d/package stop but that is not the problem this is
working.

i have a own package and there a install script, which is calling
the /etc/rc.d/package stop if it is running and some colored messages,
the problem seems is about the tty:
pacman 2.7.9 says with the script;

/dev/vc/2

speed 38400 baud; line = 0;
-brkint ixoff -imaxbel
-iexten

pacman 2.8 says with the same:

not a tty

stty: standard input: Invalid argument

and this seems the problem, do you have any idea ?

here is my test install script:

post_install() {
tty
echo
stty
}

post_upgrade() {
post_install $2
}

pre_remove() {
/bin/true
}

post_remove() {
/bin/true
}

op=$1
shift

$op $*

regards albert
Comment by Damir Perisa (damir.perisa) - Monday, 31 January 2005, 13:28 GMT
new releases of pacman were out ... is this still an issue?
Comment by Simo Leone (neotuli) - Sunday, 03 April 2005, 03:18 GMT
[bug squashing day prelims]
I just tried this, yes it is still an issue.
I have attached the dummy package that I used to test it, so you can see for yourself. Basically, the start/stop status line displayed by an /etc/rc.d/blah script called from within an install script of a package; is displayed sort of corrupted.
Comment by arjan timmerman (blaasvis) - Saturday, 25 March 2006, 13:35 GMT
:: Stopping Secure Shell Daemon [-9G [BUSY] [-9G [DONE]
stty: standard input: Invalid argument
:: Starting Secure Shell Daemon [-9G [BUSY] [-9G [DONE]

it still is a bug.
Comment by Aaron Griffin (phrakture) - Tuesday, 05 December 2006, 08:02 GMT
Well, pacman3 no longer spits out garbage, but it doesn't color things either

Loading...