[pacman-dev] Long functions and other minor fixes
I've refactored _alpm_checkconflicts, but there appears to be something slightly off. With a normal cvs build of pacman3, trying to install sonata-svn with normal sonata produces this: loading package data... done.checking dependencies... :: sonata-svn conflicts with sonata. Remove sonata? [Y/n] y error: failed to prepare transaction (conflicting dependencies) :: sonata-svn: conflicts with sonata But with my patch: loading package data... done.checking dependencies... done. checking for file conflicts (1/1) [###############################################################] 100% error: failed to prepare transaction (conflicting files) sonata-svn: /usr/bin/sonata exists in filesystemsonata-svn: /usr/lib/python2.4/site-packages/mmkeys.so exists in filesystemsonata-svn: /usr/lib/python2.4/site-packages/mpdclient3.py exists in filesystemsonata-svn: /usr/lib/python2.4/site-packages/mpdclient3.pyc exists in filesystemsonata-svn: /usr/lib/python2.4/site-packages/sonata.py exists in filesystemsonata-svn: /usr/lib/python2.4/site-packages/sonata.pyc exists in filesystemsonata-svn: /usr/share/applications/sonata.desktop exists in filesystemsonata-svn: /usr/share/locale/de/LC_MESSAGES/sonata.mo exists in filesystemsonata-svn: /usr/share/locale/fr/LC_MESSAGES/sonata.mo exists in filesystemsonata-svn: /usr/share/locale/pl/LC_MESSAGES/sonata.mo exists in filesystemsonata-svn: /usr/share/locale/ru/LC_MESSAGES/sonata.mo exists in filesystemsonata-svn: /usr/share/pixmaps/sonata.png exists in filesystemsonata-svn: /usr/share/pixmaps/sonatacd.png exists in filesystemsonata-svn: /usr/share/pixmaps/sonatacd_large.png exists in filesystemsonata-svn: /usr/share/sonata/CHANGELOG exists in filesystemsonata-svn: /usr/share/sonata/README exists in filesystemsonata-svn: /usr/share/sonata/TODO exists in filesystemsonata-svn: /usr/share/sonata/TRANSLATORS exists in filesystem errors occurred, no packages were upgraded. As you can see it flipped out, but even with the normal pacman3 it still fails to install. Both were executed with: sudo ./pacman.static -A /var/abs/local/sonata-svn/sonata-svn-246-1.pkg.tar.gz Using -U instead of -A yields the same results. So below is the patch for you guys to look over and see what might be screwing this up (cause I have no idea). ~ Jamie / yankees26
participants (1)
-
James Rosten