Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129167 - webapp-config useage inconsistant with man page
Summary: webapp-config useage inconsistant with man page
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-07 12:24 UTC by Richard Morris
Modified: 2006-04-20 16:04 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 Richard Morris 2006-04-07 12:24:35 UTC
Portage 2.1_pre7-r3 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 alsa apache2 apm arts asterisk authdaemond avi berkdb bitmap-fonts ccache cddb cdr cdrom cgi cli crypt cups dba dri dvb dvd dvdr dvdread eds emboss encode festival foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 ieee1394 imagemagick imap imlib ipv6 isdnlog jpeg kde ldap libclamav libg++ libwww lzo mad maildir mikmod mjpeg mmx motif mp3 mpeg mysql ncurses network nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt quicktime readline samba sasl scanner sdl session spell sse ssl swat tcpd truetype truetype-fonts type1-fonts userlocales utf8 v4l v4l2 vhosts virus-scan vorbis xml xml2 xmms xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_en_GB userland_GNU video_cards_nv"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, PORTDIR_OVERLAY

The command:

athlon www # man webapp-config

gives:

Upgrading applications
 To upgrade the copy of phpmyadmin-2.5.6 to version 2.5.7, you would do this: 
webapp-config -U -d /databases/admin/ phpmyadmin 2.5.7 
 To upgrade all the virtual copies of phpmyadmin-2.5.6, you would do this: 
for x in `webapp-config --list-installs phpmyadmin 2.5.6` ; do webapp-config -U -d $x phpmyadmin 2.5.7 ; done  

The command:

athlon www # for x in `webapp-config --list-installs phpmyadmin 2.7.0_p2` ; do webapp-config -U -d $x phpmyadmin 2.8.0.2 ; done   

Gives:

* Fatal error: Cannot clean!
* Fatal error: No package installed in /var/www/localhost/htdocs/var/www/phpmyadmin.local.tannery.co.uk/htdocs
* Fatal error(s) - aborting

The command:

athlon www # webapp-config --list-installs phpmyadmin 2.7.0_p2   

Gives:

/var/www/phpmyadmin.local.tannery.co.uk/htdocs

To upgrade this I need to use the following command:

athlon www # webapp-config -U -h phpmyadmin.local.tannery.co.uk -d / phpmyadmin 2.8.0.2
Comment 1 Gunnar Wrobel (RETIRED) gentoo-dev 2006-04-20 16:04:48 UTC
Thanks for the report. Fixed in webapp-config v1.50.14