• Update fails. Any ideas why? (DE: cinnamon, fresh installation)


    The title is pretty self-explanatory.

    Here is a screenshot what happens:Selection_001.png

  • sudo pacman -Scc  <-- reply with explicit y to the first question
    sudo pacman -Syy
    sudo pacman -S haveged
    sudo haveged -w 1024
    sudo pacman-key --init
    sudo pacman-key --populate archlinux antergos
    sudo pkill haveged
    sudo pacman -S antergos-keyring
    sudo pacman -Syu
    

    Or, if there are packages from AUR in use, instead of the last command use

    yaourt -Syua
  • @just said:

    sudo pacman -Scc  <-- reply with explicit y to the first question
    sudo pacman -Syy
    sudo pacman -S haveged
    sudo haveged -w 1024
    sudo pacman-key --init
    sudo pacman-key --populate archlinux antergos
    sudo pkill haveged
    sudo pacman -S antergos-keyring
    sudo pacman -Syu
    

    Or, if there are packages from AUR in use, instead of the last command use

    yaourt -Syua
    

    Thanks Just.

    I havent used these commands. Can you tell me exactly what has happened? Do I use these commands one by one?

  • @Gabe-Rivers

    Yes, you must run one by one. We forgot to update our automatic build server keys, so you need to clean your cache, populate your keyring and download the new one. It’s all in @just commands.

    Cheers!

  • @karasu said:

    @Gabe-Rivers

    Yes, you must run one by one. We forgot to update our automatic build server keys, so you need to clean your cache, populate your keyring and download the new one. It’s all in @just commands.

    Cheers!

    Ok. Sure. One more question: this command “sudo pacman -Scc <-- reply with explicit y to the first question” goes without the “<-- reply with explicit y to the first question” part, right?

  • @Gabe-Rivers Yes, its just a comment.

  • Thank you thank you.

    all the best!

  • @just solution worked like a charm. Can I uninstall haveged now? Has this created any unsolved future issues on my system?

  • @Noctem said:

    …Can I uninstall haveged now? Has this created any unsolved future issues on my system?

    Yes, you can. No, it hasn’t. The haveged package may be safely removed at any time with

    $ sudo pacman -Rcns haveged
    [sudo] password for just: *********
    checking dependencies...
    
    Packages (1) haveged-1.9.1-2
    
    Total Removed Size:  0.13 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    (1/1) removing haveged                                                 ##################] 100%[$ 
    

    Antergos will remain perfectly up and runninig without it.

    haveged helps to increment Arch’s entrophy. It is usefull for Antegros (Arch) keys generation. It serves for nothing else. It is safe to uninstall it at any time.

  • Thank you for the info @just . One irrelevant question, -Rcns what does the C stand for?

  • From man pacman:

    REMOVE OPTIONS
           -c, --cascade
               Remove all target packages, as well as all packages that depend on one or more target packages.
    This operation is recursive and must be used with care, since it can remove many potentially needed packages.
    
           -n, --nosave
               Instructs pacman to ignore file backup designations. Normally, when a file is removed from the system, the
     database is checked to see if the file should be renamed with a .pacsave extension.
    
           -s, --recursive
               Remove each target specified including all of their dependencies, provided that (A) they are not required
     by other packages; and (B) they were not explicitly installed by the user. This operation is recursive and
     analogous to a backwards --sync operation, and it helps keep a clean system without orphans.
    If you want to omit condition (B), pass this option twice.
    
           -u, --unneeded
               Removes targets that are not required by any other packages. This is mostly useful when removing a group 
    without using the -c option, to avoid breaking any dependencies.
    
    
  • Thank you! (I really must start reading the man pages…)

  • Hi, guys and gals.

    Do you agree that this topic may be marked as [Solved]?

  • hii @just
    it seem i have same problem, i have following your instruction, but in the last i found error like this
    "
    :: Proceed with installation? [Y/n] y
    :: Retrieving packages …
    libidn-1.32-1-x86_64 186.7 KiB 128K/s 00:01 [######################] 100%
    broadcom-wl-6.30.22… 2.6 MiB 47.0K/s 00:57 [######################] 100%
    (2/2) checking keys in keyring [######################] 100%
    (2/2) checking package integrity [######################] 100%
    error: broadcom-wl: signature from “Antergos Build Server (Automated Package Build System) [email protected]” is marginal trust
    :: File /var/cache/pacman/pkg/broadcom-wl-6.30.223.248-12-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n] y
    error: failed to commit transaction (invalid or corrupted package (PGP signature))
    Errors occurred, no packages were upgraded.
    "

  • @Ilham-Yudha said:

    …it seem i have same problem,…

    There are no Broadcom hardware here. Can’t reproduce the same error.

    Looks like repos work well for you:

    > :: Proceed with installation? [Y/n] y
    > :: Retrieving packages ...
    >  libidn-1.32-1-x86_64     186.7 KiB   128K/s 00:01 [######################] 100%
    >  broadcom-wl-6.30.22...     2.6 MiB  47.0K/s 00:57 [######################] 100%
    > (2/2) checking keys in keyring                     [######################] 100%
    > (2/2) checking package integrity                   [######################] 100%
    

    But then you encounter the signature error:

    > error: broadcom-wl: signature from "Antergos Build Server (Automated Package Build System) <[email protected]>" is marginal trust
    > :: File /var/cache/pacman/pkg/broadcom-wl-6.30.223.248-12-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    > Do you want to delete it? [Y/n] y
    > error: failed to commit transaction (invalid or corrupted package (PGP signature))
    > Errors occurred, no packages were upgraded.
    

    Problems with the broadcom-wl package were already largely discussed in the forum. Search the forum to find the relevant threads. I didn’t follow it.

    Still, seems like the problem is not related to the package itself. There’s something bad with signatures from the [antergos] repo on your side. If you want, we can try to apply together the same solution. Following it slowly, step by step.

  • @just said:

    There are no Broadcom hardware here. Can’t reproduce the same error.

    sorry if it becomes annoying
    and how about this?

    Screenshot from 2015-08-18 12-44-46.png

    This looks the same, isn’t it?

  • @Ilham-Yudha said:

    …sorry if it becomes annoying

    No annoyances, don’t worry. We’re here to help each other.

    and how about this?

    Screenshot from 2015-08-18 12-44-46.png

    This looks the same, isn’t it?

    Yes, it looks bad. But says nothing about what you have done trying to solve the problem.

    Let’s start with cleaning pacman’s cache from old packages:

    sudo pacman -Scc
    

    Please, post back here the full command’s output. It must look like:

    $ sudo pacman -Scc
    [sudo] password for just: *********
    
    Cache directory: /var/cache/pacman/pkg/
    :: Do you want to remove ALL files from cache? [y/N] y
    removing all files from cache...
    
    Database directory: /var/lib/pacman/
    :: Do you want to remove unused repositories? [Y/n] n
    $ 
    

    If you fail to clean the pacman’s cache (the output is not the same), then it’s useless to continue.

  • @just said:

    Let’s start with cleaning pacman’s cache from old packages:

    sudo pacman -Scc
    

    Please, post back here the full command’s output. It must look like:

    $ sudo pacman -Scc
    [sudo] password for just: *********
    
    Cache directory: /var/cache/pacman/pkg/
    :: Do you want to remove ALL files from cache? [y/N] y
    removing all files from cache...
    
    Database directory: /var/lib/pacman/
    :: Do you want to remove unused repositories? [Y/n] n
    $ 
    

    yeah it’s look same, how about this?

    sudo pacman-key --populate archlinux antergos
    ==> Appending keys from archlinux.gpg...
    ==> Appending keys from antergos.gpg...
    ==> Locally signing trusted keys in keyring...
      -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
    ==> ERROR: 0E8B644079F599DFC1DDC3973348882F6AC6A4C2 could not be locally signed.
      -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
    ==> ERROR: 684148BB25B49E986A4944C55184252D824B18E8 could not be locally signed.
      -> Locally signing key 24B445614FAC071891EDCE49CDBD406AA1AA7A1D...
    ==> ERROR: 24B445614FAC071891EDCE49CDBD406AA1AA7A1D could not be locally signed.
      -> Locally signing key D95436A2E18DA94A72B1A5E2AEA529BF122902E5...
    ==> ERROR: D95436A2E18DA94A72B1A5E2AEA529BF122902E5 could not be locally signed.
      -> Locally signing key EC3B5CE8FE98DFDF51B705536D6DDA3D2A45C7B4...
    ==> ERROR: EC3B5CE8FE98DFDF51B705536D6DDA3D2A45C7B4 could not be locally signed.
      -> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
    ==> ERROR: 44D4A033AC140143927397D47EFD567D4C7EA887 could not be locally signed.
      -> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
    ==> ERROR: 27FFC4769E19F096D41D9265A04F9397CDFD6BB0 could not be locally signed.
      -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
    ==> ERROR: AB19265E5D7D20687D303246BA1DFB64FFF979E7 could not be locally signed.
    [[email protected] ~]$ 
    

    ?

  • @Ilham-Yudha What is your sudo pacman -Scc output? The rest is irrelevant for now.

  • @just
    aww sorry,

    [[email protected] ~]$ sudo pacman -Scc
    
    Cache directory: /var/cache/pacman/pkg/
    :: Do you want to remove ALL files from cache? [y/N] y
    removing all files from cache...
    
    Database directory: /var/lib/pacman/
    :: Do you want to remove unused repositories? [Y/n] n
    
    [[email protected] ~]$
Posts 37Views 10169
Log in to reply