Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113858 - webapp-config-1.1: webapp-config -p changes .webapp
Summary: webapp-config-1.1: webapp-config -p changes .webapp
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
: 114765 (view as bug list)
Depends on:
Reported: 2005-11-28 17:34 UTC by Kevin Bryan
Modified: 2006-12-12 07:04 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Bryan 2005-11-28 17:34:58 UTC
If you run webapp-config -p -U ....., then the .webapp file in the directory the
install is to be performed into gets updated records for the new version, even
though it isn't installed.  This means when you run the command without the
pretend switch (webapp-config -U ....), it complains saying you can't upgrade to
the same package version.

It looks like in fn_ugprade the call to fn_writedotconfig needs to be prefixed
with libsh_epretend.

Reproducible: Always
Steps to Reproduce:
1. webapp-config -I ...
2. webapp-config -p -U ....
3. webapp-config -U ....

Actual Results:  
It claims the package is already installed

Expected Results:  
It should perform the isntall
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-29 00:03:29 UTC
Which version?
Comment 2 Kevin Bryan 2005-11-29 15:48:00 UTC
Sorry, I realized I missed it after I posted it, but I figured assuming the
latest stable would do.  It is 1.11
Comment 3 Renat Lumpau (RETIRED) gentoo-dev 2005-11-29 17:26:07 UTC
Yes, we are aware of this. It's been fixed in w-c-1.50.1, but please wait until
1.50.2 is in the tree as it fixes two important bugs.
Comment 4 Renat Lumpau (RETIRED) gentoo-dev 2005-11-29 17:26:42 UTC
UPSTREAM in this case is
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-12-07 09:17:08 UTC
*** Bug 114765 has been marked as a duplicate of this bug. ***
Comment 6 Kevin Bryan 2006-12-12 07:04:41 UTC
Since webapp-config 1.50.15 is current, this bug is long gone (tested with that version, anyways).