![]() In general you should take more care what python version do you use and install. piraspberrypi: sudo apt-get update Err jessie InRelease Err jessie Release.gpg W: Some index files failed to download. You should use this package because it fit best into the Raspbian operating system. Ask Question Asked 7 years, 4 months ago Modified 4 years, 5 months ago Viewed 29k times 4 I have problems when trying to update the apt repositories. I suppose you will find it also in the stretch repository. I only have the buster repository available and there I find rpi ~$ apt list *configparser We have seen many trouble with it because it doesn't fit optimal into Raspbian and mostly you have to adapt it. Beside that it is also for python2 and useless for you, you should not use pip3 if possible (never use pip). Then you mentioned python pip install ConfigParser. Because you use python3, you do not need it. Use this command: rpi ~$ sudo apt install -reinstall python-automationhatīy the way, this is for python2. You told that you have done it but don't show how. If it doesn't help you should follow the error messages about having to reinstall the package before continuing. Then you should reinitialize the package list. It's likely that you still get the error. Rpi ~$ sudo apt full-upgrade # yes, not only an upgrade First don't chain commands if you have trouble so you can see what command gives what messages: rpi ~$ sudo apt update Seems you have done things disordered that may have done it worse. The dpkg -i -force-overwrite and sudo apt remove both come back with errors about having to reinstall the package before continuing, I've also tried that and it still does not work.Ĭurrent Raspbian version: Distributor ID: Raspbianĭescription: Raspbian GNU/Linux 9.11 (stretch) I've also tried installing the missing module with: python pip install ConfigParser I've tried this: sudo dpkg -i -force-overwrite /var/cache/apt/archives/python-automationhat_0.2.0_all.debĪnd this: sudo apt remove python-automationhat It seems that python-automationhat does not want to cooperate and either purge from the system or update properly. var/cache/apt/archives/python-piglow_1.2.5_all.debĮ: Sub-process /usr/bin/dpkg returned an error code (1) var/cache/apt/archives/python-automationhat_0.2.0_all.deb Įrrors were encountered while processing: ĭpkg: error processing archive /var/cache/apt/archives/python-piglow_1.2.5_all.deb (-unpack): ![]() ![]() Subprocess installed post-installation script returned error exit status 1 ImportError: No module named 'ConfigParser' ![]() Subprocess new pre-removal script returned error exit status 1įrom debpython.version import SUPPORTED, debsorted, vrepr, \įile "/usr/share/python/debpython/version.py", line 24, in įrom ConfigParser import SafeConfigParser ĭpkg: error processing archive /var/cache/apt/archives/python-automationhat_0.2.0_all.deb (-unpack): ĭpkg: warning: subprocess old pre-removal script returned error exit status 1ĭpkg: trying script from the new package instead. 121685 files and directories currently installed.) Get:2 stretch/main armhf python3-smbus armhf 3.1.2-3 Get:1 stretch/main armhf python-smbus armhf 3.1.2-3 Python-automationhat python-piglow python-smbus python3-smbusĤ upgraded, 0 newly installed, 0 to remove and 6 not upgraded.Īfter this operation, 46.1 kB disk space will be freed. Libavformat57 piwiz python-gpiozero python3-gpiozero python3-thonny wolfram-engine The following packages have been kept back: After running sudo apt-get update & sudo apt-get upgrade -y I receive the following error messages: Hit:1 stretch InRelease script.I am having an issues updating my raspbian operating system. You can find a list of supported OSes and distributions on our website: įor example, to force Ubuntu Trusty: os=ubuntu dist=trusty. You can override the OS detection by setting os= and dist= prior to running this script. Packagecloud.io, or this script's OS detection failed. This usually happens if your operating system is not supported by Installing /etc/apt//gitlab_: (22) The requested URL returned error: 404 it worked Either what I had originally was actually slightly. ![]() Specifically the step that says to run this command to add the apt repo: sudo curl -sS | sudo bashįWIW I also tried the path you mention in the Ubuntu docs, as that file does reference Raspbian - that also fails, but later in the setup process: $ sudo curl -sS | sudo bashĭetected operating system as raspbian/bullseye. Well, I changed the sources list back to what you had, ran sudo apt-get update, and. Instructions: Download and install GitLab | GitLab I was trying to get gitlab up and running on a Pi 4, however the install instructions appear to be out of date. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |