You are not logged in.

#1 2014-04-18 17:32:24

max kaspar
Member
Registered: 2013-04-11
Posts: 59

[SOLVED] system-config-printer won't update or install

After unsucessful update, i uninstalled system-config-printer and tried to reinstall but i get this message:

 sudo pacman -S system-config-printer
resolving dependencies...
looking for inter-conflicts...

Packages (4): python2-gobject-3.12.1-1  python2-pycups-1.9.66-2
              python2-pycurl-7.19.3.1-2  system-config-printer-1.4.4-1

Total Installed Size:   8.99 MiB

:: Proceed with installation? [Y/n] y
(4/4) checking keys in keyring                     [######################] 100%
(4/4) checking package integrity                   [######################] 100%
(4/4) loading package files                        [######################] 100%
(4/4) checking for file conflicts                  [######################] 100%
error: failed to commit transaction (conflicting files)
system-config-printer: /usr/share/system-config-printer/debug.pyc exists in filesystem
Errors occurred, no packages were upgraded. 

Is there something wrong on my system, or this is a packaging error that will be fixed quickly? 

Last edited by max kaspar (2014-04-18 23:11:52)

Offline

#2 2014-04-18 17:57:06

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] system-config-printer won't update or install

How about reading the stickies at the top of the forum?

https://bbs.archlinux.org/viewtopic.php?id=130138


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2014-04-18 22:34:08

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

Re: [SOLVED] system-config-printer won't update or install

max kaspar, please edit your post - the bright yellow is hard on the eyes.
When posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.



*.pyc files can cause a conflict like that, usually you can remove them, as they don't belong to any package.

Offline

#4 2014-04-18 23:11:27

max kaspar
Member
Registered: 2013-04-11
Posts: 59

Re: [SOLVED] system-config-printer won't update or install

I just deleted the /usr/share/system-config-printer/debug.pyc file and the problem is gone. I'm marking this as solved.

Offline

#5 2014-04-18 23:36:44

MindfulMonk
Member
Registered: 2013-12-02
Posts: 8

Re: [SOLVED] system-config-printer won't update or install

I had a few more .pyc files.

sudo find /usr/share/system-config-printer -type f -iname '*.pyc' -delete

Offline

Board footer

Powered by FluxBB