You are not logged in.

#1 2008-12-30 19:24:06

thibdb13
Member
From: Mechelen - Belgium
Registered: 2005-10-11
Posts: 114

system-config-printer

Hello,

my system will not upgrade because of problems with the package system-config-printer.
Here is the message I get:
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
system-config-printer: /usr/lib/python2.6/site-packages/cupshelpers/__init__.pyc exists in filesystem
system-config-printer: /usr/lib/python2.6/site-packages/cupshelpers/cupshelpers.pyc exists in filesystem
system-config-printer: /usr/lib/python2.6/site-packages/cupshelpers/openprinting.pyc exists in filesystem
system-config-printer: /usr/lib/python2.6/site-packages/cupshelpers/ppds.pyc exists in filesystem
Errors occurred, no packages were upgraded.

What should I do? Remove the files that cannot be replaced because already existing or is there another way?
Thanks

Offline

#2 2008-12-30 20:18:11

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: system-config-printer

Which package are the files owned by? You can check by doing "pacman -Qo <filename>"

Offline

#3 2008-12-30 22:41:30

nickgibbon
Member
Registered: 2008-12-30
Posts: 3

Re: system-config-printer

Same issue here.
pacman reports that the files aren't owned by a package.
Around the mtime of each of the files I had installed some printer related packages (gutenprint, ghostscript, etc.). pacman.log excerpt included.


error: could not prepare transaction
error: failed to commit transaction (conflicting files)
system-config-printer: /usr/lib/python2.6/site-packages/cupshelpers/__init__.pyc exists in filesystem
system-config-printer: /usr/lib/python2.6/site-packages/cupshelpers/cupshelpers.pyc exists in filesystem
system-config-printer: /usr/lib/python2.6/site-packages/cupshelpers/openprinting.pyc exists in filesystem
system-config-printer: /usr/lib/python2.6/site-packages/cupshelpers/ppds.pyc exists in filesystem
Errors occurred, no packages were upgraded.

eckythump:~$ sudo pacman -Qo /usr/lib/python2.6/site-packages/cupshelpers/{__init__,cupshelpers,openprinting,ppds}.pyc
error: No package owns /usr/lib/python2.6/site-packages/cupshelpers/__init__.pyc
error: No package owns /usr/lib/python2.6/site-packages/cupshelpers/cupshelpers.pyc
error: No package owns /usr/lib/python2.6/site-packages/cupshelpers/openprinting.pyc
error: No package owns /usr/lib/python2.6/site-packages/cupshelpers/ppds.pyc

eckythump:~$ ls -l /usr/lib/python2.6/site-packages/cupshelpers/{__init__,cupshelpers,openprinting,ppds}.pyc
-rw------- 1 root root  1306 2008-12-13 11:15 /usr/lib/python2.6/site-packages/cupshelpers/__init__.pyc
-rw------- 1 root root 25916 2008-12-13 11:15 /usr/lib/python2.6/site-packages/cupshelpers/cupshelpers.pyc
-rw------- 1 root root 12314 2008-12-13 11:15 /usr/lib/python2.6/site-packages/cupshelpers/openprinting.pyc
-rw------- 1 root root 27712 2008-12-13 11:15 /usr/lib/python2.6/site-packages/cupshelpers/ppds.pyc

##### /var/log/pacman.log
[2008-12-13 11:08] installed cscope (15.6-2)
[2008-12-13 11:08] installed ctags (5.7-1)
[2008-12-13 11:08] >>please run /usr/sbin/cups-genppdupdate
[2008-12-13 11:08] >>and restart cups deamon
[2008-12-13 11:08] installed gutenprint (5.2.2-1)
[2008-12-13 11:08] installed lsof (4.81-1)
[2008-12-13 11:08] installed iotop (0.2.1-2)
[2008-12-13 11:08] installed libmikmod (3.1.12-1)
[2008-12-13 11:08] installed smpeg (0.4.4-4)
[2008-12-13 11:08] installed sdl_mixer (1.2.8-3)
[2008-12-13 11:08] warning: directory permissions differ on var/games/
filesystem: 775  package: 755
[2008-12-13 11:08] installed pinball (0.3.1-3)
[2008-12-13 11:08] installed lincity (1.12.1-2)
[2008-12-13 11:08] >>> Qemu package now provides standard qemu and qemu-kvm.
[2008-12-13 11:08]
[2008-12-13 11:08] >>> PLEASE READ FOR KVM USAGE!
[2008-12-13 11:08] >>>  Load the correct KVM module, you will need a KVM capable CPU!
[2008-12-13 11:08] >>>  Add yourself to the group 'kvm'.
[2008-12-13 11:08] >>>  Use 'qemu-kvm' to use KVM.
[2008-12-13 11:08]
[2008-12-13 11:08] >>> 'qemu-kvm' flexibility:
[2008-12-13 11:08] >>>  You can use the qemu-kvm binary without kvm module too.
[2008-12-13 11:08]
[2008-12-13 11:08] >>> PLEASE READ FOR KQEMU USAGE!
[2008-12-13 11:08] >>> You need to install the 'kqemu' package for your kernel.
[2008-12-13 11:08] >>> You need to load the module to use qemu with kqemu.
[2008-12-13 11:08] installed qemu (0.9.1-10)
[2008-12-13 11:08] installed strace (4.5.18-1)
[2008-12-13 11:08] installed unrar (3.8.5-1)
[2008-12-13 11:08] installed unzip (5.52-4)
[2008-12-13 11:08] ==> To use dvipdf, you need to install tetex:
[2008-12-13 11:08] ==> # pacman -S tetex
[2008-12-13 11:08] upgraded ghostscript (8.63-3 -> 8.63-3)
[2008-12-13 11:09] updating the filename database... done
[2008-12-13 11:09] upgraded texlive-core (2008.11313-1 -> 2008.11313-1)
[2008-12-13 11:11] synchronizing package lists
[2008-12-13 11:11] starting full system upgrade
[2008-12-13 11:16] installed perlxml (2.36-1)
[2008-12-13 11:16] installed perl-xml-simple (2.18-2)
[2008-12-13 11:16] installed icon-naming-utils (0.8.7-1)
[2008-12-13 11:16] installed gnome-icon-theme (2.24.0-1)

Offline

#4 2008-12-30 23:22:19

sirius
Member
From: Norway
Registered: 2008-12-25
Posts: 68

Offline

#5 2008-12-30 23:34:12

nickgibbon
Member
Registered: 2008-12-30
Posts: 3

Re: system-config-printer

Followed the suggestion by sirius in the above thread and was able to update system-config-printer. Where the files were previously not recognised as belonging to any package, they are now reported as being owned by system-config-printer.

Thanks sirius.

eckythump:~$ sudo pacman -Qo /usr/lib/python2.6/site-packages/cupshelpers/{__init__,cupshelpers,openprinting,ppds}.pyc
/usr/lib/python2.6/site-packages/cupshelpers/__init__.pyc is owned by system-config-printer 1.1.1-1
/usr/lib/python2.6/site-packages/cupshelpers/cupshelpers.pyc is owned by system-config-printer 1.1.1-1
/usr/lib/python2.6/site-packages/cupshelpers/openprinting.pyc is owned by system-config-printer 1.1.1-1
/usr/lib/python2.6/site-packages/cupshelpers/ppds.pyc is owned by system-config-printer 1.1.1-1

Offline

#6 2008-12-30 23:43:16

sirius
Member
From: Norway
Registered: 2008-12-25
Posts: 68

Re: system-config-printer

I hope it still works ^^    since the files belongs to the complaining package, however, I suppose it will wink

Offline

#7 2008-12-31 00:05:49

nickgibbon
Member
Registered: 2008-12-30
Posts: 3

Re: system-config-printer

sirius wrote:

I hope it still works ^^    since the files belongs to the complaining package, however, I suppose it will wink

system-config-printer appears to be working fine.

Offline

Board footer

Powered by FluxBB