Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114765 - Webapp-config adds lines to .webapp file even with -p
Summary: Webapp-config adds lines to .webapp file even with -p
Status: RESOLVED DUPLICATE of bug 113858
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-07 08:32 UTC by Ray Booysen
Modified: 2005-12-07 09:17 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 Ray Booysen 2005-12-07 08:32:03 UTC
I did the following command:

webapp-config -U -h -p host.com -d phpmyadmin phpmyadmin 2.6.4_p4
This should do a pretend of what would actually happen.  But when I took the -p
away, webapp-config complained that it couldn't upgrade as the package to
upgrade was the same as the package that was currently installed.  Looking at
the .webapp file, the following was there:



WEB_PN="phpmyadmin"
WEB_PVR="2.6.4_p3"
WEB_INSTALLEDBY="root"
WEB_INSTALLEDDATE="2005-11-13 15:47:23"
WEB_INSTALLEDFOR="root:root"
WEB_HOSTNAME="host.com"
WEB_INSTALLDIR="phpmyadmin"
# .webapp
#       config file for this copy of phpmyadmin/2.6.4_p4
#
#       automatically created by Gentoo's webapp-config
#       do NOT edit this file by hand

WEB_PN="phpmyadmin"
WEB_PVR="2.6.4_p4"
WEB_INSTALLEDBY="root"
WEB_INSTALLEDDATE="2005-12-07 16:14:37"
WEB_INSTALLEDFOR="root:root"
WEB_HOSTNAME="host.com"
WEB_INSTALLDIR="phpmyadmin"


This was the first time I had tried to upgrade to _p4 of phpmyadmin and the
initial -p worked but added the lines to the file which caused following updates
to not work.

Version of webapp-config: 1.11

Reproducible: Always
Steps to Reproduce:
1. Test a webapp upgrade with the -p switch
2. Try to upgrade without -p

Actual Results:  
Upgrade failed

Expected Results:  
Upgrade to work.

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(TM) XP 2500+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/fax /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/bind
/var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 3dnow S3TC aac aalib acl acpi alsa apache2 apm arts asterisk atm
audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr clamav crypt cscope
cups curl directfb dv dvd dvdr eds emboss encode esd ethereal evo expat faad fax
fbcon ffmpeg flac foomaticdb fortran gcj gd gdbm geoip gif gmp gphoto2 gpm gps
gstreamer idea idn ieee1394 imagemagick imap imlib innodb ipv6 jack java
javascript jikes jpeg junit lcms ldap libcaca libg++ libwww live lzw-tiff mad
maildir mcal mdb mhash mikmod ming mmx mng monkey motif mozilla mp3 mpeg mpeg4
music mysql native ncurses net nptl nvidia objc offensive ogg oggvorbis openal
oscar oss pam pcap pcmcia pcre pdflib perl pic plotutils png pnp ppds python
quicktime readline ruby samba sasl scanner slang slp snmp speex spell sqlite sse
ssl svga tcpd tetex tiff transcode truetype truetype-fonts type1-fonts unicode
usb v4l v4l2 vda vhosts virus-scan vorbis wifi winbind wmf wxwindows xine xml
xml2 xvid zlib zvbi userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-07 09:17:07 UTC
*** This bug has been marked as a duplicate of 113858 ***

*** This bug has been marked as a duplicate of 113858 ***