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
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
On 22/09/2019 14:42, Viktor Trojanovic via samba wrote:> > 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 > >Glad you got it fixed, bit hard to understand why you got the fault in the first place, both my DCs use Louis's repo and both have upgraded to 4.10.8 without incident, the only difference is that I use Devaun instead of Ubuntu. Rowland
Hai Victor, Sorry for these, i did not know there was still one going on in the ubuntu package. These are known since 26 july.. What i need/want to know here from which version to which version did you upgrade. I'll fix that in the next update. There where 2 things going on here. - one file moved from package. (apt --fix-broken install) - The othere was due to the changes in ldb with python2 => python3 (apt-get dist-upgrade --autoremove) Run it in this order. apt-get dist-upgrade --autoremove' to upgrade all packages and remove the unneeded packages. Then run : apt --fix-broken install That fixed the file/package change and forced the overrride of the file. When im done with the 4.11, this is also fixed. I know 4.11 is taking long(er) and this is why... Just see : https://salsa.debian.org/samba-team/samba/blob/master/debian/changelog We are not done yet with some changes. When we are finished with the 4.11 packages, then the official packages are in sync with the latest settings i did use also. Doing our best here to get this up and running. So far, Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland penny via samba > Verzonden: zondag 22 september 2019 16:02 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Problem with libldb1 > > On 22/09/2019 14:42, Viktor Trojanovic via samba wrote: > > > > 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 > > > > > Glad you got it fixed, bit hard to understand why you got the > fault in > the first place, both my DCs use Louis's repo and both have > upgraded to > 4.10.8 without incident, the only difference is that I use Devaun > instead of Ubuntu. > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >