Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83621 - etc-update fails to show differences of updates
Summary: etc-update fails to show differences of updates
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on: 83628
Blocks:
  Show dependency tree
 
Reported: 2005-02-28 17:07 UTC by Dennis Schaaf
Modified: 2006-07-19 03:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schaaf 2005-02-28 17:07:58 UTC
I try to do an etc-update but it doesn't show any differences. When I do 4 (show differences again) it also doesn't show anything.

I was deleting (probably) important updates until i got currious why there were no differences. Then I saw that there actually where differences etc-update just doesn't display them!

Reproducible: Always
Steps to Reproduce:
1. run etc-update
2. select any config file to be updated (should show differences but shows nothing)
3. select option 4 to show differences again (again i don't get anything.)

Actual Results:  
the diffs are not shown

Expected Results:  
show the differences between the config files.

Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.2, glibc-2.3.2-r9,
2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 AMD Athlon(tm) XP Processor 3000+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.3-r1 [2.3.3 (#1, Aug 29 2004, 15:13:29)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.3-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.14.90.0.7-r4
sys-devel/libtool:   1.4.3-r4, 1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
http://mirror.clarkson.edu/pub/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portageoverlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups
curl doc dvd emboss encode esd f77 fam firebird flac font-server foomaticdb
fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick
imlib ipv6 jabber jack java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg
mysqlncurses nls nvidia oggvorbis opengl oss pam pdflib perl png postgres
ppdsusb python qt quicktime readline real samba sdl slang softmmu spell ssl svga
tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts wifi xml xml2 xmms
xscreensaverxv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Dennis Schaaf 2005-02-28 17:29:22 UTC
this one is kind of related just that mine does not show the differences when you are in manual mode. But also here there is no error message which is very confusing and made me lose some of my config data.
http://bugs.gentoo.org/show_bug.cgi?id=48184

I believe that the core of this problem is that something with the piping on my system is wrong. I noticed that  when I run echo "hallo" | less , nothing happens. man and other programs that use pipes also stoped working.

dennis
Comment 2 Dennis Schaaf 2005-02-28 18:22:16 UTC
Ok, I singled out the issue to less. I did a emerge -C less && emerge but that did not solve the problem but "echo foo | more" works, while "echo foo | less" has absolutely no output

Any sugestions on that?
Comment 3 Zac Medico gentoo-dev 2005-07-31 18:06:27 UTC
Maybe this is a problem with ncurses.  Do other ncurses apps such as nano and
screen work okay?
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2006-07-19 03:52:59 UTC
So not a portage/etc-update bug. If this is still a bug in less please file a new bug under "Gentoo Linux".