LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-13-2022, 04:03 PM   #1
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Rep: Reputation: 51
Question I want to use bzr-explorer in Debian 11. How to install it?


I want to use bzr-explorer in Debian 11. How to install it?

bzr-explorer is a GUI for dealing with bazaar repositories. I downloaded its source from https://launchpad.net/bzr-explorer/1.1/1.1.1 , and now i am trying to compile and install it.

First, i checked the REAME file, which says:

Quote:
Dependencies
------------

Required packages are:

* Python 2.4 or later
* Bazaar 2.1 or later.
* QBzr 0.18 or later.
* PyQt4/Qt4 version 4.4 or later.

If you wish to use the applets provided via bzr-gtk, it should be
installed as well.

Testing
-------

To test the plugin after installation:

bzr selftest explorer
For this testing command, i received the error:

Code:
$ bzr selftest explorer
brz: ERROR: tests not available. Install the
 python-breezy.tests package to run the breezy testsuite.
And this is where i am lost: python-breezy.tests package.

I searched for it in Debian page:

https://packages.debian.org/search?k...ll&section=all

Downloaded the strech version of it:

https://packages.debian.org/stretch-...n-breezy.tests

And then tried to install it, but look at these errors:

Code:
# dpkg -i python-breezy_3.0.0~bzr7210-3~bpo9+1_amd64.deb
(Reading database ... 359691 files and directories
 currently installed.)
Preparing to unpack
 python-breezy_3.0.0~bzr7210-3~bpo9+1_amd64.deb ...
Unpacking python-breezy (3.0.0~bzr7210-3~bpo9+1)
 over (3.0.0~bzr7210-3~bpo9+1) ...
dpkg: dependency problems prevent configuration of
 python-breezy:
 python-breezy depends on python-configobj; however:
  Package python-configobj is not installed.
 python-breezy depends on python (<< 2.8); however:
  Package python is not installed.
 python-breezy depends on python (>= 2.7~); however:
  Package python is not installed.
 python-breezy depends on python:any (<< 2.8); however:
  Package python is not installed.
 python-breezy depends on python:any (>= 2.7.5-5~); however:
  Package python is not installed.

dpkg: error processing package python-breezy (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-breezy
It does not make sense to me. I have python 2.7. Look what happens and is suggested when i type "pyt<TAB><TAB>" in my command line:

Code:
$  python
python2           python2-config    python3.9-config  
python2.7         python3           python3-config    
python2.7-config  python3.9         python3-wsdump
Using aptitude, I looked all the packages containing "python" in their name, but found nothing mising. I even had libpython2-dev installed.

Last edited by dedec0; 03-13-2022 at 06:11 PM. Reason: Changed title and post: my computer has Debian 11, not 10, as i wrong thought and said
 
Old 03-13-2022, 04:22 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,637

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by dedec0 View Post
I want to use bzr-explorer in Debian 10. How to install it? bzr-explorer is a GUI for dealing with bazaar repositories. I downloaded its source from https://launchpad.net/bzr-explorer/1.1/1.1.1 , and now i am trying to compile and install it. First, i checked the REAME file, which says:
Code:
Dependencies
------------

Required packages are:

* Python 2.4 or later
* Bazaar 2.1 or later.
* QBzr 0.18 or later.
* PyQt4/Qt4 version 4.4 or later.

If you wish to use the applets provided via bzr-gtk, it should be
installed as well.

Testing
-------
To test the plugin after installation:

bzr selftest explorer
For this testing command, i received the error:
Code:
$ bzr selftest explorer
brz: ERROR: tests not available. Install the
 python-breezy.tests package to run the breezy testsuite.
And this is where i am lost: python-breezy.tests package. I searched for it in Debian page:
https://packages.debian.org/search?k...ll&section=all

Downloaded the strech version of it:
https://packages.debian.org/stretch-...n-breezy.tests

And then tried to install it, but look at these errors:
Code:
# dpkg -i python-breezy_3.0.0~bzr7210-3~bpo9+1_amd64.deb
(Reading database ... 359691 files and directories
 currently installed.)
Preparing to unpack
 python-breezy_3.0.0~bzr7210-3~bpo9+1_amd64.deb ...
Unpacking python-breezy (3.0.0~bzr7210-3~bpo9+1)
 over (3.0.0~bzr7210-3~bpo9+1) ...
dpkg: dependency problems prevent configuration of
 python-breezy:
 python-breezy depends on python-configobj; however:
  Package python-configobj is not installed.
 python-breezy depends on python (<< 2.8); however:
  Package python is not installed.
 python-breezy depends on python (>= 2.7~); however:
  Package python is not installed.
 python-breezy depends on python:any (<< 2.8); however:
  Package python is not installed.
 python-breezy depends on python:any (>= 2.7.5-5~); however:
  Package python is not installed.

dpkg: error processing package python-breezy (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-breezy
It does not make sense to me. I have python 2.7. Look what happens and is suggested when i type "pyt<TAB><TAB>" in my command line:
Code:
$  python
python2           python2-config    python3.9-config  
python2.7         python3           python3-config    
python2.7-config  python3.9         python3-wsdump
Using aptitude, I looked all the packages containing "python" in their name, but found nothing mising. I even had libpython2-dev installed.
It says version 2.7.5-5 of Python...what's yours? And what's first in your path, since you have 2.7 and 3.9 installed?? And why don't you just install the package for Debian??
https://debian.pkgs.org/10/debian-ma...2_all.deb.html
 
Old 03-13-2022, 04:37 PM   #3
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by TB0ne View Post
It says version 2.7.5-5 of Python...what's yours? And what's first in your path, since you have 2.7 and 3.9 installed??
Code:
$  python2 --version
Python 2.7.18
I do not know how to answer the second question.

Quote:
Originally Posted by TB0ne View Post
And why don't you just install the package for Debian??
https://debian.pkgs.org/10/debian-ma...2_all.deb.html
I cannot find any "bzr-explorer" with aptitude or synaptic. Why? My sources.list is:

Code:
deb http://deb.debian.org/debian/ bullseye
 non-free contrib main 
deb-src http://deb.debian.org/debian/ bullseye
 non-free contrib main 

deb https://deb.debian.org/debian-security/
 bullseye-security non-free contrib main 
deb-src https://deb.debian.org/debian-security/
 bullseye-security non-free contrib main 

deb http://deb.debian.org/debian/ bullseye-updates
 non-free contrib main 
deb-src http://deb.debian.org/debian/ bullseye-updates
 non-free contrib main

Last edited by dedec0; 03-13-2022 at 04:40 PM.
 
Old 03-13-2022, 04:51 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,637

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by dedec0 View Post
Code:
$  python2 --version
Python 2.7.18
I do not know how to answer the second question.
Probably should find out...why do you have two versions of Python installed??
Quote:
I cannot find any "bzr-explorer" with aptitude or synaptic. Why? My sources.list is:
Code:
deb http://deb.debian.org/debian/ bullseye
 non-free contrib main 
deb-src http://deb.debian.org/debian/ bullseye
 non-free contrib main 

deb https://deb.debian.org/debian-security/
 bullseye-security non-free contrib main 
deb-src https://deb.debian.org/debian-security/
 bullseye-security non-free contrib main 

deb http://deb.debian.org/debian/ bullseye-updates
 non-free contrib main 
deb-src http://deb.debian.org/debian/ bullseye-updates
 non-free contrib main
You were given a link directly to the Debian package for the Debian 10 you said you were using....so why do you have Debian 11 repositories?
 
Old 03-13-2022, 04:57 PM   #5
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by TB0ne View Post
Probably should find out...why do you have two versions of Python installed??

You were given a link directly to the Debian package for the Debian 10 you said you were using....so why do you have Debian 11 repositories?
I do not know.

I said i am using Debian 10 because this is what is currently written in my motd file:

Code:
$  cat /etc/motd
motd                  motd.debian9.stretch  motd.original
$  cat /etc/motd
Debian 10 = Bullseye
I find it hard to always remember the names for distributions, and which version they correspond. So, i write them in my motd file, and check it, when needed. And that is how i left it, the last time i upgraded distribution in this computer.
 
Old 03-13-2022, 05:03 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,637

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by dedec0 View Post
I do not know.
I said i am using Debian 10 because this is what is currently written in my motd file:

Code:
$  cat /etc/motd
motd                  motd.debian9.stretch  motd.original
$  cat /etc/motd
Debian 10 = Bullseye
I find it hard to always remember the names for distributions, and which version they correspond. So, i write them in my motd file, and check it, when needed. And that is how i left it, the last time i upgraded distribution in this computer.
So you say you're using Debian 10, have Debian 11 repositories enabled, and you (apparently) have two different files of the *EXACT SAME NAME*, saying both Debian 9 and Debian 10.

Sorry...not much I can guess at given all this. You started by saying Debian 10, and I gave you a package/install instructions for that. Past that, you're going to have to figure out why you have two versions of Python, which is first in your path, and get the dependencies installed before you can compile from source.
 
Old 03-13-2022, 05:32 PM   #7
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,604

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
Bullseye is Debian 11.
Buster is Debian 10.

https://packages.debian.org/search?keywords=bzr-explorer

bzr-explorer 1.3.0-2 is available for Debian 10.

It is not available in Debian 11.

Trying to install v1.1.1 in either Debian 10 or 11 makes no sense.

What is the output of "apt search bzr gui" ?

 
2 members found this post helpful.
Old 03-13-2022, 05:33 PM   #8
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Now, I checked with lsb_release:

Code:
#   lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye
I made an error with my own version keeping. The other motd* file does not matter. They are there just as a history of what i had there in other moments. I changed the current /etc/motd to be:

Code:
Debian 11 = Bullseye
I have Debian 11 repositories enabled because i upgraded to it, some time ago (i assume). It was with the help of this forum, in an older thread:

https://www.linuxquestions.org/quest...on-4175700202/

'python2' and 'python3' are on the same folder:

Code:
$ whereis python2
python2: /usr/bin/python2.7 /usr/bin/python2.7-config
 /usr/bin/python2 /usr/lib/python2.7 /etc/python2.7
 /usr/local/lib/python2.7 /usr/include/python2.7
 /usr/share/man/man1/python2.1.gz
$ whereis python3
python3: /usr/bin/python3.9 /usr/bin/python3
 /usr/bin/python3.9-config /usr/lib/python3.9
 /usr/lib/python3 /etc/python3.5 /etc/python3.9
 /etc/python3 /etc/python3.7 /usr/local/lib/python3.5
 /usr/local/lib/python3.9 /usr/include/python3.9
 /usr/include/python3.9m /usr/share/python3
 /usr/share/man/man1/python3.1.gz
Since they are in the same folder, python2 should be found first (i guess). But it is very strange what i just found: the package named just 'python' is not installed. And when i ask it to be installed, this error is given to me in synaptic:

"python:

The package python has no available version, but exists in the database.
This typically means the package was mentioned in some dependency but was never put in the repository, was obsoleted or is not available with the current data of file sources.list."

Why i have both versions... i think that this is normal. It happened without me doing anything for it, i think. The package installing programs do not complain about any problem within all the packages installed, so, i think there is no conflict of files between them.
 
Old 03-13-2022, 05:40 PM   #9
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by boughtonp View Post
Bullseye is Debian 11.
Buster is Debian 10.

https://packages.debian.org/search?keywords=bzr-explorer

bzr-explorer 1.3.0-2 is available for Debian 10.

It is not available in Debian 11.

Trying to install v1.1.1 in either Debian 10 or 11 makes no sense.

What is the output of "apt search bzr gui" ?
In the opening post, i had a wrong motd file. My Debian version is 11, bullseye.

Code:
#  apt search bzr gui 
Sorting... Done
Full Text Search... Done
#
 
Old 03-13-2022, 05:54 PM   #10
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,604

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547

Apparently Bazaar was replaced by Breezy, but nobody has bothered to update the GUIs.

I've no idea if that's a big task or a small one.

Your best best is probably to ask on the Bazaar mailing list.

 
1 members found this post helpful.
Old 03-13-2022, 05:57 PM   #11
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Thumbs up

Quote:
Originally Posted by boughtonp View Post
Apparently Bazaar was replaced by Breezy, but nobody has bothered to update the GUIs.

I've no idea if that's a big task or a small one.

Your best best is probably to ask on the Bazaar mailing list.
Thank you for the help and information. I will write there. Have a nice weekend end.

Last edited by dedec0; 03-13-2022 at 06:27 PM.
 
Old 03-13-2022, 06:28 PM   #12
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Arrow About the help in Bazaar mailing list

If i receive anything useful there, i make a post here about it.

(Sadly, thread starters cannot receive reputation in those threads, right?)

Last edited by dedec0; 03-13-2022 at 06:35 PM.
 
Old 03-13-2022, 08:19 PM   #13
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Post The answer i received in Bazaar mailing list

The answer i received in Bazaar mailing list:

Quote:

On Sun, Mar 13, 2022 at 08:20:31PM -0300, Dedeco Balaco wrote:

> I want to use bzr-explorer in Debian 11. How to install it?

The short answer is unfortunately that that isn't possible.

> I opened a tread in linuxquestion.org about it, but in the end, users
> there told me that:
>
> 1. Apparently Bazaar was replaced by Breezy
> <https://www.breezy-vcs.org/>, but nobody has bothered to update the GUIs.

QBzr has been ported to Breezy, and can found at
https://launchpad.net/qbrz and in Debian.

The other GUIs have indeed not been ported.

> 2. bzr-explorer 1.3.0-2 is available for Debian 10. It is not available
> in Debian 11.
>
> I have bazaar installed here (the command is 'bzr', actually). I would
> like to have bzr-explorer. I would like to understand the existence of
> breezy X bazaar.

/usr/share/doc/bzr/NEWS.Debian.gz on your system should have details, but I'll also
include it here:

bzr (2.7.0+bzr6622+brz) unstable; urgency=medium

Bazaar has been replaced in Debian with Breezy. Breezy is a friendly fork
of Bazaar that is actively maintained and has been ported from Python 2 to
Python 3.

The command-line interface for Breezy is backwards-compatible with Bazaars, and
it provides the ``bzr'' command for convenience. Breezy will also read
its configuration from ~/.bazaar, if present.

Third-party plugins that worked with Bazaar will almost certainly not work
with Breezy but can be ported with some effort.

-- Jelmer Vernooij <jelmer@debian.org> Sun, 24 Feb 2019 02:27:11 +0000

> It does not take much time to read the thread i mentioned. I will not
> copy more details from there. But reading it all can be useful, anyway:
>
> https://www.linuxquestions.org/quest...71#post6337971
>
> Can you help me?

Unfortunately bzr-explorer hasn't been ported to Breezy. Until
somebody does so, you won't be able to use it with Breezy.

Bazaar is no longer packaged for modern versions of Debian (the "bzr"
package is merely a shim that installs Breezy), since it only supports
Python 2 which is no longer suppored on Debian.

The Breezy developers have no plans to port bzr-explorer to Breezy.
Though if somebody were interested in porting it, we could probably
provide guidance on the API, etc.

The only ways to still run bzr-explorer, would be to either stick
with an older version of Debian or to install older packages
(from an older Debian) of Python, Bazaar, qt, pyqt, qbzr and bzr-explorer
on Debian 11 - which may or may not work.

Cheers,

Jelmer

--
Jelmer Vernooij <jelmer@jelmer.uk>
PGP Key: https://www.jelmer.uk/D729A457.asc
So, all this said, I will try everything with breezy, now.
 
1 members found this post helpful.
Old 03-13-2022, 10:34 PM   #14
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,141

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
I know snap, flatpak, and appimage packages aren't the most popular idea for some folks. Might be the ideal solution here.

I hacked out this Docker container if your interested. It will work for now I think while you sort something out. Not ideal, but it seems to work. The program loads anyway.

https://gitlab.com/jmgibson1981/home...er/bzrexplorer

Last edited by jmgibson1981; 03-13-2022 at 10:46 PM.
 
1 members found this post helpful.
Old 03-14-2022, 06:38 AM   #15
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Smile

Quote:
Originally Posted by jmgibson1981 View Post
I know snap, flatpak, and appimage packages aren't the most popular idea for some folks. Might be the ideal solution here.

I hacked out this Docker container if your interested. It will work for now I think while you sort something out. Not ideal, but it seems to work. The program loads anyway.

https://gitlab.com/jmgibson1981/home...er/bzrexplorer
Thank you very much, jmgibson! I will try it now. (:
 
  


Reply

Tags
bazaar, bzr, debian



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bzr - rebase of separate branches eantoranz Programming 0 05-24-2012 04:44 PM
bzr / precise - how to override plugins path for an alternate installation of bzr? eantoranz Linux - Software 0 05-09-2012 09:47 AM
bzr-svn problem RudraB Linux - Software 1 01-20-2011 02:40 AM
Initializing a Bzr branch on multiple computers Kenny_Strawn Programming 1 04-03-2010 05:21 AM
bzr: Merging a project into another eantoranz Linux - Software 0 07-21-2008 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration