Skip to content

Manjaro Pamac stops working after surface linux is added to pacman conf file #1379

@MiguelNiblock

Description

@MiguelNiblock

after following the instructions for arch, while using manjaro, (https://github.com/linux-surface/linux-surface/wiki/Installation-and-Setup#arch), the manjaro package manager pamac no longer can update packages.

specifically, adding the repository to the conf file for pacman, causes the problem, and when I remove it, pamac starts working again.

[linux-surface]
Server = https://pkg.surfacelinux.com/arch/

and this is the result of pamac update:

Preparing...
Synchronizing package databases...
Error: linux-surface: signature from "linux-surface" is invalid
Refreshing linux-surface.db...                                                                                                        
Error: linux-surface.db: linux-surface: signature from "linux-surface" is invalid                                                     
invalid or corrupted database (PGP signature)
Failed to synchronize databases

this is the result of pacman -Syu. this confirms the key is correct as seen from there. it is only considered invalid from the manjaro pamac side of things.

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 linux-surface is up to date
:: Starting full system upgrade...
 there is nothing to do

I also tried running again the command to add the key. after i do this, pamac worked the first time i ran pamac update, but started failing again after the 2nd time the command pamac update was run.

curl -s https://raw.githubusercontent.com/linux-surface/linux-surface/master/pkg/keys/surface.asc \
    | sudo pacman-key --add -

Environment

  • Hardware model: Surface Go 3
  • Kernel version: Linux Unknown 6.4.12-arch1-1-surface Update to upstream #1 SMP PREEMPT_DYNAMIC Fri, 25 Aug 2023 20:46:28 +0000 x86_64 GNU/Linux
  • Distribution: Manjaro
[    0.000000] microcode: updated early: 0xec -> 0xf4, date = 2023-02-23
[    0.000000] Linux version 6.4.12-arch1-1-surface (linux-surface@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.41.0) #1 SMP PREEMPT_DYNAMIC Fri, 25 Aug 2023 20:46:28 +0000
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux-surface root=UUID=134c18e7-02c2-4539-b86d-0c3cb0879e23 rw quiet splash udev.log_priority=3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions