Opened 23 months ago

Closed 23 months ago

Last modified 23 months ago

#18210 closed bug (duplicate)

Binutils fails to install

Reported by: loll Owned by: nobody
Priority: high Milestone: Unscheduled
Component: - General Version: R1/beta4
Keywords: Cc:
Blocked By: #15068 Blocking:
Platform: All

Description

The installation of gcc fails on beta4 as binutils dependency fails to install :

~> pkgman refresh
Récupération de la somme de contrôle pour https://eu.hpkg.haiku-os.org/haiku/r1beta4/x86_64/current ...
Vérification d’intégrité de Haiku ...
Récupération de la somme de contrôle pour https://eu.hpkg.haiku-os.org/haikuports/r1beta4/x86_64/current ...
Vérification d’intégrité de HaikuPorts ...
~> pkgman install gcc
100% repochecksum-1 [65 octets]
Vérification d’intégrité de Haiku...done.
100% repochecksum-1 [64 octets]
Vérification d’intégrité de HaikuPorts...done.
The following changes will be made:
  in system:
    install package mpfr-4.1.0-2 from repository HaikuPorts
    install package binutils-2.31.1-2 from repository HaikuPorts
    install package mpc-1.2.1-1 from repository HaikuPorts
    install package gcc-11.2.0_2021_07_28-8 from repository HaikuPorts
Continue? [yes/no] (yes) : 
Re-using download '/boot/system/packages/administrative/transaction-10/mpfr-4.1.0-2-x86_64.hpkg' from previous transaction
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta4/x86_64/current/packages/mpfr-4.1.0-2-x86_64.hpkg...done.
Re-using download '/boot/system/packages/administrative/transaction-10/binutils-2.31.1-2-x86_64.hpkg' from previous transaction
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta4/x86_64/current/packages/binutils-2.31.1-2-x86_64.hpkg...done.
Re-using download '/boot/system/packages/administrative/transaction-10/mpc-1.2.1-1-x86_64.hpkg' from previous transaction
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta4/x86_64/current/packages/mpc-1.2.1-1-x86_64.hpkg...done.
Re-using download '/boot/system/packages/administrative/transaction-10/gcc-11.2.0_2021_07_28-8-x86_64.hpkg' from previous transaction
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta4/x86_64/current/packages/gcc-11.2.0_2021_07_28-8-x86_64.hpkg...done.
[system] Applying changes ...
***** failed to commit transaction: The to be activated package "binutils-2.31.1-2-x86_64.hpkg" does already exist.**

Idem with direct installation of binutils :

~> pkgman install binutils
100% repochecksum-1 [65 octets]
Vérification d’intégrité de Haiku...done.
100% repochecksum-1 [64 octets]
Vérification d’intégrité de HaikuPorts...done.
The following changes will be made:
  in system:
    install package binutils-2.31.1-2 from repository HaikuPorts
Continue? [yes/no] (yes) : 
Re-using download '/boot/system/packages/administrative/transaction-10/binutils-2.31.1-2-x86_64.hpkg' from previous transaction
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta4/x86_64/current/packages/binutils-2.31.1-2-x86_64.hpkg...done.
[system] Applying changes ...
*** failed to commit transaction: The to be activated package "binutils-2.31.1-2-x86_64.hpkg" does already exist.

PB meet with beta4 + updates (hrev56578+65)

Change History (3)

comment:1 by waddlesplash, 23 months ago

Blocked By: 15068 added
Keywords: depot pkgman binutils removed
Resolution: duplicate
Status: newclosed

You can work around this problem by manually copying the packages from the "transaction" directory to "/system/packages", and then deleting the entire "administrative" directory and immediately rebooting.

The issue itself is the same as #15068.

comment:2 by loll, 23 months ago

As /system/packages is read only, i remove the administrative folder and reboot. Binutils is now already installed as gcc... Thanks for support.

Last edited 23 months ago by loll (previous) (diff)

comment:3 by waddlesplash, 23 months ago

/system is read-only, but /system/packages/ is not. Good to hear that deleting the administrative folder solved the problem; likely the package was simply not activated.

Note: See TracTickets for help on using tickets.