Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2022 07:52:30 +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-cwrkFckwgn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261549-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-261549-7788@https.bugs.freebsd.org/bugzilla/>

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

bagas <bagas1983@mail.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bagas1983@mail.ru

--- Comment #1 from bagas <bagas1983@mail.ru> ---
Hello.
How to fix?

cd /usr/ports/databases/db5/work/stage/usr/local/bin/db5;  for i in *; do
/bin/ln -s -f db5/$i ../$i-5.3 ;  /bin/ln -s -f db5/$i ../$i-5 ; done
/bin/rm -f -r /usr/ports/databases/db5/work/stage/usr/local/share/doc/db5/j=
ava
/bin/rm -f -r
/usr/ports/databases/db5/work/stage/usr/local/share/doc/db5/gsg/JAVA
/bin/rm -f -r
/usr/ports/databases/db5/work/stage/usr/local/share/doc/db5/gsg_db_rep/JAVA
/bin/rm -f -r
/usr/ports/databases/db5/work/stage/usr/local/share/doc/db5/gsg_txn/JAVA
/bin/rm -f -r
/usr/ports/databases/db5/work/stage/usr/local/share/doc/db5/api_reference/T=
CL
=3D=3D=3D=3D> Compressing man pages (compress-man)
--->  Backing up the old version
pkg: unknown format pkg, using the default
--->  Uninstalling the old version
[Reading data from pkg(8) ... - 223 packages found - done]
--->  Deinstalling 'db5-5.3.28_8'
--->  Preserving /usr/local/lib/db5/libdb-5.3.so.0 as
/usr/local/lib/compat/pkg/libdb-5.3.so.0
cp: symlink: libdb-5.3.so.0.0.0: File exists
Copy failed!
[Reading data from pkg(8) ... - 223 packages found - done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! db5-5.3.28_8  (copy failed)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! databases/db5 (db5-5.3.28_8)  (uninstall error)



ls -al /usr/local/lib/compat/pkg/libdb-5.3.so.0
lrwxr-xr-x  1 root  wheel  18 11 =D0=BC=D0=B0=D1=80=D1=82=D0=B0  2021
/usr/local/lib/compat/pkg/libdb-5.3.so.0 -> db5/libdb-5.3.so.0


pkg version -vl '<'
db5-5.3.28_8                       <   needs updating (index has 5.3.28_9)

--=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-cwrkFckwgn>