pike
(Michael Kicks)
October 11, 2019, 5:36pm
1
The evening brings a new error…
[root@ns76-01 ~]# yum update
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
* epel: pkg.adfinis-sygroup.ch
Resolving Dependencies
--> Running transaction check
---> Package certbot.noarch 0:0.36.0-1.el7 will be updated
---> Package certbot.noarch 0:0.38.0-1.el7 will be an update
---> Package python2-acme.noarch 0:0.36.0-1.el7 will be updated
---> Package python2-acme.noarch 0:0.38.0-1.el7 will be an update
---> Package python2-certbot.noarch 0:0.36.0-1.el7 will be updated
---> Package python2-certbot.noarch 0:0.38.0-1.el7 will be an update
--> Processing Dependency: python2-distro for package: python2-certbot-0.38.0-1. el7.noarch
---> Package python2-html2text.noarch 0:2016.9.19-1.el7 will be updated
--> Processing Dependency: html2text for package: po-debconf-1.0.20-5.el7.noarch
--> Processing Dependency: html2text for package: debhelper-11.4-2.el7.noarch
---> Package python2-html2text.noarch 0:2019.8.11-1.el7 will be an update
--> Running transaction check
---> Package python2-distro.noarch 0:1.2.0-3.el7 will be installed
---> Package python3-html2text.noarch 0:2019.8.11-1.el7 will be installed
--> Processing Dependency: python(abi) = 3.6 for package: python3-html2text-2019 .8.11-1.el7.noarch
--> Processing Dependency: /usr/bin/python3.6 for package: python3-html2text-201 9.8.11-1.el7.noarch
--> Processing Dependency: /usr/bin/python3.6 for package: python3-html2text-201 9.8.11-1.el7.noarch
--> Finished Dependency Resolution
Error: Package: python3-html2text-2019.8.11-1.el7.noarch (epel)
Requires: /usr/bin/python3.6
Error: Package: python3-html2text-2019.8.11-1.el7.noarch (epel)
Requires: python(abi) = 3.6
Installed: python-2.7.5-80.el7_6.x86_64 (@ce-updates)
python(abi) = 2.7
python(abi) = 2.7
Available: python-2.7.5-76.el7.x86_64 (ce-base)
python(abi) = 2.7
python(abi) = 2.7
Available: python-2.7.5-77.el7_6.x86_64 (ce-updates)
python(abi) = 2.7
python(abi) = 2.7
Available: python34-3.4.10-2.el7.x86_64 (epel)
python(abi) = 3.4
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Maybe a simple yum install phyton36
could solve but… i don’t know if this can mess something else. Or even… need another repo?
mark_nl
(Mark Verlinde)
October 11, 2019, 6:02pm
2
this is odd, with CentOS/Rhel 7.7.1908 they finally realized python2 and 3 live happily among each other as-long-as you handle the shebangs well. On 7.7 we get python3 without the silly epel pyhton36
and scl for python3
.
AFIAK this week nethserver switch to 7.7 so it should pull in the required dependency quite easily…
1 Like
pike
(Michael Kicks)
October 14, 2019, 1:46pm
3
7.7 still not available via updates…
giacomo
(Giacomo Sanchietti)
October 14, 2019, 2:04pm
4
Thank you for reporting, I’m going to do some tests on it.
The updates will be available from tomorrow.
giacomo
(Giacomo Sanchietti)
October 14, 2019, 2:23pm
5
Sorry but I couldn’t reproduce the problem on a NS 7.7 and I never seen it on a NS 7.6.
I don’t have htmltotext installed in any of my machine.
Could you please check what is requiring it?
rpm -q --whatrequires python2-html2text
Also certbot doesn’t require python3 at all:
[root@test squid]# rpm -qR certbot
/bin/sh
/usr/sbin/restorecon
/usr/sbin/semanage
config(certbot) = 0.38.0-1.el7
python2-certbot = 0.38.0-1.el7
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
systemd
systemd
systemd
rpmlib(PayloadIsXz) <= 5.2-1
pike
(Michael Kicks)
October 14, 2019, 2:30pm
6
Alien…
[root@ns76-01 ~]# rpm -q --whatrequires python2-html2text
no package requires python2-html2text
[root@ns76-01 ~]# yum remove python2-html2text
Loaded plugins: changelog, fastestmirror, nethserver_events
Resolving Dependencies
--> Running transaction check
---> Package python2-html2text.noarch 0:2016.9.19-1.el7 will be erased
--> Processing Dependency: html2text for package: po-debconf-1.0.20-5.el7.noarch
--> Processing Dependency: html2text for package: debhelper-11.4-2.el7.noarch
--> Running transaction check
---> Package debhelper.noarch 0:11.4-2.el7 will be erased
--> Processing Dependency: debhelper for package: alien-8.95-3.el7.noarch
---> Package po-debconf.noarch 0:1.0.20-5.el7 will be erased
--> Running transaction check
---> Package alien.noarch 0:8.95-3.el7 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
python2-html2text noarch 2016.9.19-1.el7 @epel 173 k
Removing for dependencies:
alien noarch 8.95-3.el7 @epel 223 k
debhelper noarch 11.4-2.el7 @epel 1.2 M
po-debconf noarch 1.0.20-5.el7 @epel 206 k
Transaction Summary
================================================================================
Remove 1 Package (+3 Dependent packages)
Installed size: 1.8 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : alien-8.95-3.el7.noarch 1/4
Erasing : debhelper-11.4-2.el7.noarch 2/4
Erasing : po-debconf-1.0.20-5.el7.noarch 3/4
Erasing : python2-html2text-2016.9.19-1.el7.noarch 4/4
Verifying : debhelper-11.4-2.el7.noarch 1/4
Verifying : alien-8.95-3.el7.noarch 2/4
Verifying : python2-html2text-2016.9.19-1.el7.noarch 3/4
Verifying : po-debconf-1.0.20-5.el7.noarch 4/4
Removed:
python2-html2text.noarch 0:2016.9.19-1.el7
Dependency Removed:
alien.noarch 0:8.95-3.el7 debhelper.noarch 0:11.4-2.el7
po-debconf.noarch 0:1.0.20-5.el7
Complete!
I used it for Unifi controller setup… without removing it after
https://community.nethserver.org/t/install-unify-controller-on-nethserver-7/
1 Like