-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Trying to overwrite '/usr/bin/scrollphathd_api', which is also in package python-scrollphathd 1.1.0 #100
Comments
Confirmed. This is serious as "apt upgrade" is failing for everyone running Raspbian (With Desktop and also Raspbian Lite?) Many more bug reports here: |
I can confirm this bug. I get this error also. I remove package and then upgrade was fine. This package will be installed automatically without my doing after this upgrade. Upgrade of a non installed package? Yes... I don't understand this why. |
I got the error as well. This was on a fresh install of the latest Stretch from a noobs-lite. I ran: |
ping @Gadgetoid |
Reproduction:
And out comes above error, but also with python-scrollphathd, not only with the Python 3 version of this package:
|
Try: Do the trick for me. |
Still didn't work for me: pi@raspberrypi:~ $ sudo dpkg --configure -a |
@Wikibear Didn't help for me in any way, with none of the two packages. |
@Wikibear same, the method did not work for me. |
I'm having the same issue. I tried removing both python and python3 versions of scrollphathd and installing python, then python3 version. Same error occurs:
|
I ran the following to force dpkg to overwrite the noted scrollphathd_api file, but unsure if this causes issues with either of the programs: sudo dpkg -i --force-overwrite /var/cache/apt/archives/python-scrollphathd_1.1.0_all.deb |
I am getting the same error. Looking for a solution. |
Hello, |
Workaround found here: Just type the following: |
@0n3-70uch That is a workaround imo :). A solution is that the error won't come back after reinstalling the packages or when doing the update :). |
Yeah you are right... :-) |
@0n3-70uch Workaround fixed the issue for me as well - thanks! |
@0n3-70uch yep that's it! |
A new version of the package has been uploaded today. Does it resolve the issue? |
@XECDesign No, it doesn't. Both packages still conflict with each other in the exact same way. |
it looks like scrollphathd is for some type of external scrolling display. Since I don't have that device I just uninstalled the python3-scrollphathd and problem solved. I'm not sure why it was being installed in the first place. |
Thanks for checking. I've forwarded the issue on more directly. |
@filthycoding @XECDesign I don't understand why python3-scrollphathd_1.1.1 and python-scrollphathd_1.1.1 have not fixed this issue. I removed the binary endpoint and republished as soon as I saw this on the forums today. Installing these two packages locally and inspecting their contents with You can obtain the 1.1.1 deb files here: https://github.com/pimoroni/scroll-phat-hd/releases/tag/v1.1.1 |
Okay, for some reason, the issue is fixed now, but wasn't before (even though both versions were updated to 1.1.1 and I tried installing one after another, just now it suddenly worked on its own). |
I had exactly the same problem. Do I understand correctly that I could now try it again without doing |
Yes, version 1.1.1 should have made its way through the system now, try:
It should pull the new 1.1.1 version instead of 1.1.0. Bearing in mind 1.1.0 might otherwise be lodged in your cache. |
Yes, it works now! Thank you ;-) |
@Gadgetoid Hi I received the same error like before. But this is running:
It's solved now... thanks. |
Thanks everyone |
👍 |
I have an error on both a clean and freshly (but fully updated) installed Pi, and one with additional software.
Why I did try and didn't work:
sudo apt-get install --reinstall python3-scrollphathd
See below for the English error:
The bug is also mentioned here by someone else: https://bugs.launchpad.net/raspbian/+bug/1743199
The text was updated successfully, but these errors were encountered: