You are not logged in.
Hi,
after trying to update the system with pacman -Syu I get this:
Proceed with installation? [Y/n] y
(40/40) checking package integrity [######################################] 100%
(40/40) checking for file conflicts [######################################] 100%
error: failed to commit transaction (conflicting files)
wicd: /usr/lib/python2.7/site-packages/wicd/__init__.pyo exists in filesystem
wicd: /usr/lib/python2.7/site-packages/wicd/backend.pyo exists in filesystem
wicd: /usr/lib/python2.7/site-packages/wicd/configmanager.pyo exists in filesystem
wicd: /usr/lib/python2.7/site-packages/wicd/dbusmanager.pyo exists in filesystem
wicd: /usr/lib/python2.7/site-packages/wicd/logfile.pyo exists in filesystem
wicd: /usr/lib/python2.7/site-packages/wicd/misc.pyo exists in filesystem
wicd: /usr/lib/python2.7/site-packages/wicd/networking.pyo exists in filesystem
wicd: /usr/lib/python2.7/site-packages/wicd/wnettools.pyo exists in filesystem
wicd: /usr/lib/python2.7/site-packages/wicd/wpath.pyo exists in filesystem
Errors occurred, no packages were upgraded.
I'm not sure what to do.. Should I remove these files or not?
Any hint is appriciated.
thank you
Last edited by pootzko (2011-05-13 08:44:24)
...I put on my robe and a wizard hat...
Offline
afaik you could a) delete/move those files or b) force install
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
You could always do "pacman -Qo /path/to/file" to see if a package own that file
Offline
I did a force install and am online to tell the tale
Offline
I am getting the same error message as the pootzko but when I try to rm the files I get an error message saying so such file exsists.
[kage@kage_laptop ~]$ sudo rm /usr/lib/python2.7/site-packages/wicd/backend.pyo
Password:
rm: cannot remove `/usr/lib/python2.7/site-packages/wicd/backend.pyo': No such file or directory
[kage@kage_laptop ~]$
The file also doesnt belong to anything according the pacman.
Offline
For my own, i've desinstalled wicd and wicd-gtk with -R, then reinstalled them with -S...
All went fine.
Offline
For my own, i've desinstalled wicd and wicd-gtk with -R, then reinstalled them with -S...
All went fine.
Ended up doing that. Worked fine. Cheers.
Offline
The wicd package now contains these files (.pyo), so that pacman removes them if wicd is uninstalled (this wasn't the case before). So it's safe to force the update of the wicd package and let pacman overwrite these files with tha files from the package.
Offline
Kewl Beanz I thought I was the only one ..... all alone in my existential dilemma . Lol....Ok so force install.. Thanks guys >
It belongs to the imperfection of everything human that man can only attain his desire by passing through its opposite.
Offline
I did a force install and am online to tell the tale
Me too, on the laptop as well as the desktop
Rauchen verboten
Offline
Oh my G~d my computer broke listening to your advice! J/k alls well , everything went smoothly...........so far .
It belongs to the imperfection of everything human that man can only attain his desire by passing through its opposite.
Offline
I did a force install and am online to tell the tale
just done, everything ok
Offline
ditto. Forced update of wicd and wicd-gtk with pacman -Sf, works fine now.
"If we knew what it was we were doing, it would not be called research, would it?" -Albert Einstein
Offline
While --force does work nicely in this case, passing --force while doing a `pacman -Su` is not a good idea. I'd recommend doing`pacman -Sf wicd && pacman -Su` or `rm -f /usr/lib/python2.7/site-packages/wicd/*.pyo && pacman -Su` in this case.
This silver ladybug at line 28...
Offline
Forced update for wicd worked well for me. Not needed for wicd-gtk.
Offline
This was a scary surprise when I did an -Syu, since the conflict dealt with official repo packages, not something from the AUR. What I did was remove wicd/wicd-gtk (and its depedencies) with -Rs, re-run -Syu with a wired connection manually configured with ifconfig, and finally reinstalled wicd/wicd-gtk on this wired connection. No conflicting files the second time around. All is well again. I'm sure the force install method (-Sf) might have been easier, but I did not see this thread at the time.
This was weird.
Offline
So then i assume this leftover junk in python2.6 is safe to remove too?
ray:~ $ lla -R /usr/lib/python2.6/
/usr/lib/python2.6/:
total 140
drwxr-xr-x 3 root root 20480 Oct 23 00:02 ./
drwxr-xr-x 131 root root 114688 Apr 20 02:55 ../
drwxr-xr-x 3 root root 4096 Nov 10 07:35 site-packages/
/usr/lib/python2.6/site-packages:
total 28
drwxr-xr-x 3 root root 4096 Nov 10 07:35 ./
drwxr-xr-x 3 root root 20480 Oct 23 00:02 ../
drwxr-xr-x 2 root root 4096 Oct 23 00:02 wicd/
/usr/lib/python2.6/site-packages/wicd:
total 152
drwxr-xr-x 2 root root 4096 Oct 23 00:02 ./
drwxr-xr-x 3 root root 4096 Nov 10 07:35 ../
-rw-r--r-- 1 root root 4571 Apr 30 2010 backend.pyo
-rw-r--r-- 1 root root 7164 Apr 30 2010 configmanager.pyo
-rw-r--r-- 1 root root 3586 Apr 30 2010 dbusmanager.pyo
-rw-r--r-- 1 root root 136 Apr 30 2010 __init__.pyo
-rw-r--r-- 1 root root 6904 Apr 30 2010 logfile.pyo
-rw-r--r-- 1 root root 17962 Apr 30 2010 misc.pyo
-rw-r--r-- 1 root root 40339 Jun 29 2010 networking.pyo
-rw-r--r-- 1 root root 48901 Apr 30 2010 wnettools.pyo
-rw-r--r-- 1 root root 2958 Jun 29 2010 wpath.pyo
Offline
So then i assume this leftover junk in python2.6 is safe to remove too?
What version of wicd do you have? It shouldn't have used python2.6 for a long time. Make sure you have the current version of wicd and your mirrors are up to date.
Offline
I have the same python 2.6 files:
$ ls -l /usr/lib/python2.6/site-packages/wicd/
total 160K
-rw-r--r-- 1 root root 4.5K Jan 22 2010 backend.pyo
-rw-r--r-- 1 root root 7.0K Jan 22 2010 configmanager.pyo
-rw-r--r-- 1 root root 3.6K Jan 22 2010 dbusmanager.pyo
-rw-r--r-- 1 root root 136 Jan 22 2010 __init__.pyo
-rw-r--r-- 1 root root 6.8K Jan 22 2010 logfile.pyo
-rw-r--r-- 1 root root 18K Jan 22 2010 misc.pyo
-rw-r--r-- 1 root root 40K Sep 19 2010 networking.pyo
-rw-r--r-- 1 root root 15K Oct 2 2010 translations.pyo
-rw-r--r-- 1 root root 48K Jan 22 2010 wnettools.pyo
-rw-r--r-- 1 root root 2.9K Sep 19 2010 wpath.pyo
Judging from the last modification time, those are from a very old wicd package.
The real question here, is that why did pacman not remove these files on update?
I can't see why. IIRC pacman does a simple remove && install when updating, no?
Furthur checking reveals more such "left over" files:
$ find /usr/lib/python2.6/ -type f | while read i; do pacman -Qo "$i" &> /dev/null || echo "$i"; done
/usr/lib/python2.6/site-packages/urwid/escape.pyo
/usr/lib/python2.6/site-packages/urwid/split_repr.pyo
/usr/lib/python2.6/site-packages/urwid/container.pyo
/usr/lib/python2.6/site-packages/urwid/signals.pyo
/usr/lib/python2.6/site-packages/urwid/graphics.pyo
/usr/lib/python2.6/site-packages/urwid/main_loop.pyo
/usr/lib/python2.6/site-packages/urwid/command_map.pyo
/usr/lib/python2.6/site-packages/urwid/text_layout.pyo
/usr/lib/python2.6/site-packages/urwid/__init__.pyo
/usr/lib/python2.6/site-packages/urwid/util.pyo
/usr/lib/python2.6/site-packages/urwid/listbox.pyo
/usr/lib/python2.6/site-packages/urwid/raw_display.pyo
/usr/lib/python2.6/site-packages/urwid/canvas.pyo
/usr/lib/python2.6/site-packages/urwid/font.pyo
/usr/lib/python2.6/site-packages/urwid/curses_display.pyo
/usr/lib/python2.6/site-packages/urwid/display_common.pyo
/usr/lib/python2.6/site-packages/urwid/widget.pyo
/usr/lib/python2.6/site-packages/urwid/decoration.pyo
/usr/lib/python2.6/site-packages/urwid/monitored_list.pyo
/usr/lib/python2.6/site-packages/urwid/wimp.pyo
/usr/lib/python2.6/site-packages/wicd/misc.pyo
/usr/lib/python2.6/site-packages/wicd/networking.pyo
/usr/lib/python2.6/site-packages/wicd/dbusmanager.pyo
/usr/lib/python2.6/site-packages/wicd/__init__.pyo
/usr/lib/python2.6/site-packages/wicd/backend.pyo
/usr/lib/python2.6/site-packages/wicd/wnettools.pyo
/usr/lib/python2.6/site-packages/wicd/configmanager.pyo
/usr/lib/python2.6/site-packages/wicd/wpath.pyo
/usr/lib/python2.6/site-packages/wicd/translations.pyo
/usr/lib/python2.6/site-packages/wicd/logfile.pyo
/usr/lib/python2.6/site-packages/_xmlplus/parsers/__init__.pyo
/usr/lib/python2.6/site-packages/_xmlplus/parsers/expat.pyo
/usr/lib/python2.6/site-packages/_xmlplus/__init__.pyo
from the older versions of python-urwid wicd and pyxml, respectively.
edit:
Are daemons able to write to /usr/*? If so, since wicd is run as daemon, I would guess, those wicd/*.pyo files are generated at runtime by wicd. The urwid/*.pyo files might have been created by wicd too, since python-urwid is a dependency of wicd... But, how about the _xmlplus/*.pyo files? These are from pyxml and the only package that requires it currently on my system is inkscape!
Last edited by lolilolicon (2011-04-20 02:44:36)
This silver ladybug at line 28...
Offline
The *.pyo are generated at runtime and they wasn't in the wicd package before. In the latest release these files are included because I have generate them during build time. That's why there is a conflict during update. If you force (-f) the installation of wicd they will be overwritten with the files of the package and are tracked by pacman in further package updates.
Offline
*bad* .pyo, good ise!
This silver ladybug at line 28...
Offline
hey everyone, first time with archbang and facing some difficulties
in order to upgrade i removed wicd (with -R)
and reinstalled after upgrading. I rebooted and noticed that the network icon is missing from the bottom panel
and when i right-click and go to xdgmenu i get this error message:
Invalid output from pipe-menu "python2 /home/xtremyst/.config/openbox/scripts/xdg-menu"
any ideas? please be patient as i'm a newbie, any help in simple steps would be extremely appreciated
Edit: i installed gnome menus2 with packer and then installed xdgmenu the same way... xdgmenu problem fixed
but now i have two network icons in my panel
i guess i have to edit autostart.sh but i dont know what to remove in order to have just one
Last edited by xtremyst (2011-11-21 18:35:34)
Offline
hey everyone, first time with archbang and facing some difficulties
You'll need to ask on the Archbang forums - https://wiki.archlinux.org/index.php/Fo … ow_to_Post
Offline
ok, thank you and sorry for the inconvenience...
Offline