PINE64
changing from bullseye to bookworm to install mmsd-tng - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+--- Thread: changing from bullseye to bookworm to install mmsd-tng (/showthread.php?tid=18093)



changing from bullseye to bookworm to install mmsd-tng - jyoung - 03-31-2023

I'm trying to change from the bullseye repository to the bookworm, and I'm getting an error about the repository being unsigned. In /etc/apt/sources.list.d/mobian.list

I changed

deb http://repo.mobian-project.org/ bullseye main non-free

to

deb http://repo.mobian-project.org/ bookworm main non-free

but now when I run

apt update

I get

Hit:1 http://deb.debian.org/debian bullseye InRelease
Get:2 http://repo.mobian-project.org bookworm InRelease [32.4 kB]
Err:2 http://repo.mobian-project.org bookworm InRelease
  The following signatures were invalid: EXPKEYSIG 951D61F2BC232697 Mobian Project <admin@mobian-project.org>
Reading package lists... Done
W: GPG error: http://repo.mobian-project.org bookworm InRelease: The following signatures were invalid: EXPKEYSIG 951D61F2BC232697 Mobian Project <admin@mobian-project.org>
E: The repository 'http://repo.mobian-project.org bookworm InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Does anyone know what might cause this?


RE: changing from bullseye to bookworm to install mmsd-tng - Zebulon Walton - 04-01-2023

Possibly this issue:

https://forum.pine64.org/showthread.php?tid=16856


RE: changing from bullseye to bookworm to install mmsd-tng - zetabeta - 04-02-2023

debian and mobian changed some policies, so practically "non-free-firmware" is required.

files probably should look similar to this:
Code:
mobian@mobian:~$ cat /etc/apt/sources.list
deb http://deb.debian.org/debian bookworm main non-free contrib non-free-firmware
mobian@mobian:~$ cat /etc/apt/sources.list.d/mobian.list
deb http://repo.mobian.org/ bookworm main non-free non-free-firmware contrib

yes, there was possible leak of signing keys in the past. so, mobian changed signing keys.


RE: changing from bullseye to bookworm to install mmsd-tng - zetabeta - 04-02-2023

it seems that mobian does not have "non-free-firmware". but mobian may have it in the future. in my knowledge some software components of mobian and pinephone is not open source.

debian is different story.


RE: changing from bullseye to bookworm to install mmsd-tng - Kevin Kofler - 04-02-2023

See: https://blog.mobian-project.org/posts/2023/03/11/non-free-firmware/


RE: changing from bullseye to bookworm to install mmsd-tng - jyoung - 04-05-2023

(04-02-2023, 05:33 PM)Kevin Kofler Wrote: See: https://blog.mobian-project.org/posts/2023/03/11/non-free-firmware/

Interesting... I added "non-free-firmway" to  /etc/apt/sources.list and  /etc/apt/sources.list.d/mobian.list, but "apt update" still fails with the same error. Zebulon Walton, the thread you linked had a lot of ideas, but they eventually converged on running " apt-get dist-upgrade" first. I did that, and it succeeded, however, running apt upgrade afteward still failed. That seems really strange to me, that the more rigorous update would succeed whereas the lighter one failed.


RE: changing from bullseye to bookworm to install mmsd-tng - zetabeta - 04-06-2023

(04-05-2023, 10:26 PM)jyoung Wrote:
(04-02-2023, 05:33 PM)Kevin Kofler Wrote: See: https://blog.mobian-project.org/posts/2023/03/11/non-free-firmware/

Interesting... I added "non-free-firmway" to  /etc/apt/sources.list and  /etc/apt/sources.list.d/mobian.list, but "apt update" still fails with the same error. Zebulon Walton, the thread you linked had a lot of ideas, but they eventually converged on running " apt-get dist-upgrade" first. I did that, and it succeeded, however, running apt upgrade afteward still failed. That seems really strange to me, that the more rigorous update would succeed whereas the lighter one failed.

if you get same error, then probably keys are still missing.

Code:
curl -s https://repo.mobian.org/mobian.gpg | sudo tee /etc/apt/trusted.gpg.d/mobian.gpg
# or
wget -O - https://repo.mobian.org/mobian.gpg |  sudo tee /etc/apt/trusted.gpg.d/mobian.gpg

other hand, you could manually download https://repo.mobian.org/mobian.gpg file and copy it to /etc/apt/trusted.gpg.d/mobian.gpg . root or sudo is required.

i have a bad feeling that updating packages afterwards may be complicated, so i suggest aptitude.


RE: changing from bullseye to bookworm to install mmsd-tng - jyoung - 04-09-2023

(04-06-2023, 02:04 PM)zetabeta Wrote:
(04-05-2023, 10:26 PM)jyoung Wrote:
(04-02-2023, 05:33 PM)Kevin Kofler Wrote: See: https://blog.mobian-project.org/posts/2023/03/11/non-free-firmware/

Interesting... I added "non-free-firmway" to  /etc/apt/sources.list and  /etc/apt/sources.list.d/mobian.list, but "apt update" still fails with the same error. Zebulon Walton, the thread you linked had a lot of ideas, but they eventually converged on running " apt-get dist-upgrade" first. I did that, and it succeeded, however, running apt upgrade afteward still failed. That seems really strange to me, that the more rigorous update would succeed whereas the lighter one failed.

if you get same error, then probably keys are still missing.

Code:
curl -s https://repo.mobian.org/mobian.gpg | sudo tee /etc/apt/trusted.gpg.d/mobian.gpg
# or
wget -O - https://repo.mobian.org/mobian.gpg |  sudo tee /etc/apt/trusted.gpg.d/mobian.gpg

other hand, you could manually download https://repo.mobian.org/mobian.gpg file and copy it to /etc/apt/trusted.gpg.d/mobian.gpg . root or sudo is required.

i have a bad feeling that updating packages afterwards may be complicated, so i suggest aptitude.

That works, the update went through, without any complaints! I am having some weird problems now, though. My audio book player (cozy) won't play through the headphones. I'm guessing this is probably not related to the earlier issue, but any ides there?


RE: changing from bullseye to bookworm to install mmsd-tng - zetabeta - 04-09-2023

(04-09-2023, 08:06 AM)jyoung Wrote: ...

That works, the update went through, without any complaints! I am having some weird problems now, though. My audio book player (cozy) won't play through the headphones. I'm guessing this is probably not related to the earlier issue, but any ides there?

as a hint, could be relate to the gstreamer versus pipewire. i don't know specific advises at the moment.