Project

General

Profile

Bug #2574

"30-openrc-upgrade.hook line 2: invalid value Path" when trying to install or remove package

ThisIsMyAccount - 7 months ago - . Updated 7 months ago.

Status:
confirmed
Priority:
bug
Category:
LiveISO
Assignee:
% Done:

0%


Description

After running `pacman -Syy`, then trying to install a package with `pacman -S openconnect`, I get this error:

resolving dependencies...
looking for conflicting packages...

Packages (3) stoken-0.92-3  vpnc-1:0.5.3.r462.r78-1  openconnect-1:8.05-1

Total Installed Size:  3.64 MiB

:: Proceed with installation? [Y/n]
(3/3) checking keys in keyring                                                                                                                            [##############################################################################################] 100%
(3/3) checking package integrity                                                                                                                          [##############################################################################################] 100%
(3/3) loading package files                                                                                                                               [##############################################################################################] 100%
(3/3) checking for file conflicts                                                                                                                         [##############################################################################################] 100%
(3/3) checking available disk space                                                                                                                       [##############################################################################################] 100%
error: hook /usr/share/libalpm/hooks/30-openrc-upgrade.hook line 2: invalid value Path
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.

I get a similar error when trying to remove a package with `pacman -R yay`

checking dependencies...

Packages (1) yay-9.3.3-1

Total Removed Size:  6.36 MiB

:: Do you want to remove these packages? [Y/n]
error: hook /usr/share/libalpm/hooks/30-openrc-upgrade.hook line 2: invalid value Path
error: failed to commit transaction (failed to run transaction hooks)

History

#1

Updated by bill-auger 7 months ago

  • Assignee set to Megver83
#2

Updated by bill-auger 7 months ago

  • Description updated (diff)
#3

Updated by ThisIsMyAccount 7 months ago

For the time being, I've moved this file out of the hooks directory, and was able to remove yay and install openconnect. You mentioned that the hook file in question is no longer used. If you're sure then I could delete it, but for now, I'll just leave it in the space I put it, out of the way.

#4

Updated by bill-auger 7 months ago

  • Parent task set to #2549
#5

Updated by bill-auger 7 months ago

  • Status changed from unconfirmed to confirmed
  • Category set to LiveISO
  • Project changed from Packages to Installation media

this is because the pacman on the LiveISO is outdated - upgrading the live system pacman, allows pacstrap to complete - i will move this to the "installation media" category until the [nonsystemd] dust has settled

# pacman -Sy pacman
#6

Updated by bill-auger 7 months ago

  • Parent task deleted (#2549)

Also available in: Atom PDF