Hello. I just reflashed my phone (again) to deal with an ongoing battery suspend issue (again). The reflashing has not fixed the problem (again). I flashed the phone with the unencrpyted image of PureOS for the Librem 5.
Also, I have a new issue, Apt is not finding packages I previously was able to get. For instance, I tried installing ‘pip’ as a package in Apt and I receive the following message:
purism@pureos:~$ sudo apt install pip
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Note, selecting ‘python3-pip’ instead of ‘pip’
The following additional packages will be installed:
binutils binutils-aarch64-linux-gnu binutils-common build-essential dpkg-dev fakeroot g++ g+±10 gcc gcc-10
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan6 libbinutils libc-dev-bin
libc-devtools libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libexpat1-dev libfakeroot libgcc-10-dev
libitm1 libjs-sphinxdoc libjs-underscore liblsan0 libnsl-dev libpython3-dev libpython3.9-dev libstdc+±10-dev
libtirpc-dev libtsan0 libubsan1 linux-libc-dev make manpages manpages-dev patch python-pip-whl python3-dev
python3-distutils python3-setuptools python3-wheel python3.9-dev zlib1g-dev
Suggested packages:
binutils-doc debian-keyring gcc-10-doc gcc-multilib autoconf automake libtool flex bison gdb gcc-doc
gcc-10-locales glibc-doc libstdc+±10-doc make-doc ed diffutils-doc python-setuptools-doc
The following NEW packages will be installed:
binutils binutils-aarch64-linux-gnu binutils-common build-essential dpkg-dev fakeroot g++ g+±10 gcc gcc-10
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan6 libbinutils libc-dev-bin
libc-devtools libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libexpat1-dev libfakeroot libgcc-10-dev
libitm1 libjs-sphinxdoc libjs-underscore liblsan0 libnsl-dev libpython3-dev libpython3.9-dev libstdc+±10-dev
libtirpc-dev libtsan0 libubsan1 linux-libc-dev make manpages manpages-dev patch python-pip-whl python3-dev
python3-distutils python3-pip python3-setuptools python3-wheel python3.9-dev zlib1g-dev
0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,547 kB/56.3 MB of archives.
After this operation, 213 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 Index of /pureos/ byzantium/main arm64 libc-dev-bin arm64 2.31-13+deb11u8
404 Not Found [IP: 49.13.57.135 443]
Err:2 Index of /pureos/ byzantium/main arm64 libc6-dev arm64 2.31-13+deb11u8
404 Not Found [IP: 49.13.57.135 443]
Err:3 Index of /pureos/ byzantium/main arm64 libc-devtools arm64 2.31-13+deb11u8
404 Not Found [IP: 49.13.57.135 443]
E: Failed to fetch https://repo.pureos.net/pureos/pool/main/g/glibc/libc-dev-bin_2.31-13%2Bdeb11u8_arm64.deb 404 Not Found [IP: 49.13.57.135 443]
E: Failed to fetch https://repo.pureos.net/pureos/pool/main/g/glibc/libc6-dev_2.31-13%2Bdeb11u8_arm64.deb 404 Not Found [IP: 49.13.57.135 443]
E: Failed to fetch https://repo.pureos.net/pureos/pool/main/g/glibc/libc-devtools_2.31-13%2Bdeb11u8_arm64.deb 404 Not Found [IP: 49.13.57.135 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
It looks like the repo does not have the package - which I find odd. I also tried installing VLC and that is missing packages in the repo as well. What is going on?
I checked the Apt souces.list and it all looks normal to me. Here is the output:
purism@pureos:~$ sudo apt update
[sudo] password for purism:
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Get:2 https://repo.pureos.net/pureos byzantium InRelease [9,641 B]
Get:3 https://repo.pureos.net/pureos byzantium-updates InRelease [9,649 B]
Get:4 https://repo.pureos.net/pureos byzantium-security InRelease [9,650 B]
Fetched 28.9 kB in 19s (1,542 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
30 packages can be upgraded. Run 'apt list --upgradable' to see them.
purism@pureos:~$ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
bind9-host bind9-libs brave-browser brave-keyring
firefox-esr fonts-opensymbol libjuh-java libjurt-java
liblibreoffice-java libreoffice-base-core
libreoffice-common libreoffice-core libreoffice-math
libreoffice-style-colibre libreoffice-writer
libridl-java libuno-cppu3 libuno-cppuhelpergcc3-3
libuno-purpenvhelpergcc3-3 libuno-sal3
libuno-salhelpergcc3-3 libunoloader-java openjdk-17-jdk
openjdk-17-jdk-headless openjdk-17-jre
openjdk-17-jre-headless python3-uno uno-libs-private
ure wpasupplicant
30 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/352 MB of archives.
After this operation, 2,115 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 138761 files and directories currentl
y installed.)
Preparing to unpack .../00-brave-keyring_1.17_all.deb ...
Unpacking brave-keyring (1.17) over (1.16) ...
Preparing to unpack .../01-brave-browser_1.68.141_arm64.deb
...
Unpacking brave-browser (1.68.141) over (1.67.134) ...
Preparing to unpack .../02-bind9-libs_1%3a9.16.50-1~deb11u1
_arm64.deb ...
Unpacking bind9-libs:arm64 (1:9.16.50-1~deb11u1) over (1:9.
16.48-1) ...
Preparing to unpack .../03-bind9-host_1%3a9.16.50-1~deb11u1
_arm64.deb ...
Unpacking bind9-host (1:9.16.50-1~deb11u1) over (1:9.16.48-
1) ...
Preparing to unpack .../04-firefox-esr_115.14.0esr-1~deb11u
1_arm64.deb ...
Leaving 'diversion of /usr/bin/firefox to /usr/bin/firefox.
real by firefox-esr'
Unpacking firefox-esr (115.14.0esr-1~deb11u1) over (115.13.
0esr-1~deb11u1) ...
Preparing to unpack .../05-fonts-opensymbol_2%3a102.11+LibO
7.0.4-4+deb11u10_all.deb ...
Unpacking fonts-opensymbol (2:102.11+LibO7.0.4-4+deb11u10)
over (2:102.11+LibO7.0.4-4+deb11u9) ...
Preparing to unpack .../06-libridl-java_1%3a7.0.4-4+deb11u1
0_all.deb ...
Unpacking libridl-java (1:7.0.4-4+deb11u10) over (1:7.0.4-4
+deb11u9) ...
Preparing to unpack .../07-libjuh-java_1%3a7.0.4-4+deb11u10
_all.deb ...
Unpacking libjuh-java (1:7.0.4-4+deb11u10) over (1:7.0.4-4+
deb11u9) ...
Preparing to unpack .../08-libjurt-java_1%3a7.0.4-4+deb11u1
0_all.deb ...
Unpacking libjurt-java (1:7.0.4-4+deb11u10) over (1:7.0.4-4
+deb11u9) ...
Preparing to unpack .../09-ure_1%3a7.0.4-4+deb11u10_arm64.d
eb ...
Unpacking ure (1:7.0.4-4+deb11u10) over (1:7.0.4-4+deb11u9)
...
Preparing to unpack .../10-libunoloader-java_1%3a7.0.4-4+de
b11u10_all.deb ...
Unpacking libunoloader-java (1:7.0.4-4+deb11u10) over (1:7.
0.4-4+deb11u9) ...
Preparing to unpack .../11-liblibreoffice-java_1%3a7.0.4-4+
deb11u10_all.deb ...
Unpacking liblibreoffice-java (1:7.0.4-4+deb11u10) over (1:
7.0.4-4+deb11u9) ...
Preparing to unpack .../12-libuno-sal3_1%3a7.0.4-4+deb11u10
_arm64.deb ...
Unpacking libuno-sal3 (1:7.0.4-4+deb11u10) over (1:7.0.4-4+
deb11u9) ...
Preparing to unpack .../13-libuno-salhelpergcc3-3_1%3a7.0.4
-4+deb11u10_arm64.deb ...
Unpacking libuno-salhelpergcc3-3 (1:7.0.4-4+deb11u10) over
(1:7.0.4-4+deb11u9) ...
Preparing to unpack .../14-libuno-cppu3_1%3a7.0.4-4+deb11u1
0_arm64.deb ...
Unpacking libuno-cppu3 (1:7.0.4-4+deb11u10) over (1:7.0.4-4
+deb11u9) ...
Preparing to unpack .../15-libuno-cppuhelpergcc3-3_1%3a7.0.
4-4+deb11u10_arm64.deb ...
Unpacking libuno-cppuhelpergcc3-3 (1:7.0.4-4+deb11u10) over
(1:7.0.4-4+deb11u9) ...
Preparing to unpack .../16-uno-libs-private_1%3a7.0.4-4+deb
11u10_arm64.deb ...
Unpacking uno-libs-private (1:7.0.4-4+deb11u10) over (1:7.0
.4-4+deb11u9) ...
Preparing to unpack .../17-libuno-purpenvhelpergcc3-3_1%3a7
.0.4-4+deb11u10_arm64.deb ...
Unpacking libuno-purpenvhelpergcc3-3 (1:7.0.4-4+deb11u10) o
ver (1:7.0.4-4+deb11u9) ...
Preparing to unpack .../18-libreoffice-math_1%3a7.0.4-4+deb
11u10_arm64.deb ...
Unpacking libreoffice-math (1:7.0.4-4+deb11u10) over (1:7.0
.4-4+deb11u9) ...
Preparing to unpack .../19-libreoffice-style-colibre_1%3a7.
0.4-4+deb11u10_all.deb ...
Unpacking libreoffice-style-colibre (1:7.0.4-4+deb11u10) ov
er (1:7.0.4-4+deb11u9) ...
Preparing to unpack .../20-python3-uno_1%3a7.0.4-4+deb11u10
_arm64.deb ...
Unpacking python3-uno (1:7.0.4-4+deb11u10) over (1:7.0.4-4+
deb11u9) ...
Preparing to unpack .../21-libreoffice-base-core_1%3a7.0.4-
4+deb11u10_arm64.deb ...
Unpacking libreoffice-base-core (1:7.0.4-4+deb11u10) over (
1:7.0.4-4+deb11u9) ...
Preparing to unpack .../22-libreoffice-writer_1%3a7.0.4-4+d
eb11u10_arm64.deb ...
Unpacking libreoffice-writer (1:7.0.4-4+deb11u10) over (1:7
.0.4-4+deb11u9) ...
Preparing to unpack .../23-libreoffice-core_1%3a7.0.4-4+deb
11u10_arm64.deb ...
Unpacking libreoffice-core (1:7.0.4-4+deb11u10) over (1:7.0
.4-4+deb11u9) ...
Preparing to unpack .../24-libreoffice-common_1%3a7.0.4-4+d
eb11u10_all.deb ...
Unpacking libreoffice-common (1:7.0.4-4+deb11u10) over (1:7
.0.4-4+deb11u9) ...
Preparing to unpack .../25-openjdk-17-jdk_17.0.12+7-2~deb11
u1_arm64.deb ...
Unpacking openjdk-17-jdk:arm64 (17.0.12+7-2~deb11u1) over (
17.0.11+9-1~deb11u1) ...
Preparing to unpack .../26-openjdk-17-jdk-headless_17.0.12+
7-2~deb11u1_arm64.deb ...
Unpacking openjdk-17-jdk-headless:arm64 (17.0.12+7-2~deb11u
1) over (17.0.11+9-1~deb11u1) ...
Preparing to unpack .../27-openjdk-17-jre_17.0.12+7-2~deb11
u1_arm64.deb ...
Unpacking openjdk-17-jre:arm64 (17.0.12+7-2~deb11u1) over (
17.0.11+9-1~deb11u1) ...
Preparing to unpack .../28-openjdk-17-jre-headless_17.0.12+
7-2~deb11u1_arm64.deb ...
Unpacking openjdk-17-jre-headless:arm64 (17.0.12+7-2~deb11u
1) over (17.0.11+9-1~deb11u1) ...
Preparing to unpack .../29-wpasupplicant_2%3a2.9.0-21+deb11
u2_arm64.deb ...
Unpacking wpasupplicant (2:2.9.0-21+deb11u2) over (2:2.9.0-
21+deb11u1) ...
Setting up bind9-libs:arm64 (1:9.16.50-1~deb11u1) ...
Setting up libuno-sal3 (1:7.0.4-4+deb11u10) ...
Setting up brave-keyring (1.17) ...
Setting up wpasupplicant (2:2.9.0-21+deb11u2) ...
Setting up libreoffice-style-colibre (1:7.0.4-4+deb11u10) .
..
Setting up openjdk-17-jre-headless:arm64 (17.0.12+7-2~deb11
u1) ...
Installing new version of config file /etc/java-17-openjdk/
jfr/default.jfc ...
Installing new version of config file /etc/java-17-openjdk/
jfr/profile.jfc ...
Installing new version of config file /etc/java-17-openjdk/
security/java.security ...
Setting up brave-browser (1.68.141) ...
Setting up libuno-salhelpergcc3-3 (1:7.0.4-4+deb11u10) ...
Setting up libunoloader-java (1:7.0.4-4+deb11u10) ...
Setting up bind9-host (1:9.16.50-1~deb11u1) ...
Setting up firefox-esr (115.14.0esr-1~deb11u1) ...
Setting up fonts-opensymbol (2:102.11+LibO7.0.4-4+deb11u10)
...
Setting up openjdk-17-jre:arm64 (17.0.12+7-2~deb11u1) ...
Setting up libuno-cppu3 (1:7.0.4-4+deb11u10) ...
Setting up openjdk-17-jdk-headless:arm64 (17.0.12+7-2~deb11
u1) ...
Setting up libuno-purpenvhelpergcc3-3 (1:7.0.4-4+deb11u10)
...
Setting up uno-libs-private (1:7.0.4-4+deb11u10) ...
Setting up openjdk-17-jdk:arm64 (17.0.12+7-2~deb11u1) ...
Setting up libuno-cppuhelpergcc3-3 (1:7.0.4-4+deb11u10) ...
Setting up ure (1:7.0.4-4+deb11u10) ...
Setting up liblibreoffice-java (1:7.0.4-4+deb11u10) ...
Setting up libjurt-java (1:7.0.4-4+deb11u10) ...
Setting up libreoffice-common (1:7.0.4-4+deb11u10) ...
Setting up libjuh-java (1:7.0.4-4+deb11u10) ...
Setting up libreoffice-core (1:7.0.4-4+deb11u10) ...
Setting up libridl-java (1:7.0.4-4+deb11u10) ...
Setting up libreoffice-math (1:7.0.4-4+deb11u10) ...
Setting up libreoffice-base-core (1:7.0.4-4+deb11u10) ...
Setting up python3-uno (1:7.0.4-4+deb11u10) ...
Setting up libreoffice-writer (1:7.0.4-4+deb11u10) ...
Processing triggers for libc-bin (2.31-13+deb11u10) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for dbus (1.12.28-0+deb11u1) ...
Processing triggers for shared-mime-info (2.0-1) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for fontconfig (2.13.1-4.2) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
purism@pureos:~$
Edit:
I was able to download a new program, zbarcam-gtk:
purism@pureos:~$ sudo apt install zbarcam-gtk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libzbargtk0
The following NEW packages will be installed:
libzbargtk0 zbarcam-gtk
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 57.6 kB of archives.
After this operation, 116 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://repo.pureos.net/pureos byzantium/main arm64 libzbargtk0 arm64 0.23.90-1+deb11u1 [30.1 kB]
Get:2 https://repo.pureos.net/pureos byzantium/main arm64 zbarcam-gtk arm64 0.23.90-1+deb11u1 [27.4 kB]
Fetched 57.6 kB in 2s (28.1 kB/s)
Selecting previously unselected package libzbargtk0:arm64.
(Reading database ... 138762 files and directories currentl
y installed.)
Preparing to unpack .../libzbargtk0_0.23.90-1+deb11u1_arm64
.deb ...
Unpacking libzbargtk0:arm64 (0.23.90-1+deb11u1) ...
Selecting previously unselected package zbarcam-gtk.
Preparing to unpack .../zbarcam-gtk_0.23.90-1+deb11u1_arm64
.deb ...
Unpacking zbarcam-gtk (0.23.90-1+deb11u1) ...
Setting up libzbargtk0:arm64 (0.23.90-1+deb11u1) ...
Setting up zbarcam-gtk (0.23.90-1+deb11u1) ...
Processing triggers for libc-bin (2.31-13+deb11u10) ...
purism@pureos:~$
You didn’t. It’s a known bug with still unknown cause. For some reason, sometimes apt thinks the downloaded package lists are up-to-date even though they aren’t, so it doesn’t download fresh ones.