Old Installed x86_64 Packages Don't Get Replaced By New x86_64_v3 Packages #76

Closed
opened 2021-12-10 10:28:39 +01:00 by Neko-san · 11 comments

Following the instructions in the README.md, "updating" in the last step doesn't actually update the installed packages - instead they're both on the system according to tools like Paru (an AUR helper) and Octopi (a front-end for pacman).

(All of the ones in yellow and red are affected - essentially every package on my PC that isn't from the AUR as well)
image

This not only takes up twice the amount of space but they're also difficult to remove because, if I do, it also removes the x86_64_v3 packages - if one is not careful, doing that manually could be potentially dangerous (might break the system?).

And if you've look closely, you may also find that some from the ALHP repos are actually older versions than the upstream ones:
image
And, unfortunately, removing the upstream ones could potentially cause a partial upgrade that could render other things that depend on them broken...

[Following the instructions in the README.md,](https://git.harting.dev/ALHP/ALHP.GO) "updating" in the last step doesn't actually update the installed packages - instead they're both on the system according to tools like `Paru` (an AUR helper) and `Octopi` (a front-end for `pacman`). (All of the ones in yellow and red are affected - essentially every package on my PC that isn't from the AUR as well) ![image](/attachments/a5895018-9925-422d-b892-6e11b10d9ebd) This not only takes up twice the amount of space but they're also difficult to remove because, if I do, it ***also*** removes the x86_64_v3 packages - if one is not careful, doing that manually could be potentially dangerous (might break the system?). And if you've look closely, you may also find that some from the ALHP repos are actually older versions than the upstream ones: ![image](/attachments/0109d556-be93-4545-a987-3db590b7faa7) And, unfortunately, removing the upstream ones could potentially cause a `partial upgrade` that could render other things that depend on them broken...

Just to make sure, did you make the ALHP repo before the arch repo in your pacman.conf?

Just to make sure, did you make the ALHP repo before the arch repo in your `pacman.conf`?
Author

Yes, I had it set like this:

[core-x86-64-v3]
Include = /etc/pacman.d/alhp-mirrorlist

[extra-x86-64-v3]
Include = /etc/pacman.d/alhp-mirrorlist

[community-x86-64-v3]
Include = /etc/pacman.d/alhp-mirrorlist

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist
Yes, I had it set like this: ``` [core-x86-64-v3] Include = /etc/pacman.d/alhp-mirrorlist [extra-x86-64-v3] Include = /etc/pacman.d/alhp-mirrorlist [community-x86-64-v3] Include = /etc/pacman.d/alhp-mirrorlist #[testing] #Include = /etc/pacman.d/mirrorlist [core] Include = /etc/pacman.d/mirrorlist [extra] Include = /etc/pacman.d/mirrorlist #[community-testing] #Include = /etc/pacman.d/mirrorlist [community] Include = /etc/pacman.d/mirrorlist # If you want to run 32 bit applications on your x86_64 system, # enable the multilib repositories as required here. #[multilib-testing] #Include = /etc/pacman.d/mirrorlist [multilib] Include = /etc/pacman.d/mirrorlist ```

Just a quick question you already upgraded your package or not?

Just a quick question you already upgraded your package or not?
Owner

Please use pacman as described in the README. I do not know what options any sort of gui/frontend passes to pacman, so there is no point in going off that information.

Some packages are older than the official ones, that's indented behavior due to the fact that ALHP builds packages after they release in the official repos. The delay varies depending on which packages are currently building, build time of these packages, etc.
In general ALHP is some hours delayed at most, worst case 12h if there was a batch of really buildtime-heavy packages like chromium, firefox, webkit, electron, etc.

Please try pacman -Suy and see what is going to be updated there. If you have already updated, then you'll not see much there of course.

EDIT: You can also check for packages coming from, for example, community-x86-64-v3, by running

comm -12 <(pacman -Qq | sort) <(pacman -Sql community-x86-64-v3 | sort)
Please use `pacman` as described in the README. I do not know what options any sort of gui/frontend passes to pacman, so there is no point in going off that information. Some packages are older than the official ones, that's indented behavior due to the fact that ALHP builds packages *after* they release in the official repos. The delay varies depending on which packages are currently building, build time of these packages, etc. In general ALHP is some hours delayed at most, worst case 12h if there was a batch of really buildtime-heavy packages like `chromium`, `firefox`, `webkit`, `electron`, etc. Please try `pacman -Suy` and see what is going to be updated there. If you have already updated, then you'll not see much there of course. *EDIT*: You can also check for packages coming from, for example, `community-x86-64-v3`, by running ```bash comm -12 <(pacman -Qq | sort) <(pacman -Sql community-x86-64-v3 | sort) ```
anonfunc added the question label 2021-12-10 11:37:12 +01:00
Author

@anonfunc I did use it as described in the readme, I was only referencing the frontend as a means to visually display the issue - this is entirely pacman's doing.

Additionally, that command you mentioned also shows the same packages coming from the vanilla Arch repos - it only solidifies what I showed

@anonfunc I did use it as described in the readme, I was only referencing the frontend as a means to visually display the issue - this is entirely pacman's doing. Additionally, that command you mentioned also shows the same packages coming from the vanilla Arch repos - it only solidifies what I showed
Author

Also, I'm getting this error now (which is unrelated but also an issue?):

neko-san@ARCH ~>doas pacman -Suy
doas (neko-san@ARCH) password: 
error: extra-x86-64-v3: signature from "Archlinux CIE Repos (Build 2020/2021) <cie@harting.dev>" is invalid
:: Synchronizing package databases...
 core-x86-64-v3 is up to date
 extra-x86-64-v3                                                                                   1485.0 KiB  1380 KiB/s 00:01 [#############################################################################] 100%
 community-x86-64-v3 is up to date
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 aur is up to date
:: Starting full system upgrade...
Also, I'm getting this error now (which is unrelated but also an issue?): ```sh neko-san@ARCH ~>doas pacman -Suy doas (neko-san@ARCH) password: error: extra-x86-64-v3: signature from "Archlinux CIE Repos (Build 2020/2021) <cie@harting.dev>" is invalid :: Synchronizing package databases... core-x86-64-v3 is up to date extra-x86-64-v3 1485.0 KiB 1380 KiB/s 00:01 [#############################################################################] 100% community-x86-64-v3 is up to date core is up to date extra is up to date community is up to date multilib is up to date aur is up to date :: Starting full system upgrade... ```
Owner

I cannot reproduce any signature problems with extra-x86-64-v3.

EDIT: What mirror do you use?

I cannot reproduce any signature problems with `extra-x86-64-v3`. *EDIT*: What mirror do you use?
Author

Both Cloudfare and North America (since Cloudfare has been known to go down sometimes causing things like YouTube outages, I though it a good idea to keep a backup mirror)

##
## ALHP repository mirrorlist
## Updated on 2021-11-25
## https://git.harting.dev/anonfunc/alhp-mirrorlist
##

## Worldwide (Cloudfare)
Server = https://alhp.krautflare.de/$repo/os/$arch/

## Europe
#Server = https://alhp.harting.dev/$repo/os/$arch/

## North America
Server = https://www.gardling.com/alhp/$repo/os/$arch/

The signature error doesn't reappear for me anymore though, for some reason :/

Both Cloudfare and North America (since Cloudfare has been known to go down sometimes causing things like YouTube outages, I though it a good idea to keep a backup mirror) ``` ## ## ALHP repository mirrorlist ## Updated on 2021-11-25 ## https://git.harting.dev/anonfunc/alhp-mirrorlist ## ## Worldwide (Cloudfare) Server = https://alhp.krautflare.de/$repo/os/$arch/ ## Europe #Server = https://alhp.harting.dev/$repo/os/$arch/ ## North America Server = https://www.gardling.com/alhp/$repo/os/$arch/ ``` The signature error doesn't reappear for me anymore though, for some reason :/
Owner

Is there anything we can do here? @Neko-san are you still having problems upgrading?

Is there anything we can do here? @Neko-san are you still having problems upgrading?
Author

I don't have problems upgrading anymore 👍

Originally though, I was moreso confused that ALHP packages were considered a "newer version upgrade" to pacman; I was under the impression that both were installed but they just overwrite each other when they feel like it - which made me think of it as an unintended mess

With some details from paru, it's de-mystified a bit:
image

I don't have problems upgrading anymore 👍 Originally though, I was moreso confused that ALHP packages were considered a "newer version upgrade" to pacman; I was under the impression that both were installed but they just overwrite each other when they feel like it - which made me think of it as an unintended mess With some details from `paru`, it's de-mystified a bit: ![image](/attachments/b4902fc8-54c2-48ff-8668-e2de6a9b9831)
Author

@anonfunc
Although, packages not using their real architecture names does put me at risk of making mistakes like this (mixing of architectures) if I'm not paying attention:

:: Synchronizing package databases...
 core-x86-64-v3 is up to date
 extra-x86-64-v3                                                                                   1478.0 KiB  1113 KiB/s 00:01 [#############################################################################] 100%
 community-x86-64-v3                                                                                  2.8 MiB  1047 KiB/s 00:03 [#############################################################################] 100%
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 aur is up to date
:: Starting full system upgrade...
warning: expat: local (2.4.2-1) is newer than core-x86-64-v3 (2.4.1-1.1)
resolving dependencies...
looking for conflicting packages...

Packages (4) gst-plugin-opencv-1.18.5-4  gst-plugin-wpe-1.18.5-4  gst-plugins-bad-1.18.5-4  gst-plugins-bad-libs-1.18.5-4

Total Download Size:    3.12 MiB
Total Installed Size:  12.04 MiB
Net Upgrade Size:      -0.41 MiB
@anonfunc ***Although,*** packages not using their real architecture names does put me at risk of making mistakes like this (mixing of architectures) if I'm not paying attention: ``` :: Synchronizing package databases... core-x86-64-v3 is up to date extra-x86-64-v3 1478.0 KiB 1113 KiB/s 00:01 [#############################################################################] 100% community-x86-64-v3 2.8 MiB 1047 KiB/s 00:03 [#############################################################################] 100% core is up to date extra is up to date community is up to date multilib is up to date aur is up to date :: Starting full system upgrade... warning: expat: local (2.4.2-1) is newer than core-x86-64-v3 (2.4.1-1.1) resolving dependencies... looking for conflicting packages... Packages (4) gst-plugin-opencv-1.18.5-4 gst-plugin-wpe-1.18.5-4 gst-plugins-bad-1.18.5-4 gst-plugins-bad-libs-1.18.5-4 Total Download Size: 3.12 MiB Total Installed Size: 12.04 MiB Net Upgrade Size: -0.41 MiB ```
Sign in to join this conversation.