yaourt install and use

Post your comments, questions, bug reports or suggest new features for alphaOS
Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

yaourt install and use

Postby Scooby » 23 Sep 2014, 18:31

I installed yaourt using

makesb yaourt in with only devel_15.sb bundle loaded

It will add dependencies: package-query and yajl


Code: Select all

# makesb yaourt
==> Cleaning packages cache
==> Downloading yaourt

Aur Targets    (2): package-query yaourt
Pacman Targets (1): yajl

Proceed with installation? [Y/n] y
resolving dependencies...
looking for inter-conflicts...

Packages (1): yajl-2.1.0-1

Total Download Size:    0.03 MiB
Total Installed Size:   0.16 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages ...
 yajl-2.1.0-1-x86_64       31.2 KiB  97.9K/s 00:00 [########################] 100%
(1/1) checking keys in keyring                     [########################] 100%
(1/1) checking package integrity                   [########################] 100%
(1/1) loading package files                        [########################] 100%
(1/1) checking for file conflicts                  [########################] 100%
(1/1) checking available disk space                [########################] 100%
(1/1) installing yajl                              [########################] 100%
Edit package-query PKGBUILD with $EDITOR? [Y/n] n
==> Making package: package-query 1.4-1 (Tue Sep 23 19:05:41 CEST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found package-query-1.4.tar.gz
==> Validating source files with md5sums...
    package-query-1.4.tar.gz ... Passed
==> Extracting sources...
  -> Extracting package-query-1.4.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4/missing: Unknown `--is-lightweight' option
Try `/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for alpm_version in -lalpm... yes
checking for yajl_free in -lyajl... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.36.0
checking for libcurl >= version 7.19.4... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for git... git
checking for .git/... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands

package-query:

  Build information:
    source code location   : .
    prefix                 : /usr
    sysconfdir             : /etc
       conf file           : /etc/pacman.conf
    localstatedir          : /var
       database dir        : /var/lib/pacman/
    compiler               : gcc
    compiler flags         : -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4

    package-query version  : 1.4
    using git version      : no
       git ver             :

  Variable information:
    root working directory : /
    aur base url           : https://aur.archlinux.org

make  all-recursive
make[1]: Entering directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4'
Making all in src
make[2]: Entering directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4/src'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4/src'
Making all in doc
make[2]: Entering directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4/doc'
make[2]: Entering directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4'
make[2]: Leaving directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4'
make[1]: Leaving directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4'
==> Starting package()...
Making install in src
make[1]: Entering directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4/src'
make[2]: Entering directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4/src'
 /usr/bin/mkdir -p '/tmp/packerbuild-0/package-query/package-query/pkg/package-query/usr/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c package-query '/tmp/packerbuild-0/package-query/package-query/pkg/package-query/usr/bin'
libtool: install: /usr/bin/install -c package-query /tmp/packerbuild-0/package-query/package-query/pkg/package-query/usr/bin/package-query
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4/src'
make[1]: Leaving directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4/src'
Making install in doc
make[1]: Entering directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4/doc'
make[2]: Entering directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4/doc'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/tmp/packerbuild-0/package-query/package-query/pkg/package-query/usr/share/man/man8'
 /usr/bin/install -c -m 644 package-query.8 '/tmp/packerbuild-0/package-query/package-query/pkg/package-query/usr/share/man/man8'
make[2]: Leaving directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4/doc'
make[1]: Leaving directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4/doc'
make[1]: Entering directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4'
make[2]: Entering directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4'
make[1]: Leaving directory '/mnt/live/tmp/packerbuild-0/package-query/package-query/src/package-query-1.4'
==> Tidying install...
  -> Purging unwanted files...
  -> Removing libtool files...
  -> Removing static library files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "package-query"...
  -> Generating .PKGINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Finished making: package-query 1.4-1 (Tue Sep 23 19:05:44 CEST 2014)
loading packages...
resolving dependencies...
looking for inter-conflicts...

Packages (1): package-query-1.4-1

Total Installed Size:   0.05 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                     [########################] 100%
(1/1) checking package integrity                   [########################] 100%
(1/1) loading package files                        [########################] 100%
(1/1) checking for file conflicts                  [########################] 100%
(1/1) checking available disk space                [########################] 100%
(1/1) installing package-query                     [########################] 100%
Edit yaourt PKGBUILD with $EDITOR? [Y/n] n
==> Making package: yaourt 1.5-1 (Tue Sep 23 19:05:46 CEST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading yaourt-1.5.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 88512  100 88512    0     0   423k      0 --:--:-- --:--:-- --:--:--  423k
==> Validating source files with md5sums...
    yaourt-1.5.tar.gz ... Passed
==> Extracting sources...
  -> Extracting yaourt-1.5.tar.gz with bsdtar
==> Starting build()...
   GEN yaourt.sh
   GEN pacdiffviewer.sh
   GEN yaourtrc
   GEN lib/util.sh
   GEN lib/pkgbuild.sh
   GEN lib/pacman.sh
   GEN lib/abs.sh
==> Starting package()...
/usr/bin/env install  -d /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/bin
/usr/bin/env install  -d /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install  -d /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/etc
/usr/bin/env install  -d /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/share/bash-completion/completions
/usr/bin/env install  -d /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/share/man/man{5,8}
# Scripts
/usr/bin/env install  -m755 yaourt.sh /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/bin/yaourt
/usr/bin/env install  -m755 pacdiffviewer.sh /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/bin/pacdiffviewer
# Configuration
/usr/bin/env install  -m644 yaourtrc /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/etc/yaourtrc
/usr/bin/env install  -m644 bashcompletion /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/share/bash-completion/completions/yaourt
# Libs
/usr/bin/env install  -m644 lib/alpm_backup.sh /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install  -m644 lib/alpm_query.sh /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install  -m644 lib/alpm_stats.sh /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install  -m644 lib/abs.sh /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install  -m644 lib/aur.sh /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install  -m644 lib/util.sh /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install  -m644 lib/io.sh /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install  -m644 lib/pacman.sh /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install  -m644 lib/pkgbuild.sh /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install  -m644 lib/misc.sh /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/lib/yaourt
# Man
/usr/bin/env install  -m644 man/*.5 /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/share/man/man5
/usr/bin/env install  -m644 man/*.8 /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/share/man/man8
# Locales
test -x /usr/bin/msgfmt && for file in po/*/*.po; \
do \
  package=$(echo $file | /bin/sed -e 's#po/\([^/]\+\).*#\1#'); \
  lang=$(echo $file | /bin/sed -e 's#.*/\([^/]\+\).po#\1#'); \
  /usr/bin/env install  -d /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/share/locale/$lang/LC_MESSAGES; \
  /usr/bin/msgfmt -o /tmp/packerbuild-0/yaourt/yaourt/pkg/yaourt/usr/share/locale/$lang/LC_MESSAGES/$package.mo $file; \
done
==> Tidying install...
  -> Purging unwanted files...
  -> Removing libtool files...
  -> Removing static library files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "yaourt"...
  -> Generating .PKGINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Finished making: yaourt 1.5-1 (Tue Sep 23 19:05:47 CEST 2014)
loading packages...
resolving dependencies...
looking for inter-conflicts...

Packages (1): yaourt-1.5-1

Total Installed Size:   0.32 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                     [########################] 100%
(1/1) checking package integrity                   [########################] 100%
(1/1) loading package files                        [########################] 100%
(1/1) checking for file conflicts                  [########################] 100%
(1/1) checking available disk space                [########################] 100%
(1/1) installing yaourt                            [########################] 100%
Optional dependencies for yaourt
    aurvote: vote for favorite packages from AUR
    customizepkg: automatically modify PKGBUILD during install/upgrade
    rsync: retrieve PKGBUILD from official repositories
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: yaourt: requires package-query>=1.4
checking dependencies...

Packages (3): package-query-1.4-1  yajl-2.1.0-1  yaourt-1.5-1

Total Removed Size:   0.53 MiB

:: Do you want to remove these packages? [Y/n]
(1/3) removing yaourt                              [########################] 100%
(2/3) removing package-query                       [########################] 100%
(3/3) removing yajl                                [########################] 100%
error: target not found: yajl
==> Packages moved to /mnt/live/memory/data15alphaos64/modules/yaourt
==> Running script arch2sb yaourt
==> Extracting
  -> package-query-1.4-1-x86_64.pkg.tar.xz
  -> yajl-2.1.0-1-x86_64.pkg.tar.xz
  -> yaourt-1.5-1-any.pkg.tar.xz

==> Creating bundle yaourt.sb
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on yaourt.sb, block size 524288.
[===================================================================|] 46/46 100%
Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 524288
   compressed data, compressed metadata, compressed fragments, compressed xattrs
   duplicates are removed
Filesystem size 157.82 Kbytes (0.15 Mbytes)
   31.04% of uncompressed filesystem size (508.36 Kbytes)
Inode table size 1031 bytes (1.01 Kbytes)
   30.27% of uncompressed inode table size (3406 bytes)
Directory table size 985 bytes (0.96 Kbytes)
   42.11% of uncompressed directory table size (2339 bytes)
Number of duplicate files found 3
Number of inodes 106
Number of files 49
Number of fragments 1
Number of symbolic links  2
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 55
Number of ids (unique uids + gids) 1
Number of uids 1
   root (0)
Number of gids 1
   root (0)
==> Do you want to load yaourt.sb? [Y/n]


load the resultant sb with bundle -a yaourt.sb from the directory
were it is located


Then I tried to install firefox-esr with yaourt and failed multiple times
this is list of things to do to make it work

1. issue

Code: Select all

   pacman -Sy
   update-ca-certificates

2. install fakeroot

Code: Select all

    # either
    pacman -S fakeroot
   # or
   makesb fakeroot

3. cd to /home dir

Code: Select all

   cd /home


4. set user to alpha

Code: Select all

   su alpha


5. run yaourt

Code: Select all

  # in my example
  yaourt firefox-esr


Observe you may be asked for root's password during install
it is toor on alphaos if you haven't changed it

Code: Select all

[alpha@alphaos home]$ yaourt firefox-esr
1 aur/firefox-esr-bin 31.1.0-1 (35)
    Standalone web browser from mozilla.org - Extended Support Release
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> --------------------------------------------------------
==> 1


==> Downloading firefox-esr-bin PKGBUILD from AUR...
x .AURINFO
x firefox-esr-safe.desktop
x firefox-esr.desktop
x firefox-esr.install
x PKGBUILD
Comment by akurei  (2014-07-24 13:59)
Thanks for the heads-up! So the time has come where even ESR has the horrible new UI =( What do you guys recommend as an alternative?

Comment by Mektub  (2014-07-24 15:34)
@akurei,

use palemoon-bin in the AUR.

Mektub

Comment by quite  (2014-09-02 14:26)
31.1.0 has been released

Comment by sirocco  (2014-09-03 14:22)
24.8.0 has been released

Comment by beatgammit  (2014-09-04 14:01)
Updated to 31.1.0. If you'd prefer to upgrade to 24.8.0 instead, here are the sha512 sums:

- i686: 711737cca187d622550b1fa6911e7dba2aa9818193d5f2ad2fefc50946e8782f630497ad3f03d18acfc7778394dc98d6395079d14e7f6da7f0a2193151f6b3a7

- x86_64: ae6cdeaa34eeb0668cb198de432478921f2fdb1ea9eba588daadd2dfae619ca126399f5277122a048279edfd682bb9eae6a43e0048ea17091858cd1922c88c92

firefox-esr-bin 31.1.0-1  (Thu Aug 30 10:02:16 CEST 2012)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> firefox-esr-bin dependencies:
 - gtk2 (already installed)
 - dbus-glib (already installed)
 - desktop-file-utils (already installed)
 - libxt (already installed)
 - mime-types (already installed)
 - nss (already installed)
 - shared-mime-info (already installed)
 - gconf (already installed)


==> Edit firefox-esr.install ? [Y/n] ("A" to abort)
==> -----------------------------------------------
==> n

==> Continue building firefox-esr-bin ? [Y/n]
==> -----------------------------------------
==>
==> Building and installing package
==> WARNING: Cannot find the sudo binary. Will use su to acquire root privileges.
==> Making package: firefox-esr-bin 31.1.0-1 (Tue Sep 23 19:15:54 CEST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading firefox-31.1.0esr.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 37.3M  100 37.3M    0     0  1692k      0  0:00:22  0:00:22 --:--:-- 1737k
  -> Found firefox-esr.desktop
  -> Found firefox-esr-safe.desktop
==> Validating source files with sha512sums...
    firefox-31.1.0esr.tar.bz2 ... Passed
    firefox-esr.desktop ... Passed
    firefox-esr-safe.desktop ... Passed
==> Extracting sources...
  -> Extracting firefox-31.1.0esr.tar.bz2 with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Purging unwanted files...
  -> Removing libtool files...
  -> Removing static library files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "firefox-esr-bin"...
  -> Generating .PKGINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: firefox-esr-bin 31.1.0-1 (Tue Sep 23 19:17:09 CEST 2014)

==> Continue installing firefox-esr-bin ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==> y

Password:
loading packages...
resolving dependencies...
looking for inter-conflicts...

Packages (1): firefox-esr-bin-31.1.0-1

Total Installed Size:   76.89 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [########################] 100%
(1/1) checking package integrity                   [########################] 100%
(1/1) loading package files                        [########################] 100%
(1/1) checking for file conflicts                  [########################] 100%
(1/1) checking available disk space                [########################] 100%
(1/1) installing firefox-esr-bin                   [########################] 100%
Optional dependencies for firefox-esr-bin
    libgnome: fixes file association/default browser issues on GNOME desktops.


all in all for me a not pleasant experience

I still recommend packer and makesb

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: yaourt install and use

Postby Scooby » 23 Sep 2014, 19:48

OK I hacked up a alphaos friendly version of yaourt
that is supposed to be run as root

changelog /usr/bin/yaourt

1. Added update-ca-certificates ( need devel_!5.sb loaded for perl interpreter )
2. Added pacman -Sy
3. Removed warning about root and internal sleep
4. Added --asroot to makepkg arguments
5. OBS! changed so --noconfirm is passed by default(without typing it)
and if you actually want confirmation
run it with yaourt --confirm

original yaourt will still be availible as yaourt_unscoobied

With this version you should be able to forgo fakeroot and user alpha steps
above

Obs! yajl and package-query included in .sb

You will need devel_15.sb loaded

Download Scooby flavoured yaourt here: root_friendly_yaourt_package-query-yajl.sb


If you are using savefile it is your own responsibility to uninstall previous version of yaourt
or it will be the one visible in system.
If you ran into trouble with savefile and don't know what to do, try booting
with kernel parameter "fresh" and alphaos will boot without savefile


Test 1
tested on clean install of alphaos 15.4 with only devel_15.sb and root_friendly_yaourt_package-query-yajl.sb loaded
Experience is much better now

Code: Select all

[root@alphaos ~]# yaourt firefox-esr
Updating certificates in /etc/ssl/certs... 167 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
:: Synchronizing package databases...
 alphaos                                                                        1010.0   B  0.00B/s 00:00 [###############################################################] 100%
 core                                                                            111.9 KiB   574K/s 00:00 [###############################################################] 100%
 extra                                                                          1573.6 KiB   696K/s 00:02 [###############################################################] 100%
 community                                                                         2.1 MiB   857K/s 00:03 [###############################################################] 100%
1 aur/firefox-esr-bin 31.1.0-1 (35)
    Standalone web browser from mozilla.org - Extended Support Release
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> --------------------------------------------------------
==> 1


==> Downloading firefox-esr-bin PKGBUILD from AUR...
x .AURINFO
x firefox-esr-safe.desktop
x firefox-esr.desktop
x firefox-esr.install
x PKGBUILD
Comment by akurei  (2014-07-24 13:59)
Thanks for the heads-up! So the time has come where even ESR has the horrible new UI =( What do you guys recommend as an alternative?

Comment by Mektub  (2014-07-24 15:34)
@akurei,

use palemoon-bin in the AUR.

Mektub

Comment by quite  (2014-09-02 14:26)
31.1.0 has been released

Comment by sirocco  (2014-09-03 14:22)
24.8.0 has been released

Comment by beatgammit  (2014-09-04 14:01)
Updated to 31.1.0. If you'd prefer to upgrade to 24.8.0 instead, here are the sha512 sums:

- i686: 711737cca187d622550b1fa6911e7dba2aa9818193d5f2ad2fefc50946e8782f630497ad3f03d18acfc7778394dc98d6395079d14e7f6da7f0a2193151f6b3a7

- x86_64: ae6cdeaa34eeb0668cb198de432478921f2fdb1ea9eba588daadd2dfae619ca126399f5277122a048279edfd682bb9eae6a43e0048ea17091858cd1922c88c92

firefox-esr-bin 31.1.0-1  (Thu Aug 30 10:02:16 CEST 2012)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> firefox-esr-bin dependencies:
 - dbus-glib (already installed)
 - desktop-file-utils (already installed)
 - libxt (already installed)
 - shared-mime-info (already installed)
 - gtk2 (package found)
 - mime-types (package found)
 - nss (package found)
 - gconf (package found)


==> Edit firefox-esr.install ? [Y/n] ("A" to abort)
==> -----------------------------------------------
==> n

==> Continue building firefox-esr-bin ? [Y/n]
==> -----------------------------------------
==>
==> Building and installing package
==> Install or build missing dependencies for firefox-esr-bin:
resolving dependencies...
looking for inter-conflicts...

Packages (10): avahi-0.6.31-11  gdbm-1.11-1  js17-17.0.0-1  libcups-1.7.2-1  nspr-4.10.4-1  polkit-0.112-2  gconf-3.2.6-3  gtk2-2.24.23-1  mime-types-9-1  nss-3.16-1

Total Download Size:    12.04 MiB
Total Installed Size:   81.65 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
 gdbm-1.11-1-x86_64                                                              132.1 KiB   579K/s 00:00 [###############################################################]   1%
 avahi-0.6.31-11-x86_64                                                          549.7 KiB   499K/s 00:01 [###############################################################]   4%
 libcups-1.7.2-1-x86_64                                                          826.3 KiB   490K/s 00:02 [###############################################################]   6%
 gtk2-2.24.23-1-x86_64                                                             7.5 MiB  1061K/s 00:07 [###############################################################]  62%
 nspr-4.10.4-1-x86_64                                                              7.7 MiB  1057K/s 00:07 [###############################################################]  63%
 js17-17.0.0-1-x86_64                                                              9.3 MiB   987K/s 00:10 [###############################################################]  76%
 polkit-0.112-2-x86_64                                                             9.6 MiB   965K/s 00:10 [###############################################################]  79%
 gconf-3.2.6-3-x86_64                                                             10.5 MiB   930K/s 00:12 [###############################################################]  87%
 nss-3.16-1-x86_64                                                                12.0 MiB   923K/s 00:13 [###############################################################]  99%
 mime-types-9-1-any                                                               12.0 MiB   909K/s 00:14 [###############################################################] 100%
(10/10) checking keys in keyring                                                                          [###############################################################] 100%
(10/10) checking package integrity                                                                        [###############################################################] 100%
(10/10) loading package files                                                                             [###############################################################] 100%
(10/10) checking for file conflicts                                                                       [###############################################################] 100%
(10/10) checking available disk space                                                                     [###############################################################] 100%
( 1/10) installing gdbm                                                                                   [###############################################################] 100%
( 2/10) installing avahi                                                                                  [###############################################################] 100%
Optional dependencies for avahi
    gtk3: avahi-discover-standalone, bshell, bssh, bvnc [installed]
    gtk2: gtk2 bindings [pending]
    qt3: qt3 bindings
    qt4: qt4 bindings
    pygtk: avahi-bookmarks, avahi-discover
    twisted: avahi-bookmarks
    mono: mono bindings
    python2-dbus: avahi-discover
    nss-mdns: NSS support for mDNS
( 3/10) installing libcups                                                                                [###############################################################] 100%
( 4/10) installing gtk2                                                                                   [###############################################################] 100%
Optional dependencies for gtk2
    gnome-themes-standard: Default widget theme
    gnome-icon-theme: Default icon theme
( 5/10) installing nspr                                                                                   [###############################################################] 100%
( 6/10) installing js17                                                                                   [###############################################################] 100%
( 7/10) installing polkit                                                                                 [###############################################################] 100%
( 8/10) installing gconf                                                                                  [###############################################################] 100%
( 9/10) installing nss                                                                                    [###############################################################] 100%
(10/10) installing mime-types                                                                             [###############################################################] 100%
==> Making package: firefox-esr-bin 31.1.0-1 (Tue Sep 23 20:55:51 CEST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading firefox-31.1.0esr.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 37.3M  100 37.3M    0     0  96737      0  0:06:44  0:06:44 --:--:-- 71117
  -> Found firefox-esr.desktop
  -> Found firefox-esr-safe.desktop
==> Validating source files with sha512sums...
    firefox-31.1.0esr.tar.bz2 ... Passed
    firefox-esr.desktop ... Passed
    firefox-esr-safe.desktop ... Passed
==> Extracting sources...
  -> Extracting firefox-31.1.0esr.tar.bz2 with bsdtar
==> Starting package()...
==> Tidying install...
  -> Purging unwanted files...
  -> Removing libtool files...
  -> Removing static library files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "firefox-esr-bin"...
  -> Generating .PKGINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Finished making: firefox-esr-bin 31.1.0-1 (Tue Sep 23 21:03:29 CEST 2014)

==> Continue installing firefox-esr-bin ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==> y

loading packages...
resolving dependencies...
looking for inter-conflicts...

Packages (1): firefox-esr-bin-31.1.0-1

Total Installed Size:   76.89 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                            [###############################################################] 100%
(1/1) checking package integrity                                                                          [###############################################################] 100%
(1/1) loading package files                                                                               [###############################################################] 100%
(1/1) checking for file conflicts                                                                         [###############################################################] 100%
(1/1) checking available disk space                                                                       [###############################################################] 100%
(1/1) installing firefox-esr-bin                                                                          [###############################################################] 100%
Optional dependencies for firefox-esr-bin
    libgnome: fixes file association/default browser issues on GNOME desktops.


Test 2
Installing flashplugin with --noconfirm
Now it is a really nice experience

Code: Select all

[root@alphaos ~]# yaourt --noconfirm flashplugin
:: Synchronizing package databases...
 alphaos is up to date
 core is up to date
 extra is up to date
 community is up to date
1 extra/flashplugin 11.2.202.350-1
    Adobe Flash Player
2 aur/flashplugin-10 10.3.183.90-1 (16)
    Adobe Flash Player v10 (32-bit) - with GPU hardware acceleration
3 aur/flashplugin-10.1 10.1.102.64-3 (8)
    An older version of flashplugin
4 aur/flashplugin-debugger 11.2.202.394-1 (18)
    Adobe Flash Player
5 aur/flashplugin-lahf-fix 0.1-2 (19)
    Workaround for some flash crashes on x86_64 machines with older machines
6 aur/flashplugin-mimefix 11.2.202.394-1 (0)
    Adobe Flash Player, patched to accept application/vnd.adobe.flash.movie MIME type
7 aur/lib32-flashplugin10 10.3.183.90-1 (6)
    Adobe Flash Player v10 (32-bit) - multilib version for x86_64 with working HW accelerated scaling
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> --------------------------------------------------------
==> 1

resolving dependencies...
looking for inter-conflicts...

Packages (2): mozilla-common-1.4-3  flashplugin-11.2.202.350-1

Total Download Size:    8.30 MiB
Total Installed Size:   22.68 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages ...
 mozilla-common-1.4-3-any                                                        664.0   B  0.00B/s 00:00 [###############################################################]   0%
 flashplugin-11.2.202.350-1-x86_64                                                 8.3 MiB  1333K/s 00:06 [###############################################################] 100%
(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%
(2/2) checking available disk space                                                                       [###############################################################] 100%
(1/2) installing mozilla-common                                                                           [###############################################################] 100%
relogin or source /etc/profile.d/mozilla-common.sh
(2/2) installing flashplugin                                                                              [###############################################################] 100%
 >>
 >> If you have an NVIDIA card that supports libvdpau or Broadcom Crystal HD chips,
 >> uncomment EnableLinuxHWVideoDecode=1 from /etc/adobe/mms.cfg.
 >> If you run into problems, please contact nVidia or Broadcom along with your system config info / driver version.
 >>
Optional dependencies for flashplugin
    libvdpau: GPU acceleration on Nvidia card [installed]

MalwareMedic
Apprentice
Posts: 10
Joined: 21 Sep 2014, 23:20

Re: yaourt install and use

Postby MalwareMedic » 23 Sep 2014, 21:52

Thanks for the information and someone should really add your distro to distrowatch.com the most common place to search distros.

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: yaourt install and use

Postby Scooby » 24 Sep 2014, 14:32

MalwareMedic wrote:Thanks for the information and someone should really add your distro to distrowatch.com the most common place to search distros.


check out
viewtopic.php?f=6&t=896

Sim already tried to get it on distrowatch


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests

cron