[Samba] Problem with libldb1

Viktor Trojanovic viktor at troja.ch
Sun Sep 22 13:42:13 UTC 2019


On 22.09.2019 15:39, Viktor Trojanovic wrote:
>
> On 22.09.2019 15:30, Rowland penny via samba wrote:
>> On 22/09/2019 14:10, Viktor Trojanovic via samba wrote:
>>> On 22.09.2019 15:07, Rowland penny via samba wrote:
>>>> On 22/09/2019 13:53, Viktor Trojanovic via samba wrote:
>>>>> I just ran "apt upgrade" on my DC (Ubuntu 18.04, Samba 4.10 from 
>>>>> Louis
>>>>> Repo) and it ended with error messages about unmet dependencies in 
>>>>> regards
>>>>> to libldb1.
>>>>>
>>>> Yes, but did you run 'apt-get update' first ?
>>>>
>>>> Rowland
>>>>
>>>>
>>> Yes, apt update, then apt upgrade, as usual.
>>>
>>> Viktor
>>>
>>>
>> Then why isn't it trying to upgrade libldb1 ?
>>
>> Louis's repo has:
>>
>> bionic-samba410|main|amd64: libldb1 2:1.5.5-1bionic~1
>>
>> A bit more searching in your initial post turns this up:
>>
>> Unpacking libldb1:amd64 (2:1.5.5-1bionic~1) over (2:1.5.4-1ubuntu1.2) 
>> ...
>> dpkg: error processing archive
>> /var/cache/apt/archives/libldb1_2%3a1.5.5-1bionic~1_amd64.deb 
>> (--unpack):
>> trying to overwrite '/usr/lib/x86_64-linux-gnu/ldb/libldb-cmdline.so',
>> which is also in package ldb-tools 2:1.5.4-1ubuntu1.2
>>
>> This looks like something for Louis to sort out, but, perhaps, if you 
>> remove 'ldb-tools', the upgrade may work.
>>
>> Rowland
>>
>>
>>
> Looks like I'm blocked to do anything.. do you happen to know how I 
> can circumvent this issue?
>
> root at DC1:/var/cache/apt# apt remove ldb-tools
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run 'apt --fix-broken install' to correct these.
> The following packages have unmet dependencies:
>  python3-ldb : Depends: libldb1 (= 2:1.5.5-1bionic~1) but 
> 2:1.5.4-1ubuntu1.2 is to be installed
>  python3-samba : Depends: libldb1 (>= 2:1.5.5~) but 2:1.5.4-1ubuntu1.2 
> is to be installed
>                  Recommends: python3-gpg but it is not going to be 
> installed
>  samba : Depends: libldb1 (>= 2:1.5.5~) but 2:1.5.4-1ubuntu1.2 is to 
> be installed
>  samba-dsdb-modules : Depends: libldb1 (> 2:1.5.5~) but 
> 2:1.5.4-1ubuntu1.2 is to be installed
>  samba-libs : Depends: libldb1 (>= 2:1.5.5) but 2:1.5.4-1ubuntu1.2 is 
> to be installed
> E: Unmet dependencies. Try 'apt --fix-broken install' with no packages 
> (or specify a solution).
>
> Viktor
>
Nevermind, I think I found out how: dpkg -P ldb-tools. This worked, and 
after that I could run apt -f install. Everything seems to be ok now but 
I'll do some further checks just to be sure. Thanks for your support, 
Rowland.

Viktor




More information about the samba mailing list