[Newbies] Upgrade 20.2 installation issues with dpkg
Tofloor
poster avatar
thinker550
deepin
2021-04-23 15:25
Author

I am upgrading from 20.1 to 20.2 and I see a lot of errors from the dpkg-query. Below extract is just one of them.

I am using Synaptic Package Manager. Appreciate help on this. Thank you.

------------------------------------------------------------------------------------------------------------------------------------

GLib-GObject-CRITICAL **: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed at /usr/share/perl5/Gtk3.pm line 551, <> line 417.
GLib-GObject-CRITICAL **: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed at /usr/share/perl5/Gtk3.pm line 551, <> line 417.
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 305870 files and directories currently installed.)
Preparing to unpack .../libudev1_241.10.2-1+dde_i386.deb ...
De-configuring libudev1:amd64 (241.8.1-6+dde) ...
Unpacking libudev1:i386 (241.10.2-1+dde) over (241.8.1-6+dde) ...
Preparing to unpack .../libudev1_241.10.2-1+dde_amd64.deb ...
Unpacking libudev1:amd64 (241.10.2-1+dde) over (241.8.1-6+dde) ...
dpkg-query: error: --listfiles needs a valid package name but 'libldap-2.4-2' is not: ambiguous package name 'libldap-2.4-2' with more than one installed instance

Use --help for help about querying packages.
dpkg-query: error: --listfiles needs a valid package name but 'libldap-2.4-2' is not: ambiguous package name 'libldap-2.4-2' with more than one installed instance

Reply Favorite View the author
All Replies
avatar
lehug
deepin
2021-04-23 16:13
#1

try `apt install -f`

Reply View the author
avatar
Fredoong
deepin
2021-04-23 17:40
#2

It's the 'ambiguous package name' error.

Just like what you said, there are two 'libldap-2.4-2' packages in Deepin/Debian.One is 'libldap-2.4-2:amd64',another is 'libldap-2.4-2:i386'.If you don't tell dpkg  you need which one libldap-2.4-2,dpkg will show  the 'ambiguous package name' error.

The error won't cause your upgrading failure.Even if you see the error,you can use your operating system normally.

Reply View the author
avatar
thinker550
deepin
2021-04-25 06:48
#3
lehug

try `apt install -f`

no effect actually ... but thanks for the inputs

Reply View the author
avatar
thinker550
deepin
2021-04-25 06:50
#4
thinker550

no effect actually ... but thanks for the inputs

Agree that I can continue to use the Operating System.

Just feels better if I do not see error messages.

Thanks anyway.

Reply View the author