Ah I see.. It's just that those things cost money and currently I don't have the luxury to acquire those if I do troubleshoot the hardwareFourdee wrote:It may fix that issue now, but I wouldn't recommend it. Instead, try to resolve the underlying issue (Hardware, PSU, SD and/or RPi itself), or things will get much worse.Chester007 wrote:Would it help if I get hold of a working /var/lib/dpkg/diversions and replace mine with it?
Unable to update or install anything
-
- Posts: 32
- Joined: Sat Mar 04, 2017 3:57 pm
Re: Unable to update or install anything
Re: Unable to update or install anything
No worries, know the feelingChester007 wrote: Ah I see.. It's just that those things cost money and currently I don't have the luxury to acquire those if I do troubleshoot the hardware

Ok, here is the file contents of /var/lib/dpkg/diversions on RPi 3, fresh install :
Code: Select all
/lib/udev/rules.d/75-persistent-net-generator.rules
/lib/udev/rules.d/75-persistent-net-generator.rules.distrib
:
/usr/share/man/man1/sh.1.gz
/usr/share/man/man1/sh.distrib.1.gz
dash
/usr/share/man/man1/config_data.1.gz
/usr/share/man/man1/config_data.diverted.1.gz
libmodule-build-perl
/usr/bin/config_data
/usr/bin/config_data.diverted
libmodule-build-perl
/bin/sh
/bin/sh.distrib
dash
Code: Select all
apt-get clean
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
-
- Posts: 32
- Joined: Sat Mar 04, 2017 3:57 pm
Re: Unable to update or install anything
Thank you! I was about to completely give up on DietPi but once I tried this, everything worked fine! You just made my day, thanksFourdee wrote: No worries, know the feeling
Ok, here is the file contents of /var/lib/dpkg/diversions on RPi 3, fresh install :Might also be worth clearing apt cache aswell:Code: Select all
/lib/udev/rules.d/75-persistent-net-generator.rules /lib/udev/rules.d/75-persistent-net-generator.rules.distrib : /usr/share/man/man1/sh.1.gz /usr/share/man/man1/sh.distrib.1.gz dash /usr/share/man/man1/config_data.1.gz /usr/share/man/man1/config_data.diverted.1.gz libmodule-build-perl /usr/bin/config_data /usr/bin/config_data.diverted libmodule-build-perl /bin/sh /bin/sh.distrib dash
Code: Select all
apt-get clean

I do understand that I should really not set aside my power problem and I'll attend to that as soon as I can. For the mean time, I'll have fun tinkering with DietPi
Re: Unable to update or install anything
No worries, great to hear this is now working for youYou just made my day, thanks

If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.