You are here: Foswiki>Tasks Web>Item2219 (08 Oct 2009, SvenDowideit)Edit Attach

Item2219: Upgrade errors

pencil
Priority: Urgent
Current State: Closed
Released In:
Target Release: n/a
Applies To: Installer
Component: DebianPackage
Branches:
Reported By: PhilippLeufke
Waiting For:
Last Change By: SvenDowideit
When trying to upgrade from 1.0.6 to the most recent version using the most recent debian packages, I get dpkg configuration errors:

removing /usr/lib/cgi-bin/foswiki to /tmp/foswiki_DELETE
cp: `/usr/lib/cgi-bin/foswiki/attach' and `/var/lib/foswiki/bin/attach' are the same file
cp: `/usr/lib/cgi-bin/foswiki/changes' and `/var/lib/foswiki/bin/changes' are the same file
cp: `/usr/lib/cgi-bin/foswiki/compare' and `/var/lib/foswiki/bin/compare' are the same file
cp: `/usr/lib/cgi-bin/foswiki/configure' and `/var/lib/foswiki/bin/configure' are the same file
cp: `/usr/lib/cgi-bin/foswiki/edit' and `/var/lib/foswiki/bin/edit' are the same file
cp: `/usr/lib/cgi-bin/foswiki/genpdf' and `/var/lib/foswiki/bin/genpdf' are the same file
cp: `/usr/lib/cgi-bin/foswiki/LocalLib.cfg' and `/var/lib/foswiki/bin/LocalLib.cfg' are the same file
cp: `/usr/lib/cgi-bin/foswiki/LocalLib.cfg.txt' and `/var/lib/foswiki/bin/LocalLib.cfg.txt' are the same file
cp: `/usr/lib/cgi-bin/foswiki/login' and `/var/lib/foswiki/bin/login' are the same file
cp: `/usr/lib/cgi-bin/foswiki/logon' and `/var/lib/foswiki/bin/logon' are the same file
cp: `/usr/lib/cgi-bin/foswiki/manage' and `/var/lib/foswiki/bin/manage' are the same file
cp: `/usr/lib/cgi-bin/foswiki/oops' and `/var/lib/foswiki/bin/oops' are the same file
cp: `/usr/lib/cgi-bin/foswiki/preview' and `/var/lib/foswiki/bin/preview' are the same file
cp: `/usr/lib/cgi-bin/foswiki/rdiff' and `/var/lib/foswiki/bin/rdiff' are the same file
cp: `/usr/lib/cgi-bin/foswiki/rdiffauth' and `/var/lib/foswiki/bin/rdiffauth' are the same file
cp: `/usr/lib/cgi-bin/foswiki/register' and `/var/lib/foswiki/bin/register' are the same file
cp: `/usr/lib/cgi-bin/foswiki/rename' and `/var/lib/foswiki/bin/rename' are the same file
cp: `/usr/lib/cgi-bin/foswiki/resetpasswd' and `/var/lib/foswiki/bin/resetpasswd' are the same file
cp: `/usr/lib/cgi-bin/foswiki/rest' and `/var/lib/foswiki/bin/rest' are the same file
cp: `/usr/lib/cgi-bin/foswiki/save' and `/var/lib/foswiki/bin/save' are the same file
cp: `/usr/lib/cgi-bin/foswiki/search' and `/var/lib/foswiki/bin/search' are the same file
cp: `/usr/lib/cgi-bin/foswiki/setlib.cfg' and `/var/lib/foswiki/bin/setlib.cfg' are the same file
cp: `/usr/lib/cgi-bin/foswiki/statistics' and `/var/lib/foswiki/bin/statistics' are the same file
cp: `/usr/lib/cgi-bin/foswiki/upload' and `/var/lib/foswiki/bin/upload' are the same file
cp: `/usr/lib/cgi-bin/foswiki/view' and `/var/lib/foswiki/bin/view' are the same file
cp: `/usr/lib/cgi-bin/foswiki/viewauth' and `/var/lib/foswiki/bin/viewauth' are the same file
cp: `/usr/lib/cgi-bin/foswiki/viewfile' and `/var/lib/foswiki/bin/viewfile' are the same file

What needs to be done to make dpkg configure run through?

-- PhilippLeufke - 07 Oct 2009

Sorry about that. I was preparing packages for Debian upload and wasn't using Sven's packages. I wasn't expecting my packages to be uploaded to his distribution.

The unnecessary cp is probably in one of the preinst, postinst, prerm, or postrm files in /var/lib/dpkg/info/foswiki.*

/etc/foswiki/apache.conf will probably need to be updated to have /bin scriptaliased to /var/lib/foswiki/bin

-- DrakeDiedrich - 07 Oct 2009

Thanks for the quick reply.

So I will wait for the new packages on the repo...

-- PhilippLeufke - 07 Oct 2009

A new autobuilt package is at http://debmarshal.debian.net/foswiki/pool/main/f/foswiki/foswiki_1.0.7-auto5229-0_all.deb with the cp fix. You can also track it using several different sources.list lines, mentioned at http://debmarshal.debian.net Let me know if that solves the install problem.

-- DrakeDiedrich - 07 Oct 2009

mmm, crud :/ I'm updating my repository right now too.

I added the copy because there are some people that have used non-debian package installation to add more cgi scripts - or have done it by hand.

-- SvenDowideit - 08 Oct 2009

Using Sven's packages, now everything runs through flawlessly. Thanks! (I guess you could close this bug now...)

-- PhilippLeufke - 08 Oct 2009

mmm, making a 1.0.7-3 to fix up the redirectmatch for /cgi-bin/foswiki, and uploading to my repos

-- SvenDowideit - 08 Oct 2009

ItemTemplate edit

Summary Upgrade errors
ReportedBy PhilippLeufke
Codebase 1.0.7, 1.0.6
SVN Range Foswiki-1.0.7, Sun, 20 Sep 2009, build 5061
AppliesTo Installer
Component DebianPackage
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:2653d94ce3b0 distro:b38c11fe6a57
TargetRelease n/a
ReleasedIn
Topic revision: r8 - 08 Oct 2009, SvenDowideit
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy