Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2022 08:43:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 261549] databases/db5: updating error with compat symlinks
Message-ID:  <bug-261549-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 261549
           Summary: databases/db5: updating error with compat symlinks
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: peter.larsen@larsendata.dk

I always end up deleting files before being able to update db5

rm -rf /usr/local/lib/compat/pkg/libdb-5.3.so.0.0.0
rm -rf /usr/local/lib/compat/pkg/libdb-5.3.so.0
rm -rf /usr/local/lib/compat/pkg/libdb_cxx-5.3.so.0.0.0
rm -rf /usr/local/lib/compat/pkg/libdb_cxx-5.3.so.0
rm -rf /usr/local/lib/compat/pkg/libdb_cxx-5.so.0
rm -rf /usr/local/lib/compat/pkg/libdb_stl-5.3.so.0.0.0
rm -rf /usr/local/lib/compat/pkg/libdb_stl-5.3.so.0
rm -rf /usr/local/lib/compat/pkg/libdb_stl-5.so.0
rm -rf /usr/local/lib/compat/pkg/libdb-5.3.so.0
rm -rf /usr/local/lib/compat/pkg/libdb-5.3.so.0.0.0
rm -rf /usr/local/lib/compat/pkg/libdb-5.so.0
rm -rf /usr/local/lib/compat/pkg/libdb-5.so.0.0.0

would be nice if I did not have to:

# portupgrade --batch -P db5

<....>
--->  Uninstalling the old version
[Reading data from pkg(8) ... - 389 packages found - done]
--->  Deinstalling 'db5-5.3.28_7'
--->  Preserving /usr/local/lib/db5/libdb-5.3.so.0 as
/usr/local/lib/compat/pkg/libdb-5.3.so.0
--->  Preserving /usr/local/lib/db5/libdb-5.3.so.0.0.0 as
/usr/local/lib/compat/pkg/libdb-5.3.so.0.0.0
--->  Preserving /usr/local/lib/db5/libdb_cxx-5.3.so.0 as
/usr/local/lib/compat/pkg/libdb_cxx-5.3.so.0
--->  Preserving /usr/local/lib/db5/libdb_cxx-5.3.so.0.0.0 as
/usr/local/lib/compat/pkg/libdb_cxx-5.3.so.0.0.0
--->  Preserving /usr/local/lib/db5/libdb_stl-5.3.so.0 as
/usr/local/lib/compat/pkg/libdb_stl-5.3.so.0
--->  Preserving /usr/local/lib/db5/libdb_stl-5.3.so.0.0.0 as
/usr/local/lib/compat/pkg/libdb_stl-5.3.so.0.0.0
--->  Preserving /usr/local/lib/libdb-5.3.so.0 as
/usr/local/lib/compat/pkg/libdb-5.3.so.0
--->  Preserving /usr/local/lib/libdb-5.so.0 as
/usr/local/lib/compat/pkg/libdb-5.so.0
--->  Preserving /usr/local/lib/libdb_cxx-5.3.so.0 as
/usr/local/lib/compat/pkg/libdb_cxx-5.3.so.0
--->  Preserving /usr/local/lib/libdb_cxx-5.so.0 as
/usr/local/lib/compat/pkg/libdb_cxx-5.so.0
--->  Preserving /usr/local/lib/libdb_stl-5.3.so.0 as
/usr/local/lib/compat/pkg/libdb_stl-5.3.so.0
--->  Preserving /usr/local/lib/libdb_stl-5.so.0 as
/usr/local/lib/compat/pkg/libdb_stl-5.so.0
cp: symlink: libdb_stl-5.3.so.0: File exists
Copy failed!
[Reading data from pkg(8) ... - 389 packages found - done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! db5-5.3.28_7  (copy failed)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! databases/db5 (db5-5.3.28_7)  (uninstall error)

--=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-261549-7788>