[solved] pamac/AUR fails to install google-chrome (stable) & other software

OK so I tried to install gqview-2.0.4 from AUR as a test, and it failed for the same reason.

The very long listing is at https://pastebin.com/7dxEsiTH

make[1]: Leaving directory '/home/ljohnson/AUR/gqview/src/gqview-2.0.4'
==> Entering fakeroot environment...
==> Finished making: gqview 2.0.4-6 (Fri 26 Feb 2021 11:01:34 AM PST)
==> Cleaning up...

Failed to prepare transaction:
could not find or read package

Have you tried setting the build directory back to the default? (/tmp IIRC)

Changed build directory to /tmp & rebooted computer, still fail :confused:

Preparing...
Cloning google-chrome build files...
Checking google-chrome dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building google-chrome...
==> Making package: google-chrome 88.0.4324.182-1 (Fri 26 Feb 2021 11:41:49 AM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found google-chrome-stable_88.0.4324.182-1_amd64.deb
  -> Found eula_text.html
  -> Found google-chrome-stable.sh
==> Validating source files with sha512sums...
    google-chrome-stable_88.0.4324.182-1_amd64.deb ... Passed
    eula_text.html ... Passed
    google-chrome-stable.sh ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting google-chrome-stable_88.0.4324.182-1_amd64.deb with bsdtar
==> Entering fakeroot environment...
==> Finished making: google-chrome 88.0.4324.182-1 (Fri 26 Feb 2021 11:41:49 AM PST)
==> Cleaning up...

Failed to prepare transaction:
could not find or read package

Puzzle me this…
When I compare the failed install with the successful install on a second computer there is a difference in install output.

This code is missing from the failed install after

"==> Entering fakeroot environment..."

~

==> Starting package()...
  -> Extracting the data.tar.xz...
  -> Moving stuff in place...
  -> Fixing Chrome icon resolution...
  -> Removing Debian Cron job and duplicate product logos...
==> Tidying install...
  -> Removing empty directories...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "google-chrome"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.

Discovered /usr/bin/fakeroot & /usr/bin/faked are empty files.

Running sudo pacman -S --needed base-devel

$ sudo pacman -S --needed base-devel
warning: autoconf-2.71-1 is up to date -- skipping
warning: automake-1.16.3-1 is up to date -- skipping
warning: binutils-2.36-3 is up to date -- skipping
warning: bison-3.7.3-1 is up to date -- skipping
warning: fakeroot-1.25.3-1 is up to date -- skipping
warning: file-5.39-1 is up to date -- skipping
warning: findutils-4.8.0-1 is up to date -- skipping
warning: flex-2.6.4-3 is up to date -- skipping
warning: gawk-5.1.0-1 is up to date -- skipping
warning: gcc-10.2.0-6 is up to date -- skipping
warning: gettext-0.21-1 is up to date -- skipping
warning: grep-3.6-1 is up to date -- skipping
warning: groff-1.22.4-4 is up to date -- skipping
warning: gzip-1.10-3 is up to date -- skipping
warning: libtool-2.4.6+42+gb88cebd5-14 is up to date -- skipping
warning: m4-1.4.18-3 is up to date -- skipping
warning: make-4.3-3 is up to date -- skipping
warning: pacman-5.2.2-4 is up to date -- skipping
warning: patch-2.7.6-8 is up to date -- skipping
warning: pkgconf-1.7.3-1 is up to date -- skipping
warning: sed-4.8-1 is up to date -- skipping
warning: sudo-1.9.5.p2-1 is up to date -- skipping
warning: texinfo-6.7-3 is up to date -- skipping
warning: which-2.21-5 is up to date -- skipping
 there is nothing to do

How to fix this please…

Just pacman -S base-devel ?

Also

Just pacman -S base-devel ? failed

Solved:

[ljohnson@kise-005 Desktop]$ pamac build fakeroot
Install fakeroot from core ? [y/N] y
Preparing...
Warning: fakeroot-1.25.3-1 is up to date -- reinstalling
Resolving dependencies...
Checking inter-conflicts...

To reinstall (1):
  fakeroot  1.25.3-1    core  


Apply transaction ? [y/N] y
Checking keyring...                                                                                                                                                   [1/1]
Checking integrity...                                                                                                                                                 [1/1]
Loading packages files...                                                                                                                                             [1/1]
Checking file conflicts...                                                                                                                                            [1/1]
Warning: fakeroot: /etc/ld.so.conf.d/fakeroot.conf already existed in filesystem
It has been backed up to /etc/ld.so.conf.d/fakeroot.conf.old
Warning: fakeroot: /usr/lib/libfakeroot/libfakeroot-0.so already existed in filesystem
It has been backed up to /usr/lib/libfakeroot/libfakeroot-0.so.old
Warning: fakeroot: /usr/lib/libfakeroot/libfakeroot.so already existed in filesystem
It has been backed up to /usr/lib/libfakeroot/libfakeroot.so.old
Warning: fakeroot: /usr/share/man/de/man1/faked.1.gz already existed in filesystem
It has been backed up to /usr/share/man/de/man1/faked.1.gz.old
Warning: fakeroot: /usr/share/man/de/man1/fakeroot.1.gz already existed in filesystem
It has been backed up to /usr/share/man/de/man1/fakeroot.1.gz.old
Warning: fakeroot: /usr/share/man/es/man1/faked.1.gz already existed in filesystem
It has been backed up to /usr/share/man/es/man1/faked.1.gz.old
Warning: fakeroot: /usr/share/man/es/man1/fakeroot.1.gz already existed in filesystem
It has been backed up to /usr/share/man/es/man1/fakeroot.1.gz.old
Warning: fakeroot: /usr/share/man/fr/man1/faked.1.gz already existed in filesystem
It has been backed up to /usr/share/man/fr/man1/faked.1.gz.old
Warning: fakeroot: /usr/share/man/fr/man1/fakeroot.1.gz already existed in filesystem
It has been backed up to /usr/share/man/fr/man1/fakeroot.1.gz.old
Warning: fakeroot: /usr/share/man/man1/faked.1.gz already existed in filesystem
It has been backed up to /usr/share/man/man1/faked.1.gz.old
Warning: fakeroot: /usr/share/man/man1/fakeroot.1.gz already existed in filesystem
It has been backed up to /usr/share/man/man1/fakeroot.1.gz.old
Warning: fakeroot: /usr/share/man/nl/man1/faked.1.gz already existed in filesystem
It has been backed up to /usr/share/man/nl/man1/faked.1.gz.old
Warning: fakeroot: /usr/share/man/nl/man1/fakeroot.1.gz already existed in filesystem
It has been backed up to /usr/share/man/nl/man1/fakeroot.1.gz.old
Warning: fakeroot: /usr/share/man/pt/man1/faked.1.gz already existed in filesystem
It has been backed up to /usr/share/man/pt/man1/faked.1.gz.old
Warning: fakeroot: /usr/share/man/pt/man1/fakeroot.1.gz already existed in filesystem
It has been backed up to /usr/share/man/pt/man1/fakeroot.1.gz.old
Warning: fakeroot: /usr/share/man/sv/man1/faked.1.gz already existed in filesystem
It has been backed up to /usr/share/man/sv/man1/faked.1.gz.old
Warning: fakeroot: /usr/share/man/sv/man1/fakeroot.1.gz already existed in filesystem
It has been backed up to /usr/share/man/sv/man1/fakeroot.1.gz.old
Checking keyring...                                                                                                                                                   [1/1]
Checking integrity...                                                                                                                                                 [1/1]
Loading packages files...                                                                                                                                             [1/1]
Checking file conflicts...                                                                                                                                            [1/1]
Checking available disk space...                                                                                                                                      [1/1]
Reinstalling fakeroot (1.25.3-1)...                                                                                                                                   [1/1]
usr/bin/ldconfig: File /usr/lib/libfakeroot/libfakeroot-0.so.old is empty, not checked.
usr/bin/ldconfig: File /usr/lib/libfaad.so is empty, not checked.
usr/bin/ldconfig: File /usr/lib/libpoppler.so.103 is empty, not checked.
usr/bin/ldconfig: File /usr/lib/libpoppler.so.103.0.0 is empty, not checked.
usr/bin/ldconfig: File /usr/lib/libpoppler-cpp.so.0.9.0.old is empty, not checked.
usr/bin/ldconfig: File /usr/lib/libfaad_drm.so.2.0.0 is empty, not checked.
usr/bin/ldconfig: File /usr/lib/libfaad_drm.so.2 is empty, not checked.
usr/bin/ldconfig: File /usr/lib/libfaad_drm.so is empty, not checked.
usr/bin/ldconfig: File /usr/lib/libenchant-2.so.2.2.11.old is empty, not checked.
usr/bin/ldconfig: File /usr/lib/libfaad.so.2 is empty, not checked.
usr/bin/ldconfig: File /usr/lib/libpoppler.so.old is empty, not checked.
usr/bin/ldconfig: File /usr/lib/libfaad.so.2.0.0 is empty, not checked.
ldconfig: File /usr/lib/libfakeroot/libfakeroot-0.so.old is empty, not checked.
ldconfig: File /usr/lib/libfaad.so is empty, not checked.
ldconfig: File /usr/lib/libpoppler.so.103 is empty, not checked.
ldconfig: File /usr/lib/libpoppler.so.103.0.0 is empty, not checked.
ldconfig: File /usr/lib/libpoppler-cpp.so.0.9.0.old is empty, not checked.
ldconfig: File /usr/lib/libfaad_drm.so.2.0.0 is empty, not checked.
ldconfig: File /usr/lib/libfaad_drm.so.2 is empty, not checked.
ldconfig: File /usr/lib/libfaad_drm.so is empty, not checked.
ldconfig: File /usr/lib/libenchant-2.so.2.2.11.old is empty, not checked.
ldconfig: File /usr/lib/libfaad.so.2 is empty, not checked.
ldconfig: File /usr/lib/libpoppler.so.old is empty, not checked.
ldconfig: File /usr/lib/libfaad.so.2.0.0 is empty, not checked.
Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                                                                                                                        [1/2]
Checking which packages need to be rebuilt                                                                                                                            [2/2]
parallel: Warning: $HOME not set. Using /tmp.
Transaction successfully finished.
[ljohnson@kise-005 Desktop]$ pamac build google-chrome
Preparing...
Cloning google-chrome build files...
Checking google-chrome dependencies...
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  google-chrome  88.0.4324.182-1    AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] y


Building google-chrome...
==> Making package: google-chrome 88.0.4324.182-1 (Fri 26 Feb 2021 02:57:36 PM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found google-chrome-stable_88.0.4324.182-1_amd64.deb
  -> Found eula_text.html
  -> Found google-chrome-stable.sh
==> Validating source files with sha512sums...
    google-chrome-stable_88.0.4324.182-1_amd64.deb ... Passed
    eula_text.html ... Passed
    google-chrome-stable.sh ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting google-chrome-stable_88.0.4324.182-1_amd64.deb with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
  -> Extracting the data.tar.xz...
  -> Moving stuff in place...
  -> Fixing Chrome icon resolution...
  -> Removing Debian Cron job and duplicate product logos...
==> Tidying install...
  -> Removing empty directories...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "google-chrome"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: google-chrome 88.0.4324.182-1 (Fri 26 Feb 2021 02:57:45 PM PST)
==> Cleaning up...

Checking keyring...                                                                                                                                                   [1/1]
Checking integrity...                                                                                                                                                 [1/1]
Loading packages files...                                                                                                                                             [1/1]
Checking file conflicts...                                                                                                                                            [1/1]
Checking available disk space...                                                                                                                                      [1/1]
Installing google-chrome (88.0.4324.182-1)...                                                                                                                         [1/1]
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
==> NOTE: Custom flags should be put directly in: ~/.config/chrome-flags.conf
==> NOTE: The launcher is called: 'google-chrome-stable'
ldconfig: File /usr/lib/libfakeroot/libfakeroot-0.so.old is empty, not checked.
ldconfig: File /usr/lib/libfaad.so is empty, not checked.
ldconfig: File /usr/lib/libpoppler.so.103 is empty, not checked.
ldconfig: File /usr/lib/libpoppler.so.103.0.0 is empty, not checked.
ldconfig: File /usr/lib/libpoppler-cpp.so.0.9.0.old is empty, not checked.
ldconfig: File /usr/lib/libfaad_drm.so.2.0.0 is empty, not checked.
ldconfig: File /usr/lib/libfaad_drm.so.2 is empty, not checked.
ldconfig: File /usr/lib/libfaad_drm.so is empty, not checked.
ldconfig: File /usr/lib/libenchant-2.so.2.2.11.old is empty, not checked.
ldconfig: File /usr/lib/libfaad.so.2 is empty, not checked.
ldconfig: File /usr/lib/libpoppler.so.old is empty, not checked.
ldconfig: File /usr/lib/libfaad.so.2.0.0 is empty, not checked.
Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                                                                                                                        [1/3]
Updating icon theme caches...                                                                                                                                         [2/3]
Updating the desktop file MIME type cache...                                                                                                                          [3/3]
Transaction successfully finished.

The real question now it is solved, how did you end up with all these empty files? Also when I reinstall base-devel with pacman it doesn’t fail, it reinstalls properly after asking which packages I want, weird that if ‘fails’ for you.

[omano@omano-nvme ~]$ sudo pacman -S base-devel
:: Il y a 24 membres dans le groupe base-devel :
:: Dépôt core
   1) autoconf  2) automake  3) binutils  4) bison  5) fakeroot  6) file  7) findutils  8) flex  9) gawk  10) gcc  11) gettext  12) grep  13) groff  14) gzip
   15) libtool  16) m4  17) make  18) pacman  19) patch  20) pkgconf  21) sed  22) sudo  23) texinfo  24) which

Entrer une sélection (par défaut, tout est sélectionné): 
avertissement : autoconf-2.71-1 est à jour -- réinstallation
avertissement : automake-1.16.3-1 est à jour -- réinstallation
avertissement : binutils-2.36.1-2 est à jour -- réinstallation
avertissement : bison-3.7.3-1 est à jour -- réinstallation
avertissement : fakeroot-1.25.3-2 est à jour -- réinstallation
avertissement : file-5.39-1 est à jour -- réinstallation
avertissement : findutils-4.8.0-1 est à jour -- réinstallation
avertissement : flex-2.6.4-3 est à jour -- réinstallation
avertissement : gawk-5.1.0-1 est à jour -- réinstallation
avertissement : gcc-10.2.0-6 est à jour -- réinstallation
avertissement : gettext-0.21-1 est à jour -- réinstallation
avertissement : grep-3.6-1 est à jour -- réinstallation
avertissement : groff-1.22.4-4 est à jour -- réinstallation
avertissement : gzip-1.10-3 est à jour -- réinstallation
avertissement : libtool-2.4.6+42+gb88cebd5-14 est à jour -- réinstallation
avertissement : m4-1.4.18-3 est à jour -- réinstallation
avertissement : make-4.3-3 est à jour -- réinstallation
avertissement : pacman-5.2.2-4 est à jour -- réinstallation
avertissement : patch-2.7.6-8 est à jour -- réinstallation
avertissement : pkgconf-1.7.3-1 est à jour -- réinstallation
avertissement : sed-4.8-1 est à jour -- réinstallation
avertissement : sudo-1.9.5.p2-1 est à jour -- réinstallation
avertissement : texinfo-6.7-3 est à jour -- réinstallation
avertissement : which-2.21-5 est à jour -- réinstallation
résolution des dépendances…
recherche des conflits entre paquets…

Paquets (24) autoconf-2.71-1  automake-1.16.3-1  binutils-2.36.1-2  bison-3.7.3-1  fakeroot-1.25.3-2  file-5.39-1  findutils-4.8.0-1  flex-2.6.4-3  gawk-5.1.0-1
             gcc-10.2.0-6  gettext-0.21-1  grep-3.6-1  groff-1.22.4-4  gzip-1.10-3  libtool-2.4.6+42+gb88cebd5-14  m4-1.4.18-3  make-4.3-3  pacman-5.2.2-4
             patch-2.7.6-8  pkgconf-1.7.3-1  sed-4.8-1  sudo-1.9.5.p2-1  texinfo-6.7-3  which-2.21-5

Taille totale installée :    250,41 MiB
Taille de mise à jour nette :    0,00 MiB

:: Procéder à l’installation ? [O/n] 
(24/24) vérification des clés dans le trousseau                                                     [----------------------------------------------------------] 100%
(24/24) vérification de l’intégrité des paquets                                                     [----------------------------------------------------------] 100%
(24/24) chargement des fichiers des paquets                                                         [----------------------------------------------------------] 100%
(24/24) analyse des conflits entre fichiers                                                         [----------------------------------------------------------] 100%
(24/24) vérification de l’espace disque disponible                                                  [----------------------------------------------------------] 100%
:: Traitement des changements du paquet…
( 1/24) réinstallation gawk                                                                         [----------------------------------------------------------] 100%
( 2/24) réinstallation m4                                                                           [----------------------------------------------------------] 100%
( 3/24) réinstallation autoconf                                                                     [----------------------------------------------------------] 100%
( 4/24) réinstallation automake                                                                     [----------------------------------------------------------] 100%
( 5/24) réinstallation findutils                                                                    [----------------------------------------------------------] 100%
( 6/24) réinstallation binutils                                                                     [----------------------------------------------------------] 100%
( 7/24) réinstallation bison                                                                        [----------------------------------------------------------] 100%
( 8/24) réinstallation sed                                                                          [----------------------------------------------------------] 100%
( 9/24) réinstallation file                                                                         [----------------------------------------------------------] 100%
(10/24) réinstallation fakeroot                                                                     [----------------------------------------------------------] 100%
(11/24) réinstallation flex                                                                         [----------------------------------------------------------] 100%
(12/24) réinstallation gcc                                                                          [----------------------------------------------------------] 100%
(13/24) réinstallation gettext                                                                      [----------------------------------------------------------] 100%
(14/24) réinstallation grep                                                                         [----------------------------------------------------------] 100%
(15/24) réinstallation groff                                                                        [----------------------------------------------------------] 100%
(16/24) réinstallation gzip                                                                         [----------------------------------------------------------] 100%
(17/24) réinstallation libtool                                                                      [----------------------------------------------------------] 100%
(18/24) réinstallation texinfo                                                                      [----------------------------------------------------------] 100%
(19/24) réinstallation make                                                                         [----------------------------------------------------------] 100%
(20/24) réinstallation pacman                                                                       [----------------------------------------------------------] 100%
(21/24) réinstallation patch                                                                        [----------------------------------------------------------] 100%
(22/24) réinstallation pkgconf                                                                      [----------------------------------------------------------] 100%
(23/24) réinstallation sudo                                                                         [----------------------------------------------------------] 100%
(24/24) réinstallation which                                                                        [----------------------------------------------------------] 100%
:: Exécution des crochets de post-transaction…
(1/6) Reloading system manager configuration...
(2/6) Creating temporary files...
(3/6) Arming ConditionNeedsUpdate...
(4/6) Looking for .pacnew files...
(5/6) Checking which packages need to be rebuilt
(6/6) Updating the info directory file...

Just a guess

This systems manjaro installation is lightly used so hard to tell.

This computer boots multiple systems including archlinux (most used), manjaro, couple of windows and until very recently xubuntu. Perhaps a manjaro install/update got confused with the archlinux installation and flubbed fakeroot. I not so trustful of manjaro GUI stuff plus I just deprecated three nvidia graphics adapters ~ open source drivers unable to cope with mythtv.

BTW also today arch got nvidia partial update so had to rerun mkinitcpio -p & grub to fix.

I run 5 manjaro systems primarily HTPC and three windows plus an ancient 32 bit manjaro on a laptop (never updated).

In any case this was a pain in the neck (or perhaps lower)

Thanks for the assistance :slight_smile:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.