jpgs Posted May 25, 2018 Posted May 25, 2018 Hi there, I've just freshly installed ch_fw_1.5_298.tar.gz. After ssh'ing into BB I've performed apt-get update and apt-get upgrade. This is the error I've got: Preparing to unpack .../procps_2%3a3.3.9-9+deb8u1_armhf.deb ... Failed to stop procps.service: Unit procps.service not loaded. invoke-rc.d: initscript procps, action "stop" failed. dpkg: warning: subprocess old pre-removal script returned error exit status 5 dpkg: trying script from the new package instead ... Failed to stop procps.service: Unit procps.service not loaded. invoke-rc.d: initscript procps, action "stop" failed. dpkg: error processing archive /var/cache/apt/archives/procps_2%3a3.3.9-9+deb8u1_armhf.deb (--unpack): subprocess new pre-removal script returned error exit status 5 Failed to start procps.service: Unit procps.service failed to load: No such file or directory. invoke-rc.d: initscript procps, action "start" failed. dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 6 Errors were encountered while processing: /var/cache/apt/archives/procps_2%3a3.3.9-9+deb8u1_armhf.deb E: Sub-process /usr/bin/dpkg returned an error code (1) How can this problem be solved? It looks more the problem is linux/debian related but maybe someone here has seen this problem as well. Best regards, Pedro
b0N3z Posted May 26, 2018 Posted May 26, 2018 Do you have internet sharing for the bunny? what OS. Can you ping 8.8.8.8?
jpgs Posted May 26, 2018 Author Posted May 26, 2018 Hi b0N3z, thanks for replying. And yes, internet sharing is working, pinging google's DNS works as well. apt-get update worked without any problems. The error happens when apt-get upgrade is running and the procps package causes for whatever reason this problems. Googling around on the internet didn't lead me to a solution yet. Best regards, Pedro
jpgs Posted May 26, 2018 Author Posted May 26, 2018 oops. forgot to mention the OS: Windows 10, build 17134, only today updates are missing, didn't reboot yet.
MB60893 Posted June 24, 2018 Posted June 24, 2018 Took me ages to solve this problem... If you are desperate run the following two commands: rm /var/lib/dpkg/info/libprocps* rm /var/lib/dpkg/info/procps* Followed by: apt-get upgrade Now you should be able to run: apt-get update && apt-get upgrade By this stage I was able to apt-get install any packages and everything seems to work... Hope this works the same for you!!
jpgs Posted June 25, 2018 Author Posted June 25, 2018 Hi MB60893, thank you for your reply. I hope to have some free time next Friday. The World Cup is eating all of my free time :). I will come back you. Best regards, Pedro
vay3t Posted August 17, 2018 Posted August 17, 2018 I have the same problem. I can not update the bash bunny. @MB60893 your solution did not work :/
MB60893 Posted August 18, 2018 Posted August 18, 2018 5 hours ago, vay3t said: I have the same problem. I can not update the bash bunny. @MB60893 your solution did not work ? Can you provide more information @vay3t? Possibly some things you've tried, or the error messages you're getting?
jpgs Posted August 18, 2018 Author Posted August 18, 2018 Hi MB60893, sorry for the delay, I simply forgot this topic. After deleting the libprocps and procps stuff as you described above I've got several warnings (maybe understandable since we deleted someting): dpkg: warning: files list file for package 'libprocps3:armhf' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'procps' missing; assuming package has no files currently installed At the end I get this error message: Preparing to unpack .../procps_2%3a3.3.9-9+deb8u1_armhf.deb ... Unpacking procps (2:3.3.9-9+deb8u1) over (2:3.3.9-9) ... Processing triggers for man-db (2.7.0.2-5) ... Processing triggers for systemd (215-17+deb8u7) ... Setting up procps (2:3.3.9-9+deb8u1) ... Failed to start procps.service: Unit procps.service failed to load: No such file or directory. invoke-rc.d: initscript procps, action "start" failed. dpkg: error processing package procps (--configure): subprocess installed post-installation script returned error exit status 6 Errors were encountered while processing: procps E: Sub-process /usr/bin/dpkg returned an error code (1) Best regards, Pedro
theUNK0WN Posted August 18, 2018 Posted August 18, 2018 Yeah .. I'm getting this error as well. @MB60893 When *I ran your advice given above, I get this error message after running apt-get upgrade: Preconfiguring packages ... Setting up procps (2:3.3.9-9+deb8u1) ... Failed to start procps.service: Unit procps.service failed to load: No such file or directory. invoke-rc.d: initscript procps, action "start" failed. dpkg: error processing package procps (--configure): subprocess installed post-installation script returned error exit status 6 Errors were encountered while processing: procps E: Sub-process /usr/bin/dpkg returned an error code (1) I imagine its an error with the procps .deb file somehow but haven't fully looked into yet.
MB60893 Posted August 19, 2018 Posted August 19, 2018 I will attempt to find another solution... For the time being, I would attempt to get the bash bunny connected to the internet, and ensure you can ping a known server on the internet. If you get ping replies, try running my scripts again, and rebooting before running the apt-get upgrade and update. Also: try clearing the apt-cache. That may also help.
MB60893 Posted August 19, 2018 Posted August 19, 2018 Also, see this article: https://serverfault.com/questions/430682/dpkg-warning-files-list-file-for-package-x-missing
simonRP Posted August 20, 2018 Posted August 20, 2018 On 5/25/2018 at 9:52 PM, jpgs said: Hi there, I've just freshly installed ch_fw_1.5_298.tar.gz. After ssh'ing into BB I've performed apt-get update and apt-get upgrade. This is the error I've got: Preparing to unpack .../procps_2%3a3.3.9-9+deb8u1_armhf.deb ... Failed to stop procps.service: Unit procps.service not loaded. invoke-rc.d: initscript procps, action "stop" failed. dpkg: warning: subprocess old pre-removal script returned error exit status 5 dpkg: trying script from the new package instead ... Failed to stop procps.service: Unit procps.service not loaded. invoke-rc.d: initscript procps, action "stop" failed. dpkg: error processing archive /var/cache/apt/archives/procps_2%3a3.3.9-9+deb8u1_armhf.deb (--unpack): subprocess new pre-removal script returned error exit status 5 Failed to start procps.service: Unit procps.service failed to load: No such file or directory. invoke-rc.d: initscript procps, action "start" failed. dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 6 Errors were encountered while processing: /var/cache/apt/archives/procps_2%3a3.3.9-9+deb8u1_armhf.deb E: Sub-process /usr/bin/dpkg returned an error code (1) How can this problem be solved? It looks more the problem is linux/debian related but maybe someone here has seen this problem as well. Best regards, Pedro After sharing an internet connection with the bash bunny, and then ssh-ing in, the following seemed to work for me when updating the bunny: apt-get update apt-mark hold procps apt-get upgrade When apt-get then listed out what it was going to upgrade, it showed procps as not being upgraded.
theUNK0WN Posted August 20, 2018 Posted August 20, 2018 13 hours ago, simonRP said: apt-mark hold procps I can confirm inputting this command before upgrade will "--ignore" upgrades for procps. BB has successfully upgraded, thanks!
OluMMelegi Posted August 26, 2018 Posted August 26, 2018 Hi, Here is the solution; The problem is there is a file missing because of that procps service cannoty be started, here is how to fix it; cp /lib/systemd/system/bak/systemd-sysctl.service /lib/systemd/system ln -s /lib/systemd/system/procps.service /etc/systemd/system/procps.service Now you are good to go...
seajay Posted November 7, 2018 Posted November 7, 2018 On 8/26/2018 at 1:03 PM, OluMMelegi said: Hi, Here is the solution; The problem is there is a file missing because of that procps service cannoty be started, here is how to fix it; cp /lib/systemd/system/bak/systemd-sysctl.service /lib/systemd/system ln -s /lib/systemd/system/procps.service /etc/systemd/system/procps.service Now you are good to go... Thank you so much. THIS is the actual fix. Been working through this problem all night, so glad someone figured this out. I'm shocked this isn't part of the wiki, this problem affects all bash bunnies.
owengauci Posted January 27, 2019 Posted January 27, 2019 On 11/7/2018 at 4:13 AM, seajay said: Thank you so much. THIS is the actual fix. Been working through this problem all night, so glad someone figured this out. I'm shocked this isn't part of the wiki, this problem affects all bash bunnies. This worked for me as well. Thanks
owengauci Posted January 27, 2019 Posted January 27, 2019 On 8/26/2018 at 7:03 PM, OluMMelegi said: cp /lib/systemd/system/bak/systemd-sysctl.service /lib/systemd/system ln -s /lib/systemd/system/procps.service /etc/systemd/system/procps.service On 11/7/2018 at 4:13 AM, seajay said: Thank you so much. THIS is the actual fix. Been working through this problem all night, so glad someone figured this out. I'm shocked this isn't part of the wiki, this problem affects all bash bunnies. Worked for me as well. Thanks
PoSHMagiC0de Posted January 27, 2019 Posted January 27, 2019 Hmm, I have never done an update to the BashBunny using aptitude. I just upgrade firmware and use tools package seb dropped in. I try and keep anything I build to the base packages like with node I do not use express package. For python don't use django, etc. If I want to add a tool I will try the tools method first. Only reason is so I do not change the version accidentally of some of the base packages or configs default on the BB and break something. Also, when I keep payload installations simple, I get asked less questions on how to install and use them.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.