You are not logged in.

#1 2017-01-20 16:38:06

jayendra
Member
Registered: 2016-06-10
Posts: 39

[Solved]python2-setuptools breaks the system update

pacman -Syu

fails due to conflicting package python-setuptools

$ sudo pacman -Syu
[sudo] password for jay: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community                                                                                              3.7 MiB   122K/s 00:31 [#############################################################################] 100%
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: lib32-harfbuzz will be installed before its lib32-freetype2 dependency

Packages (179) accerciser-3.22.0-2  adwaita-icon-theme-3.22.0+1+g58cd459e-1  apm-1.15.2-1  atom-1.13.0-2  avahi-0.6.32-3  bind-tools-9.11.0.P2-1  boost-1.63.0-1  boost-libs-1.63.0-1  brltty-5.4-5
               cantarell-fonts-1:0.0.25-3  caribou-0.4.21+0+g36e3d0f-2  cuda-8.0.44-3  cups-2.2.2-1  cython-0.25.2-2  dconf-editor-3.22.3-1  dhcpcd-6.11.5-1  electron-1.4.15-1  epiphany-3.22.5-1
               evolution-3.22.4-1  evolution-data-server-3.22.4-1  flatpak-0.8.1-1  flex-2.6.3-1  fontconfig-2.12.1-4  foomatic-db-3:20170106-1  foomatic-db-engine-4:4.0.12-3  gcc-fortran-6.3.1-1
               gcc-libs-multilib-6.3.1-1  gcc-multilib-6.3.1-1  gdb-7.12-4  gdb-common-7.12-4  gdk-pixbuf2-2.36.4-1  gedit-3.22.0+4+g2c70ccb86-1  gegl-0.3.8-4  gitg-3.22.0-2  glade-3.20.0+19+g0aaed6fe-1
               gmp-6.1.2-1  gnome-builder-3.22.4-2  gnome-online-accounts-3.22.4-1  gnutls-3.5.8-2  gtk-update-icon-cache-3.22.7-1  gtk3-3.22.7-1  gtk3-print-backends-3.22.7-1  harfbuzz-1.4.1-1
               harfbuzz-icu-1.4.1-1  imagemagick-6.9.7.4-1  ipython-5.1.0-2  jsoncpp-1.8.0-1  lib32-dbus-1.10.14-1  lib32-fontconfig-2.12.1-4  lib32-freetype2-2.7.1-1  lib32-gcc-libs-6.3.1-1
               lib32-harfbuzz-1.4.1-1  lib32-libelf-0.168-1  lib32-mesa-13.0.3-1  lib32-mesa-libgl-13.0.3-1  lib32-zlib-1.2.11-1  libarchive-3.2.2-2  libbluray-0.9.3.r84.05c9fdec-1  libcmis-0.5.1-5
               libcups-2.2.2-1  libevdev-1.5.6-1  libgexiv2-0.10.4-4  libgit2-1:0.24.6-1  libibus-1.5.14-2  libinput-1.5.4-1  libixion-0.11.1-5  libldap-2.4.44-3  liblouis-3.0.0-2  libnewt-0.52.19-2
               libnice-0.1.13+156+g1778f79-1  libnl-3.2.29-1  liborcus-0.11.2-5  libpeas-1.20.0-2  libphonenumber-8.0.0-2  libplist-1.12-5  libpng-1.6.28-1  libpst-0.6.67-3  libpulse-10.0-2  libraw-0.18.0-1
               libreoffice-fresh-5.2.4-2  libsystemd-232-7  libtasn1-4.10-1  libteam-1.23-2  libtool-2.4.6-7  libtracker-sparql-1.10.4-1  libutil-linux-2.29-2  libuv-1.10.2-1  libvoikko-4.0.2-2  libvpx-1.6.1-1
               libwebp-0.5.2-1  libwps-0.4.5-1  libxfont2-2.0.1-1  libxkbcommon-0.7.1-1  libxkbcommon-x11-0.7.1-1  libxml2-2.9.4+12+ge905f081-4  lsb-release-1.4-14  lz4-1:1.7.5-1  m4-1.4.18-1  mesa-13.0.3-1
               mesa-libgl-13.0.3-1  minizip-1:1.2.11-1  mongodb-3.4.1-1  mpfr-3.1.5.p2-1  nano-2.7.4-1  nodejs-7.4.0-1  npm-4.1.1-1  opencv-3.1.0-7  orca-3.22.2-2  pacman-mirrorlist-20170106-1  poppler-0.51.0-1
               poppler-glib-0.51.0-1  protobuf-3.1.0-1  pulseaudio-10.0-2  pygobject-devel-3.22.0-2  pygobject2-devel-2.28.6-13  python-3.6.0-2  python-appdirs-1.4.0-5  python-atspi-2.20.3-1
               python-cairo-1.10.0-7  python-dbus-1.2.4-2  python-dbus-common-1.2.4-2  python-decorator-4.0.11-1  python-gobject-3.22.0-2  python-jedi-0.9.0-3  python-nose-1.3.7-3  python-packaging-16.8-2
               python-pexpect-4.2.1-2  python-pickleshare-0.7.4-3  python-pip-9.0.1-2  python-prompt_toolkit-1.0.9-2  python-ptyprocess-0.5.1-2  python-pygments-2.1.3-2  python-pyparsing-2.1.10-2
               python-setuptools-1:33.1.1-1  python-six-1.10.0-3  python-traitlets-4.3.1-3  python-wcwidth-0.1.7-2  python-xdg-0.25-4  python2-appdirs-1.4.0-5  python2-gobject-3.22.0-2
               python2-gobject2-2.28.6-13  python2-nose-1.3.7-3  python2-packaging-16.8-2  python2-pip-9.0.1-2  python2-pyparsing-2.1.10-2  python2-setuptools-1:33.1.1-1  python2-six-1.10.0-3  qt5-base-5.7.1-2
               qt5-webengine-5.7.1-2  reflector-2017-2  s-nail-14.8.15-1  sed-4.3-1  speech-dispatcher-0.8.6-1  sqlite-3.16.2-1  subversion-1.9.5-2  systemd-232-7  systemd-sysvcompat-232-7  tracker-1.10.4-1
               tslib-1.3-1  util-linux-2.29-2  vde2-2.3.2-9  vim-8.0.0170-1  vim-runtime-8.0.0170-1  webkit2gtk-2.14.3-1  webkitgtk-2.4.11-4  wiredtiger-2.9.1-1  xapian-core-1:1.4.2-1  xcb-proto-1.12-3
               xf86-input-evdev-2.10.5-1  xf86-input-libinput-0.23.0-1  xf86-input-synaptics-1.9.0-1  xf86-video-intel-1:2.99.917+747+g028c946d-1  xorg-fonts-misc-1.0.3-5  xorg-mkfontdir-1.0.7-7
               xorg-server-1.19.1-1  xorg-server-common-1.19.1-1  xorg-server-xwayland-1.19.1-1  zeitgeist-0.9.16-2  zlib-1:1.2.11-1

Total Installed Size:  4586.88 MiB
Net Upgrade Size:        52.49 MiB

:: Proceed with installation? [Y/n] y
(179/179) checking keys in keyring                                                                                             [#############################################################################] 100%
(179/179) checking package integrity                                                                                           [#############################################################################] 100%
(179/179) loading package files                                                                                                [#############################################################################] 100%
(179/179) checking for file conflicts                                                                                          [#############################################################################] 100%
error: failed to commit transaction (conflicting files)
python2-setuptools: /usr/lib/python2.7/site-packages/pkg_resources/__init__.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/pkg_resources/extern/__init__.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/__init__.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/archive_util.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/command/__init__.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/command/bdist_egg.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/command/bdist_wininst.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/command/build_ext.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/command/build_py.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/command/easy_install.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/command/egg_info.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/command/install.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/command/install_lib.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/command/install_scripts.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/command/py36compat.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/command/sdist.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/command/setopt.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/command/test.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/config.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/depends.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/dist.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/extension.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/extern/__init__.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/glob.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/monkey.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/msvc.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/namespaces.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/package_index.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/py26compat.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/py27compat.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/py31compat.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/sandbox.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/ssl_support.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/unicode_utils.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/version.pyc exists in filesystem
python2-setuptools: /usr/lib/python2.7/site-packages/setuptools/windows_support.pyc exists in filesystem
Errors occurred, no packages were upgraded.
$ pacman -Qo /usr/lib/python2.7/site-packages/pkg_resources/
/usr/lib/python2.7/site-packages/pkg_resources/ is owned by python2-setuptools 1:32.3.1-1
$ pacman -Qo /usr/lib/python2.7/site-packages/pkg_resources/__init__.py
/usr/lib/python2.7/site-packages/pkg_resources/__init__.py is owned by python2-setuptools 1:32.3.1

According to this https://bbs.archlinux.org/viewtopic.php … 05#p429505 I filed a bug, here
https://bugs.archlinux.org/task/52647
This got immediately closed.

What should I do now? hmm confused

Last edited by jayendra (2017-01-20 17:08:38)

Offline

#2 2017-01-20 16:40:11

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: [Solved]python2-setuptools breaks the system update

As I said when I closed it, check the wiki

Offline

#3 2017-01-20 16:43:46

jayendra
Member
Registered: 2016-06-10
Posts: 39

Re: [Solved]python2-setuptools breaks the system update

So I should flag out of date this ?
https://www.archlinux.org/packages/extr … etuptools/
which is 1:33.1.1-1 newer than
my installed version is python2-setuptools 1:32.3.1-1

Offline

#4 2017-01-20 16:44:44

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: [Solved]python2-setuptools breaks the system update

No.

Last time. Go to the wiki.

Offline

#5 2017-01-20 16:46:25

jayendra
Member
Registered: 2016-06-10
Posts: 39

Re: [Solved]python2-setuptools breaks the system update

can you write the link to the exact page?

Offline

#6 2017-01-20 16:55:35

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [Solved]python2-setuptools breaks the system update

jayendra wrote:

According to this https://bbs.archlinux.org/viewtopic.php … 05#p429505 I filed a bug, here
https://bugs.archlinux.org/task/52647
This got immediately closed.

What should I do now? hmm confused

Since you seem to be a bit clueless anyway, I will go ahead and say that you are completely and utterly wrong.

That thread told you to check if the file is owned by another package. It isn't, but a third file that pacman never told you was a problem, is indeed owned... by that package! Which is never a problem, for obvious reasons...

https://wiki.archlinux.org/index.php/Pa … 9.22_error and don't do this again, please. Opening a forum thread after your bug report was closed, is kind of inappropriate.

...

Aside: your conflict clearly shows you've been installing things with "sudo pip". Please don't do this either.

Last edited by eschwartz (2017-01-20 16:58:16)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#7 2017-01-20 16:58:41

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [Solved]python2-setuptools breaks the system update

Searching the wiki is not a difficult task. Please do not be a help vampire:

http://slash7.com/2006/12/22/vampires/


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2017-01-20 17:08:10

jayendra
Member
Registered: 2016-06-10
Posts: 39

Re: [Solved]python2-setuptools breaks the system update

ahh!! damn me things got cleared after reading troubleshooting section from https://wiki.archlinux.org/index.php/pacman

Offline

Board footer

Powered by FluxBB