You are not logged in.

#1 2017-03-12 17:27:20

quellen
Member
From: Italy
Registered: 2014-05-24
Posts: 274

Error instaling hid-apple-patched-git

hi,
i have a problem with my apple usb keyboard: sometimes crash and i need to unplug/plug it.
i would want try to resolve installing hid-apple-patched-git, but it says error:

$ makepkg -si
==> Making package: hid-apple-patched-git 20160803.feb734c-1 (Sun Mar 12 18:22:30 CET 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning hid-apple-patched git repo...
Cloning into bare repository '/tmp/hid-apple-patched-git/hid-apple-patched'...
remote: Counting objects: 178, done.
remote: Total 178 (delta 0), reused 0 (delta 0), pack-reused 178
Receiving objects: 100% (178/178), 62.74 KiB | 0 bytes/s, done.
Resolving deltas: 100% (96/96), done.
  -> Found hid-apple-patched.conf
  -> Found hid_apple.conf
  -> Found dkms.conf
==> Validating source files with sha256sums...
    hid-apple-patched ... Skipped
    hid-apple-patched.conf ... Passed
    hid_apple.conf ... Passed
    dkms.conf ... Skipped
==> Extracting sources...
  -> Creating working copy of hid-apple-patched git repo...
Cloning into 'hid-apple-patched'...
done.
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Starting build()...
make: Entering directory '/usr/lib/modules/4.9.8-1-ARCH/build'
  LD      /tmp/hid-apple-patched-git/src/hid-apple-patched/built-in.o
  CC [M]  /tmp/hid-apple-patched-git/src/hid-apple-patched/hid-apple.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/hid-apple-patched-git/src/hid-apple-patched/hid-apple.mod.o
  LD [M]  /tmp/hid-apple-patched-git/src/hid-apple-patched/hid-apple.ko
make: Leaving directory '/usr/lib/modules/4.9.8-1-ARCH/build'
==> Entering fakeroot environment...
==> Starting package_hid-apple-patched-git()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "hid-apple-patched-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Starting package_hid-apple-patched-git-dkms()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "hid-apple-patched-git-dkms"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: hid-apple-patched-git 20160803.feb734c-1 (Sun Mar 12 18:22:38 CET 2017)
==> Installing hid-apple-patched-git package group with pacman -U...
[sudo] password for yoursister: 
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (2) hid-apple-patched-git-20160803.feb734c-1
             hid-apple-patched-git-dkms-20160803.feb734c-1

Total Installed Size:  0.07 MiB

:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring                     [######################] 100%
(2/2) checking package integrity                   [######################] 100%
(2/2) loading package files                        [######################] 100%
(2/2) checking for file conflicts                  [######################] 100%
error: failed to commit transaction (conflicting files)
/etc/depmod.d/hid-apple-patched.conf exists in both 'hid-apple-patched-git' and 'hid-apple-patched-git-dkms'
/etc/modprobe.d/hid_apple.conf exists in both 'hid-apple-patched-git' and 'hid-apple-patched-git-dkms'
hid-apple-patched-git: /etc/modprobe.d/hid_apple.conf exists in filesystem
hid-apple-patched-git-dkms: /etc/modprobe.d/hid_apple.conf exists in filesystem
Errors occurred, no packages were upgraded.
==> WARNING: Failed to install built package(s).

i have tried to remove "/etc/depmod.d/hid-apple-patched.conf" and "/etc/modprobe.d/hid_apple.conf" but it still says same error.


EDIT:
it makes 2 packages:
hid-apple-patched-git-dkms-20160803.feb734c-1-any.pkg.tar.xz
hid-apple-patched-git-20160803.feb734c-1-any.pkg.tar.xz

i have tried to install only last one, seems to work...

Last edited by quellen (2017-03-12 18:12:02)


sorry for my bad english

Offline

#2 2017-03-12 18:03:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Error instaling hid-apple-patched-git

Moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-03-13 12:29:40

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Error instaling hid-apple-patched-git

That PKGBUILD could use some improvements, hid-apple-patched-git and hid-apple-patched-git-dkms should conflict eachother.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB