Page 1 of 1
dpkg problem
Posted: Thursday 22 June 2017 23:05
by ropske
Hi,
i want to install some things(python, php,...) on my Pi3 running with Domoticz
but when i do for example:
sudo apt-get install php5-mysql i'm getting this error:
Bezig met het inlezen van changelogs... Klaar
Extraheren van sjablonen uit pakketten: 100%
Voorconfigureren van pakketten ...
dpkg: onherstelbare fatale fout; er wordt gestopt:
bestand met de lijst bestanden van pakket 'dpkg' heeft geen afsluitend regeleinde
E: Sub-process /usr/bin/dpkg returned an error code (2)
someone has any idea please?
Re: dpkg problem
Posted: Friday 23 June 2017 6:00
by Egregius
Why is your system in Dutch? Would have been easier with a English version to Google the error.
Maybe this is a solution?
http://www.linuxquestions.org/questions ... ne-271118/
Re: dpkg problem
Posted: Saturday 24 June 2017 0:16
by ropske
i tried allmost everything they say, some say complete reinstall is the best, because there will allways be somewhere other corrupted files.
really don't know how this comes, allready 3th time (2x on my old pi, now 1st time on my pi3)

Re: dpkg problem
Posted: Tuesday 27 June 2017 22:35
by ropske
yeah, what i was affraid off happened now, the Pi3 is not booting anymore, again a corrupt SD card.
3th now allready, pfff
is there anything that can be done to work without that SD card ?
Re: dpkg problem
Posted: Wednesday 28 June 2017 6:36
by Egregius
Buy a good sd? Always shutdown before power off?
All Pi's still run on their first SD card here.
Only thing special I do is set /var/log as tmpfs so logfiles aren't written on SD.
Re: dpkg problem
Posted: Wednesday 28 June 2017 7:57
by ropske
Its allways a expensive and good one i buy.
Now im booting from usb, maybe that will be better than it is now.
My pi has never been shutdown by plugging out the supply voltage, allways by a reboot or shutdown.
Re: dpkg problem
Posted: Wednesday 28 June 2017 9:26
by Egregius
Power supply?
Re: dpkg problem
Posted: Wednesday 28 June 2017 9:32
by ropske
It is the original one, what one are you using?
Re: dpkg problem
Posted: Wednesday 28 June 2017 13:04
by Egregius
A 12-48VDC - USB converter from China or Hong Kong for 2 Pi's, other 3 have 'normal' 2,5A power supply.
I'm just thinking out loud... When your power supply is at it max to handle a Pi3 and you connect also a Zwave stick, a usb stick, a rfxcom,... maybe it's just to much for your power supply.
Re: dpkg problem
Posted: Wednesday 28 June 2017 17:31
by ropske
just checked my power supply, 5VDC/2500mA so should be enough i think?
What devices are on my Pi3? => Aeon Zwave Stick Gen5 and that's it
my rfxcom is on my older Pi+B
maybe i try with a ssd hd instead of SD?
Re: dpkg problem
Posted: Friday 30 June 2017 10:55
by ropske
I ordered a ssd usb HD
I will try it with this device, hopefully i dont have problems anymore
Verzonden vanaf mijn iPhone met Tapatalk