You are not logged in.

#1 2011-04-14 09:49:42

pootzko
Member
From: Nerdvana
Registered: 2008-06-23
Posts: 109
Website

[Solved] Problem upgrading Wicd

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 smile

Last edited by pootzko (2011-05-13 08:44:24)


...I put on my robe and a wizard hat...

Offline

#2 2011-04-14 09:59:01

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [Solved] Problem upgrading Wicd

afaik you could a) delete/move those files or b) force install


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#3 2011-04-14 10:00:11

toffyrn
Member
Registered: 2008-10-07
Posts: 221

Re: [Solved] Problem upgrading Wicd

You could always do "pacman -Qo /path/to/file" to see if a package own that file

Offline

#4 2011-04-14 10:25:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Problem upgrading Wicd

I did a  force install and am online to tell the tale smile


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2011-04-14 10:26:59

Only_Slightly_Bent
Member
Registered: 2011-03-22
Posts: 6

Re: [Solved] Problem upgrading Wicd

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

#6 2011-04-14 10:28:45

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: [Solved] Problem upgrading Wicd

For my own, i've desinstalled wicd and wicd-gtk with -R, then reinstalled them with -S...

All went fine.

Offline

#7 2011-04-14 10:57:39

Only_Slightly_Bent
Member
Registered: 2011-03-22
Posts: 6

Re: [Solved] Problem upgrading Wicd

jaco wrote:

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

#8 2011-04-14 11:30:09

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: [Solved] Problem upgrading Wicd

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

#9 2011-04-14 19:45:27

ki3rk3gaard
Member
From: Bushwick not Williamsburg
Registered: 2011-04-09
Posts: 8

Re: [Solved] Problem upgrading Wicd

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

#10 2011-04-14 19:53:53

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: [Solved] Problem upgrading Wicd

jasonwryan wrote:

I did a  force install and am online to tell the tale smile

Me too, on the laptop as well as the desktop


Rauchen verboten

Offline

#11 2011-04-14 20:24:16

ki3rk3gaard
Member
From: Bushwick not Williamsburg
Registered: 2011-04-09
Posts: 8

Re: [Solved] Problem upgrading Wicd

Oh my G~d my computer broke listening to your advice! J/k alls well , everything went smoothly...........so far . smile


It belongs to the imperfection of everything human that man can only attain his desire by passing through its opposite.

Offline

#12 2011-04-15 07:12:38

alwaysanoob
Member
Registered: 2010-01-20
Posts: 22

Re: [Solved] Problem upgrading Wicd

jasonwryan wrote:

I did a  force install and am online to tell the tale

just done, everything ok

Offline

#13 2011-04-15 15:24:25

stevefed5291
Member
From: United States
Registered: 2010-02-12
Posts: 7
Website

Re: [Solved] Problem upgrading Wicd

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

#14 2011-04-15 17:37:20

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [Solved] Problem upgrading Wicd

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

#15 2011-04-18 10:49:28

cvarin
Member
Registered: 2010-11-05
Posts: 7

Re: [Solved] Problem upgrading Wicd

Forced update for wicd worked well for me. Not needed for wicd-gtk.

Offline

#16 2011-04-18 12:30:31

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: [Solved] Problem upgrading Wicd

@pootzko: Could you please this mark as [Solved]. There is no other way to upgrade, you have to force the update of wicd. So this problem is solved.

Thanks

Offline

#17 2011-04-19 13:49:45

flan_suse
Member
Registered: 2010-10-28
Posts: 120

Re: [Solved] Problem upgrading Wicd

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

#18 2011-04-19 22:07:03

Chrysalis
Member
Registered: 2008-07-07
Posts: 155

Re: [Solved] Problem upgrading Wicd

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

#19 2011-04-19 22:44:57

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: [Solved] Problem upgrading Wicd

Chrysalis wrote:

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

#20 2011-04-20 02:35:20

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [Solved] Problem upgrading Wicd

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

#21 2011-04-20 06:50:05

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: [Solved] Problem upgrading Wicd

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

#22 2011-04-20 10:58:24

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [Solved] Problem upgrading Wicd

*bad* .pyo, good ise!


This silver ladybug at line 28...

Offline

#23 2011-11-21 18:11:59

xtremyst
Member
Registered: 2011-11-21
Posts: 14

Re: [Solved] Problem upgrading Wicd

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 smile

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 smile
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

#24 2011-11-21 18:47:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Problem upgrading Wicd

xtremyst wrote:

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


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#25 2011-11-21 18:52:59

xtremyst
Member
Registered: 2011-11-21
Posts: 14

Re: [Solved] Problem upgrading Wicd

ok, thank you and sorry for the inconvenience...

Offline

Board footer

Powered by FluxBB