Unable to updata to 7.7 - ERROR with transaction check vs depsolve (PackageKit)

I am unable to update. I attempted via the GUI and the CLI and both fail. Any help would be greatly appreciated.

Blockquote echo ‘{“action”:“update”,“packages”:}’ | /usr/bin/sudo /usr/libexec/nethserver/api/system-packages/update | jq

pkgaction[20646]: [YumRPMCheckError] [u’ERROR with transaction check vs depsolve:', ‘PackageKit(x86-64) >= 0.5.0 is needed by (installed) gnome-packagekit-common-3.28.0-1.el7.x86_64’, ‘PackageKit(x86-64) >= 1.1.1 is needed by (installed) gnome-software-3.28.2-3.el7.x86_64’]

Blockquote yum repolist -v
Loading “auto-update-debuginfo” plugin
Loading “changelog” plugin
Loading “fastestmirror” plugin
Loading “langpacks” plugin
Loading “nethserver_events” plugin
Adding en_US.UTF-8 to language list
Config time: 0.021
Yum version: 3.4.3
rpmdb time: 0.000
Found 7 installed debuginfo package(s)
Enabling epel-debuginfo: Extra Packages for Enterprise Linux 7 - x86_64 - Debug
Loading mirror speeds from cached hostfile

Repo-id : ce-extras/7/x86_64
Repo-name : CE-Extras-7.6.1810
Repo-revision: 1580240939
Repo-updated : Tue Jan 28 14:49:00 2020
Repo-pkgs : 323
Repo-size : 436 M
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-extras&arch=x86_64&nsrelease=7.6.1810
Repo-baseurl : http://mirror.cogentco.com/pub/linux/centos/7.7.1908/extras/x86_64/ (9 more)
Repo-expire : 21,600 second(s) (last: Sun Feb 16 19:45:47 2020)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo

Repo-id : ce-sclo-rh/7/x86_64
Repo-name : CE-SCLo-rh-7.6.1810
Repo-revision: 1581586265
Repo-updated : Thu Feb 13 04:33:36 2020
Repo-pkgs : 8,958
Repo-size : 8.2 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-sclo-rh&arch=x86_64&nsrelease=7.6.1810
Repo-baseurl : http://mirror.cogentco.com/pub/linux/centos/7.7.1908/sclo/x86_64/rh/ (9 more)
Repo-expire : 21,600 second(s) (last: Sun Feb 16 19:45:48 2020)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo

Repo-id : ce-sclo-sclo/7/x86_64
Repo-name : CE-SCLo-sclo-7.6.1810
Repo-revision: 1581326088
Repo-updated : Mon Feb 10 04:14:54 2020
Repo-pkgs : 874
Repo-size : 245 M
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-sclo-sclo&arch=x86_64&nsrelease=7.6.1810
Repo-baseurl : http://mirror.cogentco.com/pub/linux/centos/7.7.1908/sclo/x86_64/sclo/ (9 more)
Repo-expire : 21,600 second(s) (last: Sun Feb 16 19:45:48 2020)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo

Repo-id : ce-updates/7/x86_64
Repo-name : CE-Updates-7.6.1810
Repo-revision: 1580947722
Repo-updated : Wed Feb 5 19:09:01 2020
Repo-pkgs : 1,446
Repo-size : 9.7 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-updates&arch=x86_64&nsrelease=7.6.1810
Repo-baseurl : http://mirror.cogentco.com/pub/linux/centos/7.7.1908/updates/x86_64/ (9 more)
Repo-expire : 21,600 second(s) (last: Sun Feb 16 19:45:48 2020)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo

Repo-id : epel/x86_64
Repo-name : Extra Packages for Enterprise Linux 7 - x86_64
Repo-revision: 1581820383
Repo-updated : Sat Feb 15 21:33:54 2020
Repo-pkgs : 13,188
Repo-size : 15 G
Repo-metalink: https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos
Updated : Sat Feb 15 21:33:54 2020
Repo-baseurl : Index of /pub/epel/7/x86_64 (51 more)
Repo-expire : 21,600 second(s) (last: Sun Feb 16 19:45:48 2020)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/epel.repo

Repo-id : epel-debuginfo/x86_64
Repo-name : Extra Packages for Enterprise Linux 7 - x86_64 - Debug
Repo-revision: 1581820158
Repo-updated : Sat Feb 15 21:29:18 2020
Repo-pkgs : 2,618
Repo-size : 10 G
Repo-metalink: https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=x86_64&infra=stock&content=centos
Updated : Sat Feb 15 21:29:18 2020
Repo-baseurl : Index of /pub/epel/7/x86_64/debug (43 more)
Repo-expire : 21,600 second(s) (last: Sun Feb 16 19:01:10 2020)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/epel.repo

Repo-id : nethforge/7/x86_64
Repo-name : NethForge 7
Repo-revision: 1581237226
Repo-updated : Sun Feb 9 03:33:49 2020
Repo-pkgs : 305
Repo-size : 835 M
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=nethforge&arch=x86_64&nsrelease=7.6.1810
Repo-baseurl : Index of /nethserver/7.7.1908/nethforge/x86_64 (18 more)
Repo-expire : 21,600 second(s) (last: Sun Feb 16 19:45:48 2020)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethForge.repo

Repo-id : nethserver-base/7/x86_64
Repo-name : NethServer-7.6.1810 - Base
Repo-revision: 1576748594
Repo-updated : Thu Dec 19 04:43:20 2019
Repo-pkgs : 347
Repo-size : 1.2 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=base&arch=x86_64&nsrelease=7.6.1810
Repo-baseurl : Index of /nethserver/7.7.1908/base/x86_64 (18 more)
Repo-expire : 21,600 second(s) (last: Sun Feb 16 19:45:48 2020)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo

Repo-id : nethserver-updates/7/x86_64
Repo-name : NethServer-7.6.1810 - Updates
Repo-revision: 1581435648
Repo-updated : Tue Feb 11 10:40:55 2020
Repo-pkgs : 488
Repo-size : 1.3 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=updates&arch=x86_64&nsrelease=7.6.1810
Repo-baseurl : Index of /nethserver/7.7.1908/updates/x86_64 (18 more)
Repo-expire : 21,600 second(s) (last: Sun Feb 16 19:45:48 2020)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo

repolist: 38,644

Blockquote yum install nethserver-subscription
Loaded plugins: auto-update-debuginfo, changelog, fastestmirror, langpacks, nethserver_events
Loading mirror speeds from cached hostfile

Dependencies Resolved

============================================================================================================================================
Package Arch Version Repository Size

Updating:
nethserver-subscription noarch 3.5.3-1.ns7 nethserver-updates 50 k
Updating for dependencies:
nethserver-subscription-ui noarch 3.5.3-1.ns7 nethserver-updates 26 k

Transaction Summary

Upgrade 1 Package (+1 Dependent package)

Total size: 76 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test

Transaction check error:
file /opt/puppetlabs/puppet/lib/ruby/2.1.0/facter/backup.rb from install of nethserver-subscription-3.5.3-1.ns7.noarch conflicts with file from package nethserver-subscription-inventory-3.5.1-1.ns7.x86_64

Error Summary

https://community.nethserver.org/t/yum-update-error-on-nethserver-release-7-7-1908/

1 Like

Thank you very much. I removed the unnecessary gnome packagekit and update with yum works now. :slight_smile:

Sometimes searching is the first line of finding solutions :slight_smile: