![]() I'm expecting the code to carry out a full upgrade as the bash commands do.īefore the 'upgrade' command I run 'sudo apt-get autoremove' and 'sudo apt-get update'. Update_everything2: E: Failed to fetch Connection timed out Į: Failed to fetch Connection timed out Į: Unable to fetch some archives, maybe run apt-get update or try with -fix-missing? Get:170 bullseye/main armhf xcompmgr armhf 1.1.8-1+rpt1 Get:171 bullseye/main armhf cups-pk-helper armhf 0.2.6 1+rpt1 Fetched 286 MB in 2min 21s (2,035 kB/s) ![]() Get:169 bullseye/main armhf vlc-plugin-visualization armhf 3.0.17.4-0+deb11u1+rpi1+rpt2 Install an other version of Ubuntu to virtualbox and check. Try to update Ubuntu on your friend's laptop:-) Install the same Ubuntu version to virtualbox and check if the issue reproduces. Get:168 bullseye/main armhf vlc-plugin-video-splitter armhf 3.0.17.4-0+deb11u1+rpi1+rpt2 Check if the issue reproduced using other type connection's type (USB tethering, Bluetooth tethering instead of wifi's hotspot) Change your Ubuntu's kernel. I run into this problem: Get:167 bullseye/main armhf vlc-plugin-samba armhf 3.0.17.4-0+deb11u1+rpi1+rpt2 ![]() Logger.error(datetime.now().strftime("%d-%m-%y-%H:%M:%S") + " | " + str(traceback.print_exc())) 1 regarding USB-WiFi adapter from the topic sudo add-apt-repository ppa:kelebek333/kablosuz sudo apt-get update sudo apt install rtl8188eu-dkms After. Yup same error, also tried /ubuntu and the original Azure mirror. The package name is aria2 but the command is aria2c. If aria2c works, you can use apt-fast which instead of apt. Logger.error(datetime.now().strftime("%d-%m-%y-%H:%M:%S") + " | Failed to apt-get update everything:" + str(err)) Also, please try using the aria2c command instead of curl and please tell me if this works. Logger.error("update_everything2: " + str(update_everything2.stderr)) ("update_everything2: " + str(update_everything2.stdout)) ![]() Update_everything2 = n(, capture_output=True, text=True) I get no issues whatsoever, but if I try and do this programmatically using python: try: I have built a script to automate the setup of our fleet of Raspberry Pi's, but am running into a strange problem using apt-get to carry out upgrades. ![]()
0 Comments
Leave a Reply. |