Libnettle.so.7: cannot open shared object file: No such file or directory

Bug #1901321 reported by Marietto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello.

I've upgraded Ubuntu 20.04 to 20.10. Unfortunately when I try to start xen with these commands :

sudo /etc/init.d/xencommons start
sudo /etc/init.d/xendomains start
sudo /etc/init.d/xen-watchdog start
sudo /etc/init.d/xendriverdomain start

I get this error :

Starting /usr/local/sbin/oxenstored...Setting domain 0 name, domid and JSON config...
Done setting up Dom0
Starting xenconsoled...
Starting QEMU as disk backend for dom0
/usr/local/lib/xen/bin/qemu-system-i386: error while loading shared libraries: libnettle.so.7: cannot open shared object file: No such file or directory
* [done]
Starting xen-watchdog (via systemctl): xen-watchdog.service.

It didn't happen with Ubuntu 20.04, so 20.10 removed some "obsolete" package. I tried to reinstall some packages related to libnettle component, but the error didn't go away. Somone wants to help me? Thanks.

Revision history for this message
Marietto (marietto2008) wrote :

I tried to install this package : libnettle7_3.5.1+really3.5.1-2_amd64.deb,but I got the following error :

libnettle7:amd64 (3.5.1+really3.5.1-2)...

dpkg: Error processing archive /etc/xen/libnettle7_3.5.1+really3.5.1-2_amd64.deb (--unpack):

attempted overwrite of "/usr/share/doc/libnettle7/changelog.Debian.gz" (shared), different from other instances of libnettle7 package: amd64

dpkg-deb: error: sub process was terminated by the signal (Pipe stopped)

Revision history for this message
Marietto (marietto2008) wrote :

this is the problem : ubuntu 20.10 installed libnettle8 but qemu needs libnettle 7 :

root@ziomario-z390aoruspro:/etc/xen# apt list | grep libnettle

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libnettle8/groovy,now 3.6-2 amd64 [installato, automatico]
libnettle8/groovy,now 3.6-2 i386 [installato, automatico]

what to do ?

Revision history for this message
Magnus Holmgren (holmgren) wrote :

That error message looks strange. It looks like you're installing the libnettle7 package for amd64, but there's _another_ instance of that package that's _also_ for amd64? Did you download the .deb file manually? libnettle7 should exist in Ubuntu 20.04 according to https://packages.ubuntu.com/focal/libnettle7.

Revision history for this message
Magnus Holmgren (holmgren) wrote :

What does

dpkg -l libnettle7

say?

dpkg -L libnettle7:amd64

?

Revision history for this message
Marietto (marietto2008) wrote : Re: [Bug 1901321] Re: Libnettle.so.7: cannot open shared object file: No such file or directory

Hello. I have installed this package : libnettle7_3.5.1+really3.5.1-2_amd64
; it didn't give any error. But ubuntu 20.10 comes with the libnettle8
package already installed. So now what ? I have the 7 and the 8 version
installed simultaneously ?

Il giorno sab 24 ott 2020 alle ore 23:10 Magnus Holmgren <
<email address hidden>> ha scritto:

> What does
>
> dpkg -l libnettle7
>
> say?
>
> dpkg -L libnettle7:amd64
>
> ?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1901321
>
> Title:
> Libnettle.so.7: cannot open shared object file: No such file or
> directory
>
> Status in ubiquity package in Ubuntu:
> New
>
> Bug description:
> Hello.
>
> I've upgraded Ubuntu 20.04 to 20.10. Unfortunately when I try to start
> xen with these commands :
>
> sudo /etc/init.d/xencommons start
> sudo /etc/init.d/xendomains start
> sudo /etc/init.d/xen-watchdog start
> sudo /etc/init.d/xendriverdomain start
>
> I get this error :
>
> Starting /usr/local/sbin/oxenstored...Setting domain 0 name, domid and
> JSON config...
> Done setting up Dom0
> Starting xenconsoled...
> Starting QEMU as disk backend for dom0
> /usr/local/lib/xen/bin/qemu-system-i386: error while loading shared
> libraries: libnettle.so.7: cannot open shared object file: No such file or
> directory
> * [done]
> Starting xen-watchdog (via systemctl): xen-watchdog.service.
>
> It didn't happen with Ubuntu 20.04, so 20.10 removed some "obsolete"
> package. I tried to reinstall some packages related to libnettle
> component, but the error didn't go away. Somone wants to help me?
> Thanks.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1901321/+subscriptions
>

--
Mario.

Revision history for this message
Marietto (marietto2008) wrote :

root@ziomario-z390aoruspro:/home/ziomario# dpkg -l libnettle7
Voluto=U (non noto)/I (installato)/R (rimosso)/P (rimosso totale)/H (in
attesa)
|
Stato=Non/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(nessuno)/R (reinstallazione richiesta) (Stato,Err: maiuscolo=grave)
||/ Nome Versione Architettura Descrizione
+++-================-===================-============-=========================>
ii libnettle7:amd64 3.5.1+really3.5.1-2 amd64 low level
cryptographic l>

root@ziomario-z390aoruspro:/home/ziomario# dpkg -L libnettle7:amd64
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libnettle.so.7.0
/usr/share
/usr/share/doc
/usr/share/doc/libnettle7
/usr/share/doc/libnettle7/NEWS.gz
/usr/share/doc/libnettle7/README
/usr/share/doc/libnettle7/changelog.Debian.gz
/usr/share/doc/libnettle7/copyright
/usr/lib/x86_64-linux-gnu/libnettle.so.7

Il giorno dom 25 ott 2020 alle ore 00:13 Mario Marietto <
<email address hidden>> ha scritto:

> Hello. I have installed this package :
> libnettle7_3.5.1+really3.5.1-2_amd64 ; it didn't give any error. But ubuntu
> 20.10 comes with the libnettle8 package already installed. So now what ? I
> have the 7 and the 8 version installed simultaneously ?
>
> Il giorno sab 24 ott 2020 alle ore 23:10 Magnus Holmgren <
> <email address hidden>> ha scritto:
>
>> What does
>>
>> dpkg -l libnettle7
>>
>> say?
>>
>> dpkg -L libnettle7:amd64
>>
>> ?
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1901321
>>
>> Title:
>> Libnettle.so.7: cannot open shared object file: No such file or
>> directory
>>
>> Status in ubiquity package in Ubuntu:
>> New
>>
>> Bug description:
>> Hello.
>>
>> I've upgraded Ubuntu 20.04 to 20.10. Unfortunately when I try to start
>> xen with these commands :
>>
>> sudo /etc/init.d/xencommons start
>> sudo /etc/init.d/xendomains start
>> sudo /etc/init.d/xen-watchdog start
>> sudo /etc/init.d/xendriverdomain start
>>
>> I get this error :
>>
>> Starting /usr/local/sbin/oxenstored...Setting domain 0 name, domid and
>> JSON config...
>> Done setting up Dom0
>> Starting xenconsoled...
>> Starting QEMU as disk backend for dom0
>> /usr/local/lib/xen/bin/qemu-system-i386: error while loading shared
>> libraries: libnettle.so.7: cannot open shared object file: No such file or
>> directory
>> * [done]
>> Starting xen-watchdog (via systemctl): xen-watchdog.service.
>>
>> It didn't happen with Ubuntu 20.04, so 20.10 removed some "obsolete"
>> package. I tried to reinstall some packages related to libnettle
>> component, but the error didn't go away. Somone wants to help me?
>> Thanks.
>>
>> To manage notifications about this bug go to:
>>
>> https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1901321/+subscriptions
>>
>
>
> --
> Mario.
>

--
Mario.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.