Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#12016 - texlive upgrade messages are too verbose

Attached to Project: Arch Linux
Opened by Jan de Groot (JGC) - Thursday, 06 November 2008, 10:04 GMT
Last edited by Francois Charette (Firmicus) - Friday, 26 December 2008, 11:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Francois Charette (Firmicus)
Architecture All
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

On every upgrade, the texlive package comes with a massive amount of upgrade messages. Some examples:

pre_upgrade: echo " NB: The file $updmapfile has not been changed"
Why do I need to know this?

post_install and post_upgrade:
echo " ------------------------------------------------------------------"
echo " Welcome to TeXLive 2008! "
echo ""
echo " * The installation now goes to /usr instead of /opt/texlive."
echo ""
echo " * PLEASE read the documentation at"
echo " http://wiki.archlinux.org/index.php/TeXLive";
echo " ------------------------------------------------------------------"

Why do I have to see that on every upgrade? My installation of texlive has been in /usr since the beginning, I don't even know of /opt. This scriptlet should check for the previous version of the package, if it was before the first version in /usr, it should display the message, otherwise not. The wiki documentation link is useful for post_install, but not post_upgrade. The whole Welcome header should be skipped, other packages don't have that either (welcome to glibc, welcome to gcc, welcome to gnome-session...)

You also might want to redirect some stdout messages to /dev/null, if there's no error, you're not interested in any messages. Errors have output on stderr and will get printed on console then. If you really want to keep the status messages (echo "texlive: creating all formats"), you might want to remove the texlive prefix and use "echo -n" to print the "done." on the same line afterwards.
This task depends upon

Closed by  Francois Charette (Firmicus)
Friday, 26 December 2008, 11:34 GMT
Reason for closing:  Fixed
Comment by Francois Charette (Firmicus) - Thursday, 06 November 2008, 18:24 GMT
Once again you are absolutely right Jan ;)
I've fixed this in the svn trunk, so this will be for the next upgrade.
Could you have a look before I close this?
Comment by Jan de Groot (JGC) - Friday, 07 November 2008, 08:41 GMT
Looks good, you did some massive install message stripping :)

Loading...