Luigi3711
Posts: 22
Joined: Sat Dec 30, 2017 3:24 pm

How to change 32 bit packages to default architecture on a raspberry pi 3

Sat Dec 30, 2017 4:10 pm

Hi, I have a raspberry pi 3 and I changed its architecture to 32-bit packages to install wine. I would like to change my architecture back to the default architecture so that I may be able to update my pi regularly.

If anyone has advice they can give me, it would be very helpful.

Thanks,

Christian N
Last edited by Luigi3711 on Tue Jan 02, 2018 5:48 pm, edited 1 time in total.

fruitoftheloom
Posts: 20196
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Sat Dec 30, 2017 4:19 pm

Luigi3711 wrote:
Sat Dec 30, 2017 4:10 pm
Hi, I have a raspberry pi 3 and I changed its architecture to 32-bit packages to install wine. I would like to change my architecture back to the default architecture so that I may be able to update my pi regularly.

If anyone has advice they can give me, it would be very helpful.

Thanks,

Christian N

WINE will only run on x86 CPU Architecture.
adieu

Asus CS10 Chromebit / HP Envy 4500 Wireless Printer / Raspberry Pi Model 2B v1.1 / RealVNC Software...

User avatar
DougieLawson
Posts: 35594
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Sat Dec 30, 2017 4:30 pm

Your best bet because you've made a total mess is to scrap your SDCard and start again with a fresh copy of plain Raspbian 2017-11-29.

You can't change the architecture as that will simple install a bunch of code that just won't run. The problem is the stuff that gets pulled in like system libraries that will leave your system unusable and broken beyond repair.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

W. H. Heydt
Posts: 10621
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Sat Dec 30, 2017 5:08 pm

Most OSes for the Pi run it in 32-bit mode. It is unlikely that you "changed it's architecture to 32-bit", despite the fact that it can run in a 64-bit mode.

Luigi3711
Posts: 22
Joined: Sat Dec 30, 2017 3:24 pm

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Tue Jan 02, 2018 5:47 pm

Thank you, I will re-install NOOBS onto my SD card.

Luigi3711
Posts: 22
Joined: Sat Dec 30, 2017 3:24 pm

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Sun Jan 14, 2018 11:16 pm

So I changed my Micro SD card and I am still having the same problems.

any ideas?

fruitoftheloom
Posts: 20196
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Mon Jan 15, 2018 12:07 am

Luigi3711 wrote:
Sun Jan 14, 2018 11:16 pm
So I changed my Micro SD card and I am still having the same problems.

any ideas?

What problem, your Original Post stated you have tried to install x86 Debian Packages in Raspbian (Debian) ARMHF.
adieu

Asus CS10 Chromebit / HP Envy 4500 Wireless Printer / Raspberry Pi Model 2B v1.1 / RealVNC Software...

Luigi3711
Posts: 22
Joined: Sat Dec 30, 2017 3:24 pm

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Mon Jan 15, 2018 1:45 am

Wouldn't that have only affected the old micro SD card?
I am using a fresh 32 GB Samsung Evo Plus Micro Sd card and I still have the same problems. I believe that it has something to do with the RPI unit itself.

User avatar
Jednorozec
Posts: 809
Joined: Sun Nov 24, 2013 2:17 pm
Location: Deposit, NY

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Mon Jan 15, 2018 3:46 am

Yes, it does have something to do with the RPi - it cannot run wine.
The most important leg of a three legged stool is the one that's missing.
It's called thinking. Why don't you try it sometime?

itimpi
Posts: 1084
Joined: Sun Sep 25, 2011 11:44 am
Location: Potters Bar, United Kingdom
Contact: Website

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Mon Jan 15, 2018 3:48 am

It might help if you gave more information about the problem you are having? You do not seem to have stated what it is as far as I can tell.

Luigi3711
Posts: 22
Joined: Sat Dec 30, 2017 3:24 pm

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Mon Jan 15, 2018 9:08 pm

I tried to install wine and I tried to install it from the instructions from wineHQ carelessly without reading the note. the first instruction it gave me was to "change packages to 32-bit". I entered the command. Now I cannot update my pi normally. I always get errors when I do.


When I run and sudo apt-get update and sudo apt-get upgrade, for the upgrade I get errors. Also, when I perform this command, it always says that 0 kB or 14 kB (one of those always shows) of additional disk space will be used. This occurs every time I perform this operation. When I do

Code: Select all

sudo apt-get upgrade
, I get this:

pi@raspberrypi:~ $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
python3-scrollphathd
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
12 not fully installed or removed.
Need to get 0 B/18.0 kB of archives.
After this operation, 14.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
(Reading database ... 176229 files and directories currently installed.)
Preparing to unpack .../python3-scrollphathd_1.1.0_all.deb ...
Unpacking python3-scrollphathd (1.1.0) over (1.0.1) ...
dpkg: error processing archive /var/cache/apt/archives/python3-scrollphathd_1.1.0_all.deb (--unpack):
trying to overwrite '/usr/bin/scrollphathd_api', which is also in package python-scrollphathd 1.1.0
Errors were encountered while processing:
/var/cache/apt/archives/python3-scrollphathd_1.1.0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

When I try to install a program such as Wine, I get this:

pi@raspberrypi:~ $ sudo apt-get install wine
Reading package lists... Done
Building dependency tree
Reading state information... Done
wine is already the newest version (1.8.7-2).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
12 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up ca-certificates-java (20170531+nmu1) ...
Error: missing `server' JVM at `/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/libjvm.so'.
Please install or use the JRE or JDK that contains these missing components.
dpkg: error processing package ca-certificates-java (--configure):
subprocess installed post-installation script returned error exit status 4
dpkg: dependency problems prevent configuration of openjdk-8-jre-headless:armhf:
openjdk-8-jre-headless:armhf depends on ca-certificates-java; however:
Package ca-certificates-java is not configured yet.

dpkg: error processing package openjdk-8-jre-headless:armhf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openjdk-8-jdk-headless:armhf:
openjdk-8-jdk-headless:armhf depends on openjdk-8-jre-headless (= 8u151-b12-1~deb9u1); however:
Package openjdk-8-jre-headless:armhf is not configured yet.

dpkg: error processing package openjdk-8-jdk-headless:armhf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openjdk-8-jdk:armhf:
openjdk-8-jdk:armhf depends on openjdk-8-jdk-headless (= 8u151-b12-1~deb9u1); however:
Package openjdk-8-jdk-headless:armhf is not configured yet.

dpkg: error processing package openjdk-8-jdk:armhf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openjdk-8-jre:armhf:
openjdk-8-jre:armhf depends on openjdk-8-jre-headless (= 8u151-b12-1~deb9u1); however:
Package openjdk-8-jre-headless:armhf is not configured yet.

dpkg: error processing package openjdk-8-jre:armhf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-jdk:
default-jdk depends on openjdk-8-jdk; however:
Package openjdk-8-jdk:armhf is not configured yet.

dpkg: error processing package default-jdk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-jre-headless:
default-jre-headless depends on openjdk-8-jre-headless; however:
Package openjdk-8-jre-headless:armhf is not configured yet.

dpkg: error processing package default-jre-headless (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-jdk-headless:
default-jdk-headless depends on default-jre-headless (= 2:1.8-58+b2); however:
Package default-jre-headless is not configured yet.
default-jdk-headless depends on openjdk-8-jdk-headless; however:
Package openjdk-8-jdk-headless:armhf is not configured yet.

dpkg: error processing package default-jdk-headless (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of icedtea-netx:armhf:
icedtea-netx:armhf depends on openjdk-8-jre; however:
Package openjdk-8-jre:armhf is not configured yet.

dpkg: error processing package icedtea-netx:armhf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of icedtea-8-plugin:armhf:
icedtea-8-plugin:armhf depends on openjdk-8-jre; however:
Package openjdk-8-jre:armhf is not configured yet.
icedtea-8-plugin:armhf depends on icedtea-netx (= 1.6.2-3.1); however:
Package icedtea-netx:armhf is not configured yet.

dpkg: error processing package icedtea-8-plugin:armhf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-jre:
default-jre depends on default-jre-headless (= 2:1.8-58+b2); however:
Package default-jre-headless is not configured yet.
default-jre depends on openjdk-8-jre; however:
Package openjdk-8-jre:armhf is not configured yet.

dpkg: error processing package default-jre (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-java-plugin:
default-java-plugin depends on default-jre (= 2:1.8-58+b2); however:
Package default-jre is not configured yet.
default-java-plugin depends on icedtea-8-plugin; however:
Package icedtea-8-plugin:armhf is not configured yet.

dpkg: error processing package default-java-plugin (--configure):
dependency problems - leaving unconfigured
Processing triggers for ca-certificates (20161130+nmu1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...

Error: missing `server' JVM at `/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/libjvm.so'.
Please install or use the JRE or JDK that contains these missing components.
E: /etc/ca-certificates/update.d/jks-keystore exited with code 1.
Updating Mono key store
Linux Cert Store Sync - version 4.6.2.0
Synchronize local certs with certs from local Linux trust store.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.

I already trust 166, your new list has 166
Import process completed.
Done
done.
Errors were encountered while processing:
ca-certificates-java
openjdk-8-jre-headless:armhf
openjdk-8-jdk-headless:armhf
openjdk-8-jdk:armhf
openjdk-8-jre:armhf
default-jdk
default-jre-headless
default-jdk-headless
icedtea-netx:armhf
icedtea-8-plugin:armhf
default-jre
default-java-plugin
E: Sub-process /usr/bin/dpkg returned an error code (1)


I normally get many more error messages than this, but this is all I could retrieve from the command line.

If I could get some advice on how to fix it, it would be very helpful.
Last edited by Luigi3711 on Mon Jan 15, 2018 9:17 pm, edited 1 time in total.

User avatar
davidcoton
Posts: 3951
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Mon Jan 15, 2018 9:14 pm

viewtopic.php?f=28&t=202523
Read the whole thread before doing anything.
Signature retired

User avatar
DougieLawson
Posts: 35594
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Mon Jan 15, 2018 9:25 pm

sudo dpkg -i --force-overwrite /var/cache/apt/archives/python3-scrollphathd_1.1.0_all.deb
Last edited by DougieLawson on Mon Jan 15, 2018 11:09 pm, edited 1 time in total.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Luigi3711
Posts: 22
Joined: Sat Dec 30, 2017 3:24 pm

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Mon Jan 15, 2018 9:32 pm

I am still having the same problem. It has something to do with a java plugin and armhf.

User avatar
davidcoton
Posts: 3951
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Mon Jan 15, 2018 9:34 pm

Luigi3711 wrote:
Mon Jan 15, 2018 9:32 pm
I am still having the same problem. It has something to do with a java plugin and armhf.
You had more than one problem. The above should have solved one of them. Sorry I can't help with the rest.
Signature retired

Luigi3711
Posts: 22
Joined: Sat Dec 30, 2017 3:24 pm

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Mon Jan 15, 2018 10:24 pm

Thanks, but I still cannot find any method for fixing this.

Heater
Posts: 12976
Joined: Tue Jul 17, 2012 3:02 pm

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Tue Jan 16, 2018 12:36 am

You already have your answer from Dougie above:
Your best bet because you've made a total mess is to scrap your SDCard and start again with a fresh copy of plain Raspbian 2017-11-29.
When you have that installed:

Do not mess with trying to change the architecture of anything.

Do not try and install Wine. It does not work on the ARM processor of the Raspberry Pi

If you have a problem with Java for whatever reason that is a new issue and could be asked in a new thread.

Luigi3711
Posts: 22
Joined: Sat Dec 30, 2017 3:24 pm

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Tue Jan 16, 2018 1:23 am

I have gotten another SD card (32 GB Samsung Evo Plus) and I still have the same problem interestingly enough. Therefore it could be something with the rpi unit itself. I will have to replace it.

User avatar
Gavinmc42
Posts: 3468
Joined: Wed Aug 28, 2013 3:31 am

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Tue Jan 16, 2018 2:42 am

Does Exagear runs Wine?
https://eltechs.com/product/exagear-desktop/

Standard Arm 32bit Debian, the Raspbian version cannot run/install Wine.
You cannot fix it to run Wine unless you use an x86 "emulator" like Exagear.

Pi's are ARM architecture and cannot normally run x86 code.
However you may be able to run Wine on a Pixel Desktop OS on a x86 box.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Heater
Posts: 12976
Joined: Tue Jul 17, 2012 3:02 pm

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Tue Jan 16, 2018 8:36 am

Luigi3711,
I have gotten another SD card (32 GB Samsung Evo Plus) and I still have the same problem interestingly enough. Therefore it could be something with the rpi unit itself. I will have to replace it.
It would be very helpful if you would state exactly what you have done and exactly what the problem is.

Did you put a new Raspbian image on the new SD card?

How did you put it on the card?

What is not working when you boot the Pi with that new SD and image.

Any error messages to show us?

Did you try and install Wine again? I hope not you have been told is does not work on the Pi enough times.

Luigi3711
Posts: 22
Joined: Sat Dec 30, 2017 3:24 pm

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Tue Jan 16, 2018 9:42 pm

One day I tried to install wine from WineHQ carelessly without looking at all the notes on the downloads page. The first instruction for Debian users was to "enable 32 bit packages" in which I entered the code into the command line.

Now, whenever I do sudo apt-get upgrade after sudo apt-get update, I get error messages such as these:

pi@raspberrypi:~ $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
fonts-wine libodbc1 libosmesa6 libpcap0.8 libwine wine32
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
gir1.2-gdkpixbuf-2.0 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common
python3-scrollphathd
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
12 not fully installed or removed.
Need to get 496 kB of archives.
After this operation, 4,096 B disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://archive.raspberrypi.org/debian stretch/main armhf python3-scrollphathd all 1.1.1 [17.9 kB]
Get:2 http://muug.ca/mirror/raspbian/raspbian stretch/main armhf libgdk-pixbuf2.0-0 armhf 2.36.5-2+deb9u2 [152 kB]
Get:3 http://muug.ca/mirror/raspbian/raspbian stretch/main armhf libgdk-pixbuf2.0-common all 2.36.5-2+deb9u2 [311 kB]
Get:4 http://muug.ca/mirror/raspbian/raspbian stretch/main armhf gir1.2-gdkpixbuf-2.0 armhf 2.36.5-2+deb9u2 [15.4 kB]
Fetched 496 kB in 1s (308 kB/s)
Reading changelogs... Done
(Reading database ... 176166 files and directories currently installed.)
Preparing to unpack .../libgdk-pixbuf2.0-0_2.36.5-2+deb9u2_armhf.deb ...
Unpacking libgdk-pixbuf2.0-0:armhf (2.36.5-2+deb9u2) over (2.36.5-2+deb9u1) ...
Preparing to unpack .../libgdk-pixbuf2.0-common_2.36.5-2+deb9u2_all.deb ...
Unpacking libgdk-pixbuf2.0-common (2.36.5-2+deb9u2) over (2.36.5-2+deb9u1) ...
Preparing to unpack .../gir1.2-gdkpixbuf-2.0_2.36.5-2+deb9u2_armhf.deb ...
Unpacking gir1.2-gdkpixbuf-2.0:armhf (2.36.5-2+deb9u2) over (2.36.5-2+deb9u1) ...
Preparing to unpack .../python3-scrollphathd_1.1.1_all.deb ...
Unpacking python3-scrollphathd (1.1.1) over (1.1.0) ...
Setting up ca-certificates-java (20170531+nmu1) ...
Error: missing `server' JVM at `/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/libjvm.so'.
Please install or use the JRE or JDK that contains these missing components.
dpkg: error processing package ca-certificates-java (--configure):
subprocess installed post-installation script returned error exit status 4
Setting up libgdk-pixbuf2.0-common (2.36.5-2+deb9u2) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Setting up python3-scrollphathd (1.1.1) ...
dpkg: dependency problems prevent configuration of openjdk-8-jre-headless:armhf:
openjdk-8-jre-headless:armhf depends on ca-certificates-java; however:
Package ca-certificates-java is not configured yet.

dpkg: error processing package openjdk-8-jre-headless:armhf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openjdk-8-jdk-headless:armhf:
openjdk-8-jdk-headless:armhf depends on openjdk-8-jre-headless (= 8u151-b12-1~deb9u1); however:
Package openjdk-8-jre-headless:armhf is not configured yet.

dpkg: error processing package openjdk-8-jdk-headless:armhf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openjdk-8-jdk:armhf:
openjdk-8-jdk:armhf depends on openjdk-8-jdk-headless (= 8u151-b12-1~deb9u1); however:
Package openjdk-8-jdk-headless:armhf is not configured yet.

dpkg: error processing package openjdk-8-jdk:armhf (--configure):
dependency problems - leaving unconfigured
Setting up libgdk-pixbuf2.0-0:armhf (2.36.5-2+deb9u2) ...
Setting up gir1.2-gdkpixbuf-2.0:armhf (2.36.5-2+deb9u2) ...
dpkg: dependency problems prevent configuration of openjdk-8-jre:armhf:
openjdk-8-jre:armhf depends on openjdk-8-jre-headless (= 8u151-b12-1~deb9u1); however:
Package openjdk-8-jre-headless:armhf is not configured yet.

dpkg: error processing package openjdk-8-jre:armhf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-jdk:
default-jdk depends on openjdk-8-jdk; however:
Package openjdk-8-jdk:armhf is not configured yet.

dpkg: error processing package default-jdk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-jre-headless:
default-jre-headless depends on openjdk-8-jre-headless; however:
Package openjdk-8-jre-headless:armhf is not configured yet.

dpkg: error processing package default-jre-headless (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-jdk-headless:
default-jdk-headless depends on default-jre-headless (= 2:1.8-58+b2); however:
Package default-jre-headless is not configured yet.
default-jdk-headless depends on openjdk-8-jdk-headless; however:
Package openjdk-8-jdk-headless:armhf is not configured yet.

dpkg: error processing package default-jdk-headless (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of icedtea-netx:armhf:
icedtea-netx:armhf depends on openjdk-8-jre; however:
Package openjdk-8-jre:armhf is not configured yet.

dpkg: error processing package icedtea-netx:armhf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of icedtea-8-plugin:armhf:
icedtea-8-plugin:armhf depends on openjdk-8-jre; however:
Package openjdk-8-jre:armhf is not configured yet.
icedtea-8-plugin:armhf depends on icedtea-netx (= 1.6.2-3.1); however:
Package icedtea-netx:armhf is not configured yet.

dpkg: error processing package icedtea-8-plugin:armhf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-jre:
default-jre depends on default-jre-headless (= 2:1.8-58+b2); however:
Package default-jre-headless is not configured yet.
default-jre depends on openjdk-8-jre; however:
Package openjdk-8-jre:armhf is not configured yet.

dpkg: error processing package default-jre (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-java-plugin:
default-java-plugin depends on default-jre (= 2:1.8-58+b2); however:
Package default-jre is not configured yet.
default-java-plugin depends on icedtea-8-plugin; however:
Package icedtea-8-plugin:armhf is not configured yet.

dpkg: error processing package default-java-plugin (--configure):
dependency problems - leaving unconfigured
Processing triggers for ca-certificates (20161130+nmu1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...

Error: missing `server' JVM at `/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/libjvm.so'.
Please install or use the JRE or JDK that contains these missing components.
E: /etc/ca-certificates/update.d/jks-keystore exited with code 1.
Updating Mono key store
Linux Cert Store Sync - version 4.6.2.0
Synchronize local certs with certs from local Linux trust store.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.

I already trust 166, your new list has 166
Import process completed.
Done
done.
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Errors were encountered while processing:
ca-certificates-java
openjdk-8-jre-headless:armhf
openjdk-8-jdk-headless:armhf
openjdk-8-jdk:armhf
openjdk-8-jre:armhf
default-jdk
default-jre-headless
default-jdk-headless
icedtea-netx:armhf
icedtea-8-plugin:armhf
default-jre
default-java-plugin
E: Sub-process /usr/bin/dpkg returned an error code (1)

After I realized that there was a problem, I decided to delete the raspbian image that was on my card and put a new one on.

I even changed my micro SD card to a Samsung 32 GB Evo Plus card.

Nothing seems to be different when the pi is booting up, however when I tried to upgrade it did not bring me to the new raspbian update because I still see the kernel booting up.

I haven't tried to install wine ever since I saw the error messages and in fact, I removed wine.

I am still having the same issues with upgrading even with a new micro SD card.

User avatar
Gavinmc42
Posts: 3468
Joined: Wed Aug 28, 2013 3:31 am

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Wed Jan 17, 2018 7:03 am

I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Heater
Posts: 12976
Joined: Tue Jul 17, 2012 3:02 pm

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Wed Jan 17, 2018 8:23 am

What operating system are you actually trying to install? Where did you get it from?

Get a new SD card.

Download Raspbian from here: https://www.raspberrypi.org/downloads/raspbian/

Follow the instructions.

This will work. Unless your Pi is broken hardware wise. Which I doubt,

This procedure has worked for millions of people before you, I feel sure it will work for you.

Do report back any errors if anything bad happens.

Luigi3711
Posts: 22
Joined: Sat Dec 30, 2017 3:24 pm

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Fri Jan 19, 2018 2:06 am

I found another reason why I had these errors.

I had installed the Eclipse IDE, and somehow the installation affected accessed repositories and java plugins.

I could format the SD card, and then flash the raspbian image back to the Sd card, or reinstall the image from noobs and it would reset the pi to "factory settings". It would function normally until I decide to install the IDE again. Both wine and the IDE affected the pi from accessing the repos.

Thanks for all the help
Last edited by Luigi3711 on Fri Jan 19, 2018 2:11 am, edited 1 time in total.

fruitoftheloom
Posts: 20196
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: How to change 32 bit packages to default architecture on a raspberry pi 3

Fri Jan 19, 2018 2:09 am

Luigi3711 wrote:
Fri Jan 19, 2018 2:06 am
I found another reason why I had these errors.

I had installed the Eclipse IDE, and somehow the installation affected accessed repositories and java plugins.

Thanks for all the help

Yes as in your original post running incompatable software...
adieu

Asus CS10 Chromebit / HP Envy 4500 Wireless Printer / Raspberry Pi Model 2B v1.1 / RealVNC Software...

Return to “General discussion”