Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #242943 > unrolled thread

I'm getting a dependencies error when trying to install roundcube 1.5.1 on my bullseye machine

Started bySteve Dondley <s@dondley.com>
First post2021-12-11 05:30 +0100
Last post2021-12-11 10:20 +0100
Articles 5 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  I'm getting a dependencies error when trying to install roundcube  1.5.1 on my bullseye machine Steve Dondley <s@dondley.com> - 2021-12-11 05:30 +0100
    Re: I'm getting a dependencies error when trying to install roundcube  1.5.1 on my bullseye machine Tim Woodall <debianuser@woodall.me.uk> - 2021-12-11 06:20 +0100
      Re: I'm getting a dependencies error when trying to install roundcube  1.5.1 on my bullseye machine Steve Dondley <s@dondley.com> - 2021-12-11 06:40 +0100
        Re: I'm getting a dependencies error when trying to install roundcube  1.5.1 on my bullseye machine Tim Woodall <debianuser@woodall.me.uk> - 2021-12-11 07:10 +0100
          Re: I'm getting a dependencies error when trying to install  roundcube 1.5.1 on my bullseye machine Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-11 10:20 +0100

#242943 — I'm getting a dependencies error when trying to install roundcube 1.5.1 on my bullseye machine

FromSteve Dondley <s@dondley.com>
Date2021-12-11 05:30 +0100
SubjectI'm getting a dependencies error when trying to install roundcube 1.5.1 on my bullseye machine
Message-ID<Dt2bf-78f-1@gated-at.bofh.it>
I'm running bullseye with roundcube version 1.4.11 currently installed. 
I am trying to upgrade to version 1.5.1.

I followed the instructions at "SimpleBackportCreation" at 
https://wiki.debian.org/SimpleBackportCreation

Everything went fine until the very last step:

===========

$ sudo apt-get install ../roundcube_*_*.deb

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'roundcube' instead of 
'../roundcube_1.5.1+dfsg-1_all.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  roundcube : Depends: roundcube-core (= 1.5.1+dfsg-1) but 
1.4.11+dfsg.1-4 is to be installed
E: Unable to correct problems, you have held broken packages.

============


I tried "sudo apt-get remove roundcube" but that didn't help.

Can someone please tell me how I might resolve this?

[toc] | [next] | [standalone]


#242944

FromTim Woodall <debianuser@woodall.me.uk>
Date2021-12-11 06:20 +0100
Message-ID<Dt2XD-7DH-1@gated-at.bofh.it>
In reply to#242943
On Fri, 10 Dec 2021, Steve Dondley wrote:

> I'm running bullseye with roundcube version 1.4.11 currently installed. I am 
> trying to upgrade to version 1.5.1.
>
> I followed the instructions at "SimpleBackportCreation" at 
> https://wiki.debian.org/SimpleBackportCreation
>
> Everything went fine until the very last step:
>
> ===========
>
> $ sudo apt-get install ../roundcube_*_*.deb
>
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Note, selecting 'roundcube' instead of '../roundcube_1.5.1+dfsg-1_all.deb'
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
> roundcube : Depends: roundcube-core (= 1.5.1+dfsg-1) but 1.4.11+dfsg.1-4 is 
> to be installed
> E: Unable to correct problems, you have held broken packages.
>
> ============
>
>
> I tried "sudo apt-get remove roundcube" but that didn't help.
>
> Can someone please tell me how I might resolve this?
>
>

I've not used apt to install packages from files but can you put
../roundcube*.deb?

You need to install both roundcube and roundcube-core from your local
build.

If mt first suggestion doesn't work, try installing roundcube-core
first.

If you haven't built roundcube-core then you need to do that first.

Not sure why you used this pattern:
> $ sudo apt-get install ../roundcube_*_*.deb
but
> $ sudo apt-get install ../roundcube-core_*_*.deb
matches for roundcube-core

[toc] | [prev] | [next] | [standalone]


#242946

FromSteve Dondley <s@dondley.com>
Date2021-12-11 06:40 +0100
Message-ID<Dt3gZ-7OO-1@gated-at.bofh.it>
In reply to#242944
>> 
> 
> I've not used apt to install packages from files but can you put
> ../roundcube*.deb?
> 
> You need to install both roundcube and roundcube-core from your local
> build.
> 
> If mt first suggestion doesn't work, try installing roundcube-core
> first.
> 
> If you haven't built roundcube-core then you need to do that first.
> 
> Not sure why you used this pattern:
>> $ sudo apt-get install ../roundcube_*_*.deb
> but
>> $ sudo apt-get install ../roundcube-core_*_*.deb
> matches for roundcube-core

Thanks but I just figured it out literally 30 seconds ago. Had to do the 
following:

1) Get a list of all roundcube pacakges:

dpkg -l | grep roundcube

2) For each of the older, uwanted packages, do:

sudo apt-get remove <package_name>

3) Now, to install roundcube, you first have to install roundcube-core 
.deb package first. So the command given in the tutorial won't work. But 
you can't install roundcube-core until you install its dependencies:

sudo apt-get install ../roundcube-mysql_*_*.deb
sudo apt-get install ../roundcube-sqlite3_*_*.deb
sudo apt-get install ../roundcube-pgsql_*_*.deb

Note that above commands assume you are in the directory that the 
tutorial places you into.


4) No you can install roundcube-core

sudo apt-get install ../roundcube-core_*_*.deb

5) And now you can install the plain ol' "roundcube" package:

sudo apt-get install ../roundcube_*_*.deb

6) Finally, install the other misc. package:

sudo apt-get install ../roundcube-plugins_*_*.deb

[toc] | [prev] | [next] | [standalone]


#242948

FromTim Woodall <debianuser@woodall.me.uk>
Date2021-12-11 07:10 +0100
Message-ID<Dt3K1-8e1-1@gated-at.bofh.it>
In reply to#242946
On Sat, 11 Dec 2021, Steve Dondley wrote:

>
>>> 
>> 
>> I've not used apt to install packages from files but can you put
>> ../roundcube*.deb?
>> 
>> You need to install both roundcube and roundcube-core from your local
>> build.
>> 
>> If mt first suggestion doesn't work, try installing roundcube-core
>> first.
>> 
>> If you haven't built roundcube-core then you need to do that first.
>> 
>> Not sure why you used this pattern:
>>> $ sudo apt-get install ../roundcube_*_*.deb
>> but
>>> $ sudo apt-get install ../roundcube-core_*_*.deb
>> matches for roundcube-core
>
> Thanks but I just figured it out literally 30 seconds ago. Had to do the 
> following:
>
> 1) Get a list of all roundcube pacakges:
>
> dpkg -l | grep roundcube
>
> 2) For each of the older, uwanted packages, do:
>
> sudo apt-get remove <package_name>
>
> 3) Now, to install roundcube, you first have to install roundcube-core .deb 
> package first. So the command given in the tutorial won't work. But you can't 
> install roundcube-core until you install its dependencies:
>
> sudo apt-get install ../roundcube-mysql_*_*.deb
> sudo apt-get install ../roundcube-sqlite3_*_*.deb
> sudo apt-get install ../roundcube-pgsql_*_*.deb
>
> Note that above commands assume you are in the directory that the tutorial 
> places you into.
>
>
> 4) No you can install roundcube-core
>
> sudo apt-get install ../roundcube-core_*_*.deb
>
> 5) And now you can install the plain ol' "roundcube" package:
>
> sudo apt-get install ../roundcube_*_*.deb
>
> 6) Finally, install the other misc. package:
>
> sudo apt-get install ../roundcube-plugins_*_*.deb
>
>
apt-get autoremove roundcube might have removed the dependencies.

You might want to apt-mark auto the dependencies, currently they're set
to manual.

And I'd create a local repo to hold the packages using apt-ftparchive -
then, in future, all you'd need to do is update the repo and do apt-get
upgrade to update the roundcube version after you'd built it.

Tim

[toc] | [prev] | [next] | [standalone]


#242959 — Re: I'm getting a dependencies error when trying to install roundcube 1.5.1 on my bullseye machine

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2021-12-11 10:20 +0100
SubjectRe: I'm getting a dependencies error when trying to install roundcube 1.5.1 on my bullseye machine
Message-ID<Dt6HT-1w3-1@gated-at.bofh.it>
In reply to#242948

[Multipart message — attachments visible in raw view] — view raw

On Sb, 11 dec 21, 06:04:09, Tim Woodall wrote:
> On Sat, 11 Dec 2021, Steve Dondley wrote:
> 
> > > I've not used apt to install packages from files but can you put
> > > ../roundcube*.deb?

Yes, that would have worked.
 
> > Thanks but I just figured it out literally 30 seconds ago. Had to do the
> > following:
 
[...]
 
> You might want to apt-mark auto the dependencies, currently they're set
> to manual.

+1

> And I'd create a local repo to hold the packages using apt-ftparchive -
> then, in future, all you'd need to do is update the repo and do apt-get
> upgrade to update the roundcube version after you'd built it.

+1

I've also seen reprepro suggested for local repositories, though it's 
probably overkill just for a few packages.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web