[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)

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.

Similar Messages

  • Gnome: Trouble with system-config-printer

    Hello all
    I have trouble setting up my printers using system-config-printer in Gnome... I added some screenshots to the bottom of this post. When I try to add the Generic CUPS-PDF printer, the "Next" button is disabled and I am not allowed to continue. When I try to add the HP printer that is on my home network (as recognised by the config) the application throws some sort of runtime error (in terminal) and doesn't update the screen or allow me to continue.
    Before moving to Arch a few weeks ago, I used Ubuntu 8.04, and it had a very different application for configuring printers (although it was also called system-config-printer). Preferably, I'd just get that application back for configuring printers, it was much more intuitive and above all it actually worked.
    I would like to know how to solve my problem of not being able to add the printers I want and how to get the Ubuntu printer config on Arch if that is possible at all.
    Thanks
    error:
    Traceback (most recent call last):
      File "/usr/share/system-config-printer/system-config-printer.py", line 5585, in on_tvNPDevices_cursor_changed
        physicaldevice.add_device (dev)
      File "/usr/share/system-config-printer/PhysicalDevice.py", line 61, in add_device
        raise RuntimeError
    RuntimeError

    @IceHand
    Hmm.. It doesn't really make sense to me that I need a webbrowser to configure a printer, but I gave it a try. When I tried adding the CUPS-PDF printer, it asked me what brand it was in the second step. This can't be right. When I tried adding the HP printer that is on my network, it automatically selected the correct driver from a list, but when I chose to continue it asked me for a username and a password, and providing my own did not work. So this method failed for both printers. I would really love to get back the old configuration menu from Ubuntu at this point.
    @dbb
    The GTK theme is a personal modification of Fresh Dark that removes the Aurora style scrollbar, uses bigger icons and has nicer progress bars.
    The font I use is Myriad Pro with slight hinting enabled.
    The icon theme is my own mash-up of many tango-styled themes and a few custom icons and improved icons from other themes. You'll find icons there from gnome-colors, gnome-icon-theme, ubuntu-studio, and stuff found randomly on the internet and more. I'm not done perfectioning the theme though, but it's come a long way.

  • 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

    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)

  • System-config-printer-gnome freezes when trying to "Add" a printer

    I have the same issue that was discussed in the thread system-config-printer-gnome utility freezes when "adding" printer. Specifically, when I try to add a printer using system-config-printer gui, the window freezes and throws back the following code:
    mechoid9@ordinateur:~$ system-config-printer
    Traceback (most recent call last):
    File "/usr/share/system-config-printer/asyncipp.py", line 196, in send_reply
    handler (self._conn, result)
    File "/usr/share/system-config-printer/asyncpk1.py", line 143, in _ipp_reply_handler
    self._client_reply_handler (self._conn, *args)
    File "/usr/share/system-config-printer/asyncconn.py", line 142, in <lambda>
    kwds["reply_handler"] = lambda c, r: reply_handler (self, r)
    File "/usr/lib/python2.7/site-packages/cupshelpers/cupshelpers.py", line 582, in _reply_handler
    self._client_reply_handler (connection, devices)
    File "/usr/share/system-config-printer/system-config-printer.py", line 4845, in <lambda>
    current_uri))
    File "/usr/share/system-config-printer/system-config-printer.py", line 4881, in local_devices_reply
    self.add_devices (result, current_uri)
    File "/usr/share/system-config-printer/system-config-printer.py", line 5228, in add_devices
    physdev = model.get_value (iter, 1)
    TypeError: iter must be a GtkTreeIter
    The solution mentioned was to use the CUPS web interface. This lets me add a printer (which is part of the solution), this is not the complete solution. I've used the utility before, and I'm comfortable with it, and I think that I should be able to use the gnome utility to add the printer if everything on my system is up to date (which it is, as of this posting). I would like to know why it doesn't work anymore (and I'm of the impression that it has something to do with how I've installed python on my system).
    I've googled the issue, and perhaps I didn't look around thoroughly enough, but I couldn't find a solution. So if somebody knows where to look I'd be glad to look there.

    I have the same problem. I noticed that it occured only after installing the following driver packages.
    hpoj-0.91-16 hplip-3.11.3-1 net-snmp-5.6.1-1 foomatic-db-engine-4.0.6_20101215-1 foomatic-db-4.0.6_20101215-1
    I did a workaround by installing the printer using the webinterface, removing the drivers again, setting the samba login details and then reinstalling the drivers.
    But this problem should really be fixed.

  • KDE - warning: cannot resolve "system-config-printer =1.1.7-3"

    I'm trying to install KDE, fresh install, and this is what I get after: pacman -S kde
    resolving dependencies...
    warning: provider package was selected (freeglut provides glut)
    warning: cannot resolve "system-config-printer>=1.1.7-3", a dependency of "kdeadmin-system-config-printer-kde"
    warning: cannot resolve "system-config-printer>=1.1.7-3", a dependency of "kdeutils-printer-applet"
    :: the following package(s) cannot be upgraded due to unresolvable dependencies:
    kdeadmin-system-config-printer-kde kdeutils-printer-applet
    Do you want to skip the above packages(s) for this upgrade? [Y,n]
    I try different mirror and again same warning, is it safe to skip this package?
    Last edited by archiebald (2009-09-06 10:27:35)

    flamelab wrote:
    It's been fixed.Wait for your miror to sync.
    I use these:
    Server = http://mir.archlinux.fr/$repo/os/x86_64
    Server = ftp://mir2.archlinuxfr.org/archlinux/$repo/os/x86_64
    Server = ftp://ftp.ntua.gr/pub/linux/archlinux/$repo/os/x86_64
    Server = ftp://ftp.otenet.gr/pub/linux/archlinux/$repo/os/x86_64
    Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/x86_64
    Server = http://archlinux.freeside.ru/$repo/os/x86_64
    I also use some of this mirrors (mir...)
    Thank you for information, I thought that it's something like that.

  • System-config-printer-gnome utility freezes when "adding" printer.

    I've just started adding my wireless printer to my desktop, and while reading about CUPS in the archwiki, I discovered "system-config-printer-gnome". I installed it with pacman, and then set it up like the wiki said. Now when I run system-config-printer and press "Add", I get this error output in my terminal:
    [mike@mike-desktop ~]$ system-config-printer
    Traceback (most recent call last):
    File "/usr/share/system-config-printer/asyncipp.py", line 196, in send_reply
    handler (self._conn, result)
    File "/usr/share/system-config-printer/asyncpk1.py", line 143, in _ipp_reply_handler
    self._client_reply_handler (self._conn, *args)
    File "/usr/share/system-config-printer/asyncconn.py", line 142, in <lambda>
    kwds["reply_handler"] = lambda c, r: reply_handler (self, r)
    File "/usr/lib/python2.6/site-packages/cupshelpers/cupshelpers.py", line 575, in _reply_handler
    self._client_reply_handler (connection, devices)
    File "/usr/share/system-config-printer/system-config-printer.py", line 4820, in <lambda>
    current_uri))
    File "/usr/share/system-config-printer/system-config-printer.py", line 4858, in local_devices_reply
    self.add_devices (result, current_uri)
    File "/usr/share/system-config-printer/system-config-printer.py", line 5198, in add_devices
    physdev = model.get_value (iter, 1)
    TypeError: iter must be a GtkTreeIter
    Does anyone know what could be wrong? I've done some Googling, but couldn't find anything related to this. I also couldn't find anything related to setting up a wireless printer manually with CUPS, so this way seemed the easiest way of adding a printer. Thanks
    P.S. I am using GNOME, and all my packages are up to date.

    skunktrader wrote:Did you try pointing your browser at http://localhost:631/admin and attempt to add your printer from there?
    Oh wow. That worked perfectly! I guess when I saw that in the wiki I assumed that it was for USB or parallel port printers since I saw "localhost". Sorry to waste thread space!
    Thanks so much guys!
    P.S. I feel like such a noob

  • Printer won't work after installing mountain lion?

    printer won't work after installing mountain lion?

    Assuming you've first checked Software Update to see if there are any updated drivers and it's still not working, you could try resetting the printing system.
    System Preferences>Print & Scan, Control+Click or Right Click on a printer on the left and select 'reset printing system'. All printers will be deleted and need to be added again.

  • My apps won't update after installing IOS 6.0.1. They get stuck. What's wrong?

    Apps won't update after installing IOS 6.0.1. They get stuck. What's wrong?

    You may of had a corrupted install. Connect to iTunes backup then restore. Or update the apps on itunes then sync to the iPhone

  • My apps won't update or install. I would push the update/install button, and it wouldn't do anything. How do I fix that?

    My apps won't update or install. I would push the update/install button, and it wouldn't do anything. How do I fix that?

    I would do a restore using iTunes.  This will re-install the latest iOS 6 with factory settings, then you'll have to re-enter your settings and re-install your apps.  But everything should work after that.

  • 2nd Generation iPod touch OS 4.1 won't update or install apps. Help?

    Hello, I have a 2nd generation iPod touch and it will not update or install apps. When I try to update an app, or install an app the app icon turns gray and the loading bar comes up inside the icon and the it says, "Waiting...". Any help with how to fix this would be greatly appreciated.
    Thank you for your time.
    Message was edited by: Saleen Martyr

    Resetting your iPod should deleting the waiting and will probably solve your problem:
    Reset iPod touch: Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.

  • IPhone5s with I.O.S 8.1 won't update or install apps.

    I have googled and looked around for hours. My apps won't update or in stall. Everything just freezes!
    I did a reset about 15 times, turned off auto update, don't have the WSJ app, I went through the purchases tab, i deleted half the apps (20 of 60) and still nothing.
    Any thoughts?

    This is frustrating. I deleted the WSJ app and now everything is working again. Great! Except it doesn't make sense and makes troubleshooting in the future difficult, especially for those that don't even have the WSJ (Newsstand) app installed. For those that come to this thread, here are the issues I was experiencing in case it helps: iPhone 6, iOS 8.1
    1) I don't know of any changes, new installations, etc., but during the day yesterday while out and about, I noticed my Paper app (made by Facebook) stopped loading correctly. It would freeze on the last screen that was working a few minutes before, crash (go back to home screen), then upon reloading be blank and forever loading data/syncing animation.
    2) Newly purchased apps on my iPad Air 2 had downloaded fine there, but my iPhone 6 with the issue in question (which has auto-download turned on for new apps) had the icons but wasn't downloading.
    3) This is when I started noticing that no updates would start downloading in the App Store, and a number of apps wouldn't load anymore (either would hang at their respective startup screens or crash and go back to home screen): Paper (by Facebook, but the normal Facebook app worked fine), Evernote, Evernote's extension when trying to save to Evernote from other apps, Yelp. I don't know if there were others (I have over 200 apps installed), but plenty others worked fine. It was bizarre.
    Solutions tried:
    1) Restarting phone: issues persisted.
    2) 2-button forced restart: issues persisted.
    3) Force quitting all apps (double click home button then swipe up every open/running app), power cycled phone (held down sleep/wake button then slid red slider/X): issues persisted.
    4) Signing out of iTunes/App Store account, restarting, then signing back in.
    5) Signing out of iTunes/App Store account,, 2-button forced reset of iPhone 6, then signing back in. Same issues persisted.
    6) Sliding down the for top for notification center, slid to the side for Today view, and removed all widget extensions (hoping maybe something would reset): issues persisted.
    7) Cleared all notifications from Notification Center: issues persisted.
    8) Deleted Evernote app (one of the apps that wasn't loading anymore and would only crash and go back to home screen), stopped all other apps in App Store trying to update or download, restarted phone, then tried downloading Evernote: wouldn't download just like the rest.
    8) I gave up and was about to restore from backup next, when I decided to check Google and found this forum. I deleted the WSJ (Newsstand) app, power cycled (restarted) phone, and voila! Everything now works fine (app purchases download, app updates download, Yelp now works, Paper (Facebook) now works, Evernote now works). What gives?!?

  • [SOLVED] System froze and won't boot.

    When I pluged in my power adapter on my laptop my entire system froze and forced me to cut the power.
    Now when I try to boot it I get several errors about mounting and udev and more which I can't catch in the speed. Then it enters a long loop of printing
    systemd[1]: Failed to start Journal Service.
    And finally prints:
    systemd[1]: Failed to start Journal Service.
    systemd[1]: Failed to start Emergency Shell.
    systemd[1]: Dependency failed for Emergency Mode.
    Now only thing I can do is reboot, with the same result. I have no clue what to do so now I reach out for help here.
    Thanks in advance.
    - Richard
    Last edited by ri (2012-12-15 09:36:20)

    ontobelli wrote:
    Kernel 3.7.0 + laptop-mode-tools are freezing the laptop when switching from battery to A/C.
    As a workaround uninstall laptop-mode-tools until problem is fixed.
    Indeed this was the cause.
    Anyway I've manage to solve it, here is the steps:
    1) Boot a live cd
    2) Set up and enter a chroot according to https://bbs.archlinux.org/viewtopic.php?id=154625
    3) Disable [testing] from /etc/pacman.conf
    4) Run:
    pacman -Syyf util-linux
    pacman -Syyf linux linux-headers
    I got som wierd errors at first which was gone after reinstalled util-linux.
    And to get rid of the cause:
    pacman -R laptop-mode-tools
    5) Although this did not really work out so I did:
    mkinitcpio -p linux
    6) Exit chroot and reboot.
    Maybe not all of those cammands are needed but that's how I solved my problem(s).

  • [SOLVED] HP jetdirect printer errors after updating net-snmp

    My office's HP printers weren't working anymore this morning, my cups log showed the following errors after a pacman -Syu.
    It looks that libnetsnmp.so.25 is required by hplip 3.11.10-1, but the latest net-snmp  5.7.1-1 provides libnetsnmp.so.30.
    168 D [31/Oct/2011:14:15:51 +0000] [Job 708] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs     -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="hp color LaserJet 3500" -dDuplex=    false -r600 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -s    OutputFile=- -
    169 D [31/Oct/2011:14:15:51 +0000] [Job 708] JCL: <job data>
    170 D [31/Oct/2011:14:15:51 +0000] [Job 708]
    171 D [31/Oct/2011:14:15:51 +0000] [Job 708] Starting process 3788: "gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer    =hpijs -dDEVICEWIDTHPOINTS=6..."                                                                                                         
    172 D [31/Oct/2011:14:15:51 +0000] [Job 708] hpijs: error while loading shared libraries: libnetsnmp.so.25: cannot open shared object file: N    o such file or directory
    [14:29]:sudo pacman -Q | grep net-snmp
    net-snmp 5.6.1-4
    [14:30]:sudo pacman -Qo /usr/lib/cups/backend/hp
    /usr/lib/cups/backend/hp is owned by hplip 3.11.5-1
    solution is to downgrade net-snmp:
    [2011-10-08 21:56] upgraded net-snmp (5.6.1-4 -> 5.7.1-1)
    [2011-10-31 14:24] Running 'pacman -U /var/cache/pacman/pkg/net-snmp-5.6.1-4-x86_64.pkg.tar.xz'
    [2011-10-31 14:24] upgraded net-snmp (5.7.1-1 -> 5.6.1-4)
    this might help someone else,

    Hi groberts619,
    Unfortunately the software you obtain from the Printer Software Update doesn't include the HP Scan application - only the print and scan drivers.  I just checked on your product and it doesn't appear that there are plans to release an updated HP Scan installer for this model.
    On Mavericks it seems your best option will be to use Apple's Image Capture scan application.  You can find this application in the /Applications folder.  You also have the option to scan using Preview.  Look in the File menu for the command to import from a scanner.
    FretnBoutNutn
    I work for HP.
    - Say "Thanks" by clicking the Kudos Star in the post that helped you.
    - Please mark the post that solves your problem as "Accepted Solution"

  • Print spooler won't run, printer won't connect or install, l have the disk

    The printer will scan but it won't print,it says the print spooler is not on, live tried the installation disk, the computer can't even find the printer

    Try manually starting the print spooler. If that doesn't work, you may need to contact Microsoft as there may be a problem with your OS install.
    To manually start the print spooler:
    1. Click the start menu.
    2. In the search box type services.msc and press Enter on your keyboard.
    3. Scroll down the list until you see Print Spooler.
    4. On the left-hand side of the window, you should see the work Start in blue letters. Click that and it should start the spooler service.
    5. Right click on the Print Spooler and make sure it's set to start automatically.
    6. Close the window.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Facebook won't update or install?

    My phone won't download Facebook after I updated the app.  Have had to uninstall and try to reinstall 5  times.  It says "cannot be done now, retry or done"
    I have an iPhone 5, and running the iOS 6. Whatever.  Just haven't updated to IOS7 yet.

    I have the same
    i had update it &amp; it dosnt work . so i delete it and try to doownload again
    it also dosnt work .. (( facebook could not be downlaoded at this time )) thats sowed to me every time i try 2 download

Maybe you are looking for