Ubuntu 20.04.1 LTS: cluster ssh 4.14.1 resolve_names not found

Asked by Jürgen Mählmann

error during host_add:

Tk::Error: Can't locate object method "resolve_names" via package "App::ClusterSSH::Window" at /usr/lib/perl5/vendor_perl/5.28.1/App/ClusterSSH/Window/Tk.pm line 357.
 App::ClusterSSH::Window::Tk::add_host_by_name at /usr/lib/perl5/vendor_perl/5.28.1/App/ClusterSSH/Window/Tk.pm line 357
 App::ClusterSSH::Window::Tk::__ANON__ at /usr/lib/perl5/vendor_perl/5.28.1/App/ClusterSSH/Window/Tk.pm line 1746
 Tk callback for .#menu.#menu#hosts
 Tk::__ANON__ at /usr/lib/perl5/vendor_perl/5.28.1/x86_64-linux-thread-multi/Tk.pm line 251
 Tk::Menu::Invoke at /usr/lib/perl5/vendor_perl/5.28.1/x86_64-linux-thread-multi/Tk/Menu.pm line 532

there is a version clusterssh 14.4.2, but not available on archives.ubuntu.

manually downloaded clusterssh_4.16-1_all.deb (http://archive.ubuntu.com/ubuntu/pool/universe/c/clusterssh/clusterssh_4.16-1_all.deb) and added package by:

dpkg -i clusterssh_4.16-1_all.deb

Error resolved, no additionals found.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Why did you manually download it? You can run:

sudo apt update
sudo apt install clusterssh

and it will install. If you run this, does it help? What is the output of of the above command. Also please add the output of:

apt-cache policy clusterssh

Thanks

Revision history for this message
Jürgen Mählmann (jmaehlmann) said :
#2

sudo su - and
apt --reinstall install clusterssh did not fix the error.

root@jubux:~# apt-cache policy clusterssh
clusterssh:
  Installiert: 4.16-1
  Installationskandidat: 4.16-1
  Versionstabelle:
 *** 4.16-1 100
        100 /var/lib/dpkg/status
     4.14-1 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu focal/universe i386 Packages
root@jubux:~#

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3

Additional information and warning:

clusterssh version 4.16-1 is for Ubuntu groovy (the development version 20.10).

What you did (manual installation of a package for a different Ubuntu release) can work, but may also fail miserably, breaking important functions in your Ubuntu system.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Try:

sudo apt-get --purge remove clusterssh
sudo apt clean
sudo apt update
sudo apt install clusterssh

Does it run OK now?

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

According to https://github.com/duncs/clusterssh/issues/123 the main difference between versions 1.14-1 and 1.16-1 is just the fix for the "resolve_names" problem.

So one can expect that after reverting back to the version in Ubuntu focal (with actionparsnip's commands) the program will stop working again.

The best way forward would be creating a bug report with a reference to the github issue, and requesting that version 1.16-1 is backported to Ubuntu focal or a SRU is made for focal with that version. (Remark: 1.16.1 is already available in Debian testing and unstable).

Revision history for this message
Jürgen Mählmann (jmaehlmann) said :
#7

hi, sorry for to bother you, but i first looked up the dependencies. As there are no changes in dep. for actual os, just subdirs for clusterssh, i installed the new package manually.

I tried to find a way to add this information and the possible solution, as i have to use "official" sources. I can't use the bug-tool and this was for me the quickest way to react ;-)

I would appreciate, if you could add the information to bugtrack for clusterssh 14.4.1 as already found by google, but not at ubuntu-side(s).

kind regards, Jürgen

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

Please start the bug reporting process with the command

ubuntu-bug clusterssh

or - if that does not work - then just press the "Create bug report" button on this question page to initiate the process.