You are not logged in.

#1 2012-05-14 23:57:53

chudapati09
Member
Registered: 2012-03-19
Posts: 5

[solved] I get the following error message: 'failed to commit...'

When I run

pacman -Syu

I get:

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
:: Replace procps with core/procps-ng? [Y/n] y
resolving dependencies...
looking for inter-conflicts...

Targets (56): acl-2.2.51-2  apr-1.4.6-1  attr-2.4.46-2  bash-4.2.028-1  binutils-2.22-7  coreutils-8.17-1  device-mapper-2.02.95-4  filesystem-2012.2-5  gcc-4.7.0-6  gcc-libs-4.7.0-6  geoip-1.4.8-2  geoip-database-20120501-1  git-1.7.10.2-1  glib2-2.32.2-2  gmp-5.0.5-1
              initscripts-2012.05.1-1  isl-0.09-2  java-jline-1.0-2  java-rhino-1.7R3-3  kmod-8-2  libcap-2.22-3  libjpeg-turbo-1.2.0-2  libmysqlclient-5.5.24-1  libusb-compat-0.1.4-1  libvpx-1.1.0-1  linux-firmware-20120227-2  lvm2-2.02.95-4  man-pages-3.41-1
              mdadm-3.2.3-3  mkinitcpio-0.8.8-1  mpfr-3.1.0.p10-1  mysql-5.5.24-1  mysql-clients-5.5.24-1  netcfg-2.8.2-1  nss-3.13.4-2  openssl-1.0.1.c-1  pam-1.1.5-3  php-5.4.3-1  php-fpm-5.4.3-1  php-gd-5.4.3-1  php-ldap-5.4.3-1  php-mcrypt-5.4.3-1  php-pear-5.4.3-1
              phpmyadmin-3.5.1-1  procps-3.2.8-5 [removal]  procps-ng-3.3.2-2  python-distribute-0.6.26-1  rhino-1.7R3-3  s3cmd-1.0.1-1  sqlite-3.7.12-1  sysfsutils-2.1.0-8  udev-182-2  vim-7.3.515-1  vim-runtime-7.3.515-1  xfsprogs-3.1.8-2  zlib-1.2.7-1

Total Download Size:    0.39 MiB
Total Installed Size:   442.89 MiB
Net Upgrade Size:       2.20 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
 sqlite-3.7.12-1-x86_64                                                                                                                      397.8 KiB  1104K/s 00:00 [######################################################################################################] 100%
(55/55) checking package integrity                                                                                                                                    [######################################################################################################] 100%
(55/55) loading package files                                                                                                                                         [######################################################################################################] 100%
(55/55) checking for file conflicts                                                                                                                                   [######################################################################################################] 100%
error: failed to commit transaction (conflicting files)
python-distribute: /usr/lib/python3.2/site-packages/__pycache__/pkg_resources.cpython-32.pyc exists in filesystem
python-distribute: /usr/lib/python3.2/site-packages/setuptools/__pycache__/__init__.cpython-32.pyc exists in filesystem
python-distribute: /usr/lib/python3.2/site-packages/setuptools/__pycache__/archive_util.cpython-32.pyc exists in filesystem
python-distribute: /usr/lib/python3.2/site-packages/setuptools/__pycache__/depends.cpython-32.pyc exists in filesystem
python-distribute: /usr/lib/python3.2/site-packages/setuptools/__pycache__/dist.cpython-32.pyc exists in filesystem
python-distribute: /usr/lib/python3.2/site-packages/setuptools/__pycache__/extension.cpython-32.pyc exists in filesystem
python-distribute: /usr/lib/python3.2/site-packages/setuptools/__pycache__/package_index.cpython-32.pyc exists in filesystem
python-distribute: /usr/lib/python3.2/site-packages/setuptools/__pycache__/sandbox.cpython-32.pyc exists in filesystem
python-distribute: /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/__init__.cpython-32.pyc exists in filesystem
python-distribute: /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/bdist_egg.cpython-32.pyc exists in filesystem
python-distribute: /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/build_py.cpython-32.pyc exists in filesystem
python-distribute: /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/easy_install.cpython-32.pyc exists in filesystem
python-distribute: /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/egg_info.cpython-32.pyc exists in filesystem
python-distribute: /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/install.cpython-32.pyc exists in filesystem
python-distribute: /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/install_lib.cpython-32.pyc exists in filesystem
python-distribute: /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/install_scripts.cpython-32.pyc exists in filesystem
python-distribute: /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/sdist.cpython-32.pyc exists in filesystem
Errors occurred, no packages were upgraded.

When I ran it with debugging on, I got:

ebug: returning error 31 from alpm_db_get_pkg : could not find or read package
debug: returning error 31 from alpm_db_get_pkg : could not find or read package
debug: returning error 31 from alpm_db_get_pkg : could not find or read package
debug: returning error 31 from alpm_db_get_pkg : could not find or read package
debug: returning error 31 from alpm_db_get_pkg : could not find or read package
debug: returning error 47 from _alpm_sync_commit : conflicting files

Here is a detailed version of the output with debugging on: http://pastebin.com/eieXUFAh

Last edited by chudapati09 (2012-05-15 06:03:30)

Offline

#2 2012-05-15 01:05:01

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [solved] I get the following error message: 'failed to commit...'

Did you check which package currently owns those files?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-05-15 01:46:42

chudapati09
Member
Registered: 2012-03-19
Posts: 5

Re: [solved] I get the following error message: 'failed to commit...'

Trilby wrote:

Did you check which package currently owns those files?

I got 'No Packages owns ...' for all of them.

[root@localhost]# pacman -Qo /usr/lib/python3.2/site-packages/__pycache__/pkg_resources.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/__pycache__/pkg_resources.cpython-32.pyc
[root@localhost]# pacman -Qo /usr/lib/python3.2/site-packages/setuptools/__pycache__/__init__.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/setuptools/__pycache__/__init__.cpython-32.pyc
[root@localhost]# pacman -Qo /usr/lib/python3.2/site-packages/setuptools/__pycache__/archive_util.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/setuptools/__pycache__/archive_util.cpython-32.pyc
[root@localhost]# pacman -Qo /usr/lib/python3.2/site-packages/setuptools/__pycache__/depends.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/setuptools/__pycache__/depends.cpython-32.pyc
[root@localhost]# pacman -Qo /usr/lib/python3.2/site-packages/setuptools/__pycache__/dist.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/setuptools/__pycache__/dist.cpython-32.pyc
[root@localhost]# pacman -Qo /usr/lib/python3.2/site-packages/setuptools/__pycache__/extension.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/setuptools/__pycache__/extension.cpython-32.pyc
[root@localhost]# pacman -Qo /usr/lib/python3.2/site-packages/setuptools/__pycache__/package_index.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/setuptools/__pycache__/package_index.cpython-32.pyc
[root@localhost]# pacman -Qo /usr/lib/python3.2/site-packages/setuptools/__pycache__/sandbox.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/setuptools/__pycache__/sandbox.cpython-32.pyc
[root@localhost]# pacman -Qo /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/__init__.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/__init__.cpython-32.pyc
[root@localhost]# pacman -Qo /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/bdist_egg.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/bdist_egg.cpython-32.pyc
[root@localhost]# pacman -Qo /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/build_py.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/build_py.cpython-32.pyc
[root@localhost]# pacman -Qo /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/easy_install.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/easy_install.cpython-32.pyc
[root@localhost]# pacman -Qo /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/egg_info.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/egg_info.cpython-32.pyc
[root@localhost]# pacman -Qo /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/install.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/install.cpython-32.pyc
[root@localhost]# pacman -Qo /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/install_lib.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/install_lib.cpython-32.pyc
[root@localhost]# pacman -Qo /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/install_scripts.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/install_scripts.cpython-32.pyc
[root@localhost]# pacman -Qo /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/sdist.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/setuptools/command/__pycache__/sdist.cpython-32.pyc

Offline

#4 2012-05-15 01:52:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [solved] I get the following error message: 'failed to commit...'

And .... did you follow the rest of the instructions?

EDIT: I believe I may have sounded shorter fused than was necessary.  There is an inevitable learning experience for new archers to discover just how helpful the documentation (eg wiki) really is.  Many other products, unfortunately, have crap documentation that is either hard to follow or not helpful in the end.  The arch wiki really is a wonderful source - learn to trust it and check it whenever you have concerns and a majority of those concerns/issues will be solved quickly.

Last edited by Trilby (2012-05-15 16:35:24)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2012-05-15 03:04:49

chudapati09
Member
Registered: 2012-03-19
Posts: 5

Re: [solved] I get the following error message: 'failed to commit...'

Trilby wrote:

And .... did you follow the rest of the instructions?

No I did not. Sorry about that.

The wiki explained, since the files were not owned by a specific package, I need to rename the files which were causing problems. So all I did was add ".bak" to the end of all the files that were causing problems. I did "pacman -Syu" afterwards, and everything worked, but the files, which I renamed, were still there.

Thanks Trillby for your help and guidance.

Offline

#6 2012-05-15 16:10:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] I get the following error message: 'failed to commit...'

Offline

Board footer

Powered by FluxBB