dpkg problem

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

dpkg problem

Post 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?
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: dpkg problem

Post 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/
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: dpkg problem

Post 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) :(
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: dpkg problem

Post 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 ?
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: dpkg problem

Post 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.
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: dpkg problem

Post 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.
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: dpkg problem

Post by Egregius »

Power supply?
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: dpkg problem

Post by ropske »

It is the original one, what one are you using?
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: dpkg problem

Post 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.
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: dpkg problem

Post 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?
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: dpkg problem

Post 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
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest