emerge --prune suggested that joomla-1.5.7 would be removed, joomla-1.5.8 would be preserved. But actual execution removed joomla-1.5.8, hosing web site. Reproducible: Didn't try Steps to Reproduce: 1.emerge -auv =www-apps/joomla-1.5.7 2.emerge -auv =www-apps/joomla-1.5.8 3.emerge --prune Actual Results: Operational website removed, despite joomla-1.5.8 being installed. I don't fully understand webapp-config, but this is not what I expected. Expected Results: Removed remains of joomla-1.5.7 from webapp-config directory, but working site still around, as upgraded to joomla-1.5.8 Log from prune: www-apps/joomla selected: 1.5.7 protected: none omitted: 1.5.8 perl-core/ExtUtils-CBuilder selected: 0.23 protected: none omitted: none perl-core/IO-Compress-Base selected: 2.015 protected: none omitted: none perl-core/Compress-Raw-Zlib selected: 2.015 protected: none omitted: none dev-java/tomcat-servlet-api selected: 5.5.27 protected: none omitted: 3 4.1.36 6.0.18 dev-util/unifdef selected: 1.20 protected: none omitted: none app-crypt/opencdk selected: 0.6.6 protected: none omitted: none dev-perl/IO-String selected: 1.08 protected: none omitted: none perl-core/Package-Constants selected: 0.01 protected: none omitted: none dev-java/mx4j-core selected: 3.0.1 protected: none omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging perl-core/Archive-Tar-1.40... >>> Unmerging dev-java/commons-launcher-1.1-r1... >>> Unmerging dev-java/commons-httpclient-2.0.2-r1... >>> Unmerging perl-core/IO-Zlib-1.09... >>> Unmerging perl-core/ExtUtils-ParseXS-2.19... >>> Unmerging perl-core/Compress-Zlib-2.015... >>> Unmerging perl-core/IO-Compress-Zlib-2.015... >>> Unmerging perl-core/Module-Build-0.28.08... >>> Unmerging dev-java/commons-modeler-2.0... >>> Unmerging www-apps/joomla-1.5.7... * Removing joomla-1.5.8 from /var/www/localhost/htdocs/joomla * Installed by root on 2009-01-18 18:56:22 * Config files owned by 0:0 !found installation/template/images/j_header_right_rtl.png !found installation/template/images/j_button1_collate.png !found installation/template/images/j_button1_refresh.png !found installation/template/images/j_header_left_rtl.png !found installation/includes/xajax/xajaxResponse.inc.php !found installation/template/images/j_button1_admin.png !found installation/template/images/j_button1_right.png !found installation/template/images/j_header_middle.png emerge --info: server lib # emerge --info Portage 2.1.6.4 (default/linux/x86/2008.0/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-hardened-r8 i686) ================================================================= System uname: Linux-2.6.22-hardened-r8-i686-Intel-R-_Celeron-TM-_CPU_1300MHz-with-glibc2.0 Timestamp of tree: Sat, 24 Jan 2009 03:15:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.gigaload.org/gentoo.org/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en_GB" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl acpi apache2 bash-completion bzip2 bzlib cli cracklib crypt ctype dba dovecot-sasl dri evo fam fortran gpm iconv imap isdnlog java5 libwww logrotate maildir mailwrapper midi mmx mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl ppds pppd python readline reflection sasl session spl ssl sysfs syslog tcpd threads unicode userlocales vim vim-syntax x86 xml xmlrpc xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Only joomla-1.5.8 is installed: server lib # eix joomla [U] www-apps/joomla Available versions: (1.5.8) {M}(~)1.5.8 (1.5.9) {M}(~)1.5.9!m[1] {vhosts} Installed versions: 1.5.8(1.5.8)(18:51:54 18/01/09)(-vhosts) Homepage: http://www.joomla.org/ Description: Joomla is a powerful Open Source Content Management System. [1] /usr/local/portage But webapp-config thinks joomla-1.5.7 is installed on /var/www/localhost/htdocs: server lib # webapp-config -I joomla 1.5.8 * Fatal error: Package joomla-1.5.7 is already installed here. * Fatal error: Use webapp-config -C to uninstall it first. * Fatal error: Install directory already contains a web application! * Fatal error(s) - aborting The following appeared to resolved: webapp-config -C -d joomla joomla 1.5.7 webapp-config -I -d joomla joomla 1.5.8 I believe emerge -auv =www-apps/joomla-1.5.8 should have taken care of this automatically
I assume that's app-admin/webapp-config-1.50.16-r1.
Can you retry with -r3 of webapp-config?
Believe it was app-admin/webapp-config-1.50.16-r1 (sorry for not replying to this point earlier). Bit reluctant to experiment with -r3 given what happened before. I don't have a backup site/machine that I can use for testing. Can any other watchers help?
(In reply to Paul from comment #4) > Believe it was app-admin/webapp-config-1.50.16-r1 (sorry for not replying to > this point earlier). > > Bit reluctant to experiment with -r3 given what happened before. I don't > have a backup site/machine that I can use for testing. Can any other > watchers help? I'm not able to reproduce this. Can you reopen if its still an issue. Of course, I used the latest verions of joomla in the tree 1.5.25 and 1.7.3 www-apps/joomla selected: 1.5.25 protected: none omitted: 1.7.3