Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2022 11:26:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   [Bug 265943] editors/libreoffice: upgrading via portmaster leads to conflict with existing installed port
Message-ID:  <bug-265943-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265943

            Bug ID: 265943
           Summary: editors/libreoffice: upgrading via portmaster leads to
                    conflict with existing installed port
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: office@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
             Flags: maintainer-feedback?(office@FreeBSD.org)
          Assignee: office@FreeBSD.org

Scenario:
- FreeBSD 12.3 latest
- ports latest
- Installed (amongst others): editors/libreoffice, french/libreoffice,
portuguese/libreoffice, editors/libreoffice-it
- upgrading ports using portmaster

Result:
- french/libreoffice starts being upgraded before editors/libreoffice
- because it is a dependency, editors/libreoffice gets upgrade before
french/libreoffice is installed
- the installation of editors/libreoffice proceeds without deinstalling the=
 old
version first:

Install /usr/local/man/man1/loffice.1.gz
Install /usr/local/bin/unopkg
Install /usr/local/man/man1/unopkg.1.gz
Install /basis/program/java-set-classpath
/usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/editors/libreoffice/work/libr=
eoffice-7.4.0.3/bin/distro-install-sdk
SDK installation clean up
/usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/editors/libreoffice/work/libr=
eoffice-7.4.0.3/bin/distro-install-file-lists
Generating package file lists for FreeBSD ports...
gmake[2]: Leaving directory
'/usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/editors/libreoffice/work/lib=
reoffice-7.4.0.3'
=3D=3D=3D=3D> Compressing man pages (compress-man)
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packag=
es
in the universe):

Installed packages to be REMOVED:
        fr-libreoffice: 7.3.5.2

Number of packages to be removed: 1

The operation will free 28 MiB.
[1/1] Deinstalling fr-libreoffice-7.3.5.2...
[1/1] Deleting files for fr-libreoffice-7.3.5.2: 100%

=3D=3D=3D>>> Starting check for runtime dependencies
=3D=3D=3D>>> Gathering dependency list for editors/libreoffice from ports
=3D=3D=3D>>> Dependency check complete for editors/libreoffice

=3D=3D=3D>>> All >> fr-libreoffice-7.3.5.2 (90/102)

=3D=3D=3D>  Installing for libreoffice-7.4.0.3
=3D=3D=3D>  Checking if libreoffice is already installed
=3D=3D=3D>   An older version of libreoffice is already installed
(libreoffice-7.3.5.2_2)
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of libreoffice
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop.
make[1]: stopped in /net/hal/z/SRC/FreeBSD/ports/MBi/main/editors/libreoffi=
ce
*** Error code 1

Stop.
make: stopped in /net/hal/z/SRC/FreeBSD/ports/MBi/main/editors/libreoffice

=3D=3D=3D>>> Installation of libreoffice-7.4.0.3 (editors/libreoffice) fail=
ed
=3D=3D=3D>>> Aborting update

=3D=3D=3D>>> Update for editors/libreoffice failed
=3D=3D=3D>>> Aborting update

=3D=3D=3D>>> There are messages from installed ports to display,
       but first take a moment to review the error messages
       above.  Then press Enter when ready to proceed.=20

Expected result:
- The upgrade should proceed normally.

Notes:
- This has been happening since a few months.
- The workaround is to deinstall all libreoffice ports first and then to run
"portmaster editors/libreoffice-i18n"
- See also bug #265936, but here neither editors/libreoffice-i18n nor
german/libreoffice were installed so that the bug described there does not
occur (infinite portmaster recursion).

-- Martin

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265943-25061>