My Arch system was not updated for quiet a while, the package manager was giving me trouble and failing.
Then i proceeded to recompile my yaourt package installer from scratch.
Here's how I went about my job..
Note: Do not elevate to root user
wiz@Arch-DOC:~$ git clone https://aur.archlinux.org/yaourt.git
Cloning into 'yaourt'...
remote: Counting objects: 22, done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 22 (delta 8), reused 17 (delta 3)
Unpacking objects: 100% (22/22), done.
Checking connectivity... done.
wiz@Arch-DOC:~$ cd yaourt/
wiz@Arch-DOC:~/yaourt$ ls
PKGBUILD
wiz@Arch-DOC:~/yaourt$ pwd
/home/wiz/yaourt
Now go on to building the package:
See some output for yourself..
wiz@Arch-DOC:~/yaourt$ makepkg -si
==> Making package: yaourt 1.8.1-1 (Sun Apr 3 18:27:56 IST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading yaourt-1.8.1.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 595 0 595 0 0 553 0 --:--:-- 0:00:01 --:--:-- 554
100 102k 100 102k 0 0 29670 0 0:00:03 0:00:03 --:--:-- 47559
==> Validating source files with sha256sums...
yaourt-1.8.1.tar.xz ... Passed
==> Extracting sources...
-> Extracting yaourt-1.8.1.tar.xz 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
==> Entering fakeroot environment...
==> Starting package()...
/usr/bin/env install -d /home/wiz/yaourt/pkg/yaourt/usr/bin
/usr/bin/env install -d /home/wiz/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -d /home/wiz/yaourt/pkg/yaourt/etc
/usr/bin/env install -d /home/wiz/yaourt/pkg/yaourt/usr/share/bash-completion/completions
/usr/bin/env install -d /home/wiz/yaourt/pkg/yaourt/usr/share/man/man{5,8}
# Scripts
/usr/bin/env install -m755 yaourt.sh /home/wiz/yaourt/pkg/yaourt/usr/bin/yaourt
/usr/bin/env install -m755 pacdiffviewer.sh /home/wiz/yaourt/pkg/yaourt/usr/bin/pacdiffviewer
# Configuration
/usr/bin/env install -m644 yaourtrc /home/wiz/yaourt/pkg/yaourt/etc/yaourtrc
/usr/bin/env install -m644 bashcompletion /home/wiz/yaourt/pkg/yaourt/usr/share/bash-completion/completions/yaourt
# Libs
/usr/bin/env install -m644 lib/alpm_backup.sh /home/wiz/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/alpm_query.sh /home/wiz/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/alpm_stats.sh /home/wiz/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/abs.sh /home/wiz/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/aur.sh /home/wiz/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/util.sh /home/wiz/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/io.sh /home/wiz/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/pacman.sh /home/wiz/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/pkgbuild.sh /home/wiz/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/misc.sh /home/wiz/yaourt/pkg/yaourt/usr/lib/yaourt
# Man
/usr/bin/env install -m644 man/*.5 /home/wiz/yaourt/pkg/yaourt/usr/share/man/man5
/usr/bin/env install -m644 man/*.8 /home/wiz/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 /home/wiz/yaourt/pkg/yaourt/usr/share/locale/$lang/LC_MESSAGES; \
/usr/bin/msgfmt -o /home/wiz/yaourt/pkg/yaourt/usr/share/locale/$lang/LC_MESSAGES/$package.mo $file; \
done
==> 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 "yaourt"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: yaourt 1.8.1-1 (Sun Apr 3 18:28:02 IST 2016)
==> Installing package yaourt with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) yaourt-1.8.1-1
Total Installed Size: 0.77 MiB
Net Upgrade Size: 0.45 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%
:: Processing package changes...
(1/1) upgrading yaourt [########################################################] 100%
Now we have a fully rebuilt yaourt installer. lets try to take the system for a Up sync ride now, will be now exiting out of the sourcecode directory.
wiz@Arch-DOC:~/yaourt$ cd ..
Now the time to upgrade the system, get yourself a cup of your favorite drink and chill out while the system syncs upto date.
Its working this time around.. Fancy some output for yourself..
wiz@Arch-DOC:~$ sudo pacman -Syyu
:: Synchronizing package databases...
core 121.2 KiB 122K/s 00:01 [########################################################] 100%
extra 1743.3 KiB 124K/s 00:14 [########################################################] 100%
community 3.4 MiB 123K/s 00:28 [########################################################] 100%
:: Starting full system upgrade...
:: Replace dnsutils with extra/bind-tools? [Y/n] y
:: Replace thttpd with community/sthttpd? [Y/n] y
:: Replace virtualbox-guest-modules with community/virtualbox-guest-dkms? [Y/n] y
:: Replace virtualbox-host-modules with community/virtualbox-host-dkms? [Y/n] y
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency
Packages (498) aalib-1.4rc5-11 accountsservice-0.6.40-2 adwaita-icon-theme-3.18.0-1 alsa-lib-1.1.0-1 alsa-utils-1.1.0-2 aspell-0.60.6.1-4
at-spi2-atk-2.18.1-1 at-spi2-core-2.18.3-1 atk-2.18.0-1 atkmm-2.24.2-2 augeas-1.4.0-1 avahi-0.6.32-2 awesome-3.5.9-1 banshee-2.6.2-8
bash-4.3.042-4 bind-tools-9.10.3.P4-1 binutils-2.26-3 bluez-5.38-3 bluez-hid2hci-5.38-3 bluez-libs-5.38-3 bluez-utils-5.38-3
boost-libs-1.60.0-2 bzr-2.7.0-1 bzrtp-1.0.3-1 ca-certificates-mozilla-3.23-3 cairo-1.14.6-1 cairomm-1.12.0-2 cantarell-fonts-1:0.0.24-1
ceph-0.94.5-3 chromaprint-1.3.1-1 chromium-49.0.2623.110-1 cinnamon-menus-2.8.0-1 cinnamon-translations-2.8.3-1 cjs-2.8.0-2
clucene-2.3.3.4-9 cogl-1.22.0-1 colord-1.2.12-1 coreutils-8.25-1 cryptsetup-1.7.1-1 cups-filters-1.8.3-1 curl-7.48.0-1 darkhttpd-1.12-1
db-5.3.28-3 dbus-1.10.8-1 dbus-glib-0.106-1 dcadec-0.2.0-1 device-mapper-2.02.148-1 dhcpcd-6.10.1-1 dialog-1:1.3_20160209-1
dkms-2.2.0.3+git151023-9 dnsutils-9.9.2.P2-2 [removal] dosfstools-3.0.28-1 dropbear-2016.72-1 e2fsprogs-1.42.13-1 elfutils-0.165-1
enca-1.18-1 enchant-1.6.0-7 expat-2.1.1-1 farstream-0.2.7-1 fcgi-2.4.0-11 ffmpeg-1:3.0-1 file-5.25-1 filesystem-2015.09-1
findutils-4.6.0-1 firefox-45.0.1-1 firefox-i18n-hi-in-45.0.1-1 firefox-i18n-te-45.0.1-1 flac-1.3.1-3 flex-2.6.0-2 fontconfig-2.11.94-1
freetype2-2.6.3-1 fribidi-0.19.7-1 fuse-2.9.5-1 gawk-4.1.3-1 gc-7.4.2-4 gcc-5.3.0-5 gcc-libs-5.3.0-5 gcr-3.18.0-1 gd-2.1.1-3
gdk-pixbuf2-2.32.3-1 geany-1.27-1 geoclue2-2.4.3-1 geocode-glib-3.18.2-1 geoip-1.6.6-2 geoip-database-20160301-2 gettext-0.19.7-1
ghostscript-9.19-1 giflib-5.1.2-1 glew-1.13.0-1 glib-networking-2.46.1-1 glib2-2.46.2-4 glibc-2.23-1 glibmm-2.46.3-1 glu-9.0.0-4
gmp-6.1.0-3 gnome-menus-3.13.3-2 gnupg-2.1.11-1 gnutls-3.4.10-1 gobject-introspection-1.46.0-1 gobject-introspection-runtime-1.46.0-1
gparted-0.25.0-1 gperftools-2.4-2 gpgme-1.6.0-2 gpm-1.20.7-6 graphene-1.2.10-1 graphite-1:1.3.8-1 grep-2.24-1 groff-1.22.3-6
grub-1:2.02.beta2-6 gsettings-desktop-schemas-3.18.1-1 gsfonts-20150811-1 gsm-1.0.14-1 gst-plugins-bad-1.6.3-6 gst-plugins-base-1.6.3-1
gst-plugins-base-libs-1.6.3-1 gst-plugins-good-1.6.3-1 gstreamer-1.6.3-1 gstreamer0.10-bad-0.10.23-14 gstreamer0.10-bad-plugins-0.10.23-14
gstreamer0.10-good-0.10.31-10 gstreamer0.10-good-plugins-0.10.31-10 gtk-sharp-2-2.12.29-1 gtk-update-icon-cache-3.18.9-1 gtk2-2.24.30-1
gtk3-3.18.9-1 gtkmm-2.24.4-2 guile-2.0.11-3 gvfs-1.26.3-1 gvfs-mtp-1.26.3-1 harfbuzz-1.2.4-1 harfbuzz-icu-1.2.4-1
hicolor-icon-theme-0.15-1 hspell-1.3-1 hunspell-1.3.4-1 hwids-20160306-1 iana-etc-20160314-1 icu-56.1-2 idesk-0.7.5-7 inetutils-1.9.4-2
iproute2-4.4.0-1 iputils-20150815.1c59920-3 iso-codes-3.67-1 iw-4.3-1 jack-0.124.1-6 jasper-1.900.1-14 js-24.2.0-3 js17-17.0.0-3
json-glib-1.0.4-1 kbd-2.0.3-1 kde-dev-scripts-15.12.3-1 kmod-22-1 krb5-1.13.2-3 ladspa-1.13-6 lame-3.99.5-3 ldb-1.1.26-1 ldns-1.6.17-4
less-481-2 leveldb-1.18-2 libabw-0.1.1-2 libass-0.13.2-1 libassuan-2.4.2-1 libbluray-0.9.2-1 libbsd-0.8.2-2 libburn-1.4.2.pl01-1
libcaca-0.99.beta19-1 libcap-2.25-1 libcap-ng-0.7.7-1 libcdio-0.93-3 libcdr-0.1.2-1 libcmis-0.5.1-1 libcroco-0.6.11-1 libcups-2.1.3-1
libdatrie-0.2.10-1 libdbus-1.10.8-1 libdrm-2.4.67-2 libdvdnav-5.0.3-1 libdvdread-5.0.4-1 libe-book-0.1.2-4 libedit-20150325_3.1-2
libelf-0.165-1 libepoxy-1.3.1-1 libetonyek-0.1.6-1 libevdev-1.4.6-1 libevent-2.0.22-2 libexttextcat-3.4.4-1 libfbclient-2.5.5.26952-1
libgcrypt-1.6.5-1 libgdm-3.18.2-1 libgme-0.6.0-5 libgpg-error-1.21-1 libgphoto2-2.5.9-1 libgsystem-2015.2-1 libgudev-230-1
libgusb-0.2.9-1 libgxps-0.2.3.2-1 libibus-1.5.13-1 libical-2.0.0-2 libidn-1.32-1 libimobiledevice-1.2.0-3 libinput-1.2.2-1
libisofs-1.4.2-1 libixion-0.11.0-2 libjpeg-turbo-1.4.2-2 liblangtag-0.5.8-2 libldap-2.4.44-1 libmariadbclient-10.1.13-1
libmm-glib-1.4.14-1 libmodplug-0.8.8.5-2 libmp4v2-2.0.0-4 libmpcdec-1:0.1+r475-1 libmspub-0.1.2-4 libmtp-1.1.11-1 libmwaw-0.3.6-2
libnice-0.1.13-1 libnl-3.2.27-1 libnm-glib-1.0.12-1 libnotify-0.7.6-2 libodfgen-0.1.6-1 libofa-0.9.3-6 liborcus-0.11.0-1
libpagemaker-0.0.3-1 libpaper-1.1.24-9 libpcap-1.7.4-1 libpipeline-1.4.1-1 libplist-1.12-4 libpng-1.6.21-1 libproxy-0.4.12-1
libpulse-8.0-3 libpurple-2.10.12-1 libraw1394-2.1.1-1 libreoffice-fresh-5.1.1-3 libreoffice-fresh-hi-5.1.1-1 libreoffice-fresh-te-5.1.1-1
librevenge-0.0.4-1 librsvg-2:2.40.15-1 libseccomp-2.2.3-1 libsecret-0.18.5-1 libshout-1:2.4.1-2 libsigc++-2.8.0-1 libsndfile-1.0.26-1
libsoup-2.52.2-1 libsoxr-0.1.2-1 libsrtp-1:1.5.4-1 libssh-0.7.3-1 libssh2-1.7.0-2 libsynaptics-0.14.6c-7 libsystemd-229-3
libtasn1-4.7-1 libthai-0.1.24-1 libtiff-4.0.6-2 libtirpc-1.0.1-2 libtool-2.4.6-4 libtracker-sparql-1.6.1-3 libunistring-0.9.6-1
libunwind-1.1-3 libusb-1.0.20-1 libutil-linux-2.27.1-1 libva-1.7.0-1 libvdpau-1.1.1-2 libvirt-1.3.2-3 libvisio-0.1.5-1
libvisual-0.4.0-6 libvoikko-4.0.2-1 libvpx-1.5.0-4 libwacom-0.18-1 libwbclient-4.4.0-1 libwebp-0.5.0-1 libwpd-0.10.1-1 libwpg-0.3.1-1
libwps-0.4.3-1 libx264-2:148.20160103-1 libxcb-1.11.1-1 libxi-1.7.6-1 libxkbcommon-0.6.0-1 libxml2-2.9.3-1 libxslt-1.1.28-4
lightdm-1:1.18.0-1 lighttpd-1.4.39-2 linux-4.4.5-1 linux-api-headers-4.4.1-1 linux-firmware-20160113.40e9ae8-1 llvm-libs-3.7.1-1
lm_sensors-3.4.0-1 logrotate-3.9.1-1 lsof-4.89-1 lua-5.3.2-1 lvm2-2.02.148-1 lxdm-0.5.3-2 lxinput-0.3.5-1 lxrandr-0.3.1-1 lz4-131-1
make-4.1-3 man-db-2.7.5-1 man-pages-4.05-1 mbedtls-2.2.1-1 mdadm-3.4-1 media-player-info-22-2 mediastreamer-2.12.1-4 mesa-11.1.2-1
mesa-libgl-11.1.2-1 mjpegtools-2.1.0-2 mkinitcpio-19-1 mkinitcpio-busybox-1.24.1-1 mobile-broadband-provider-info-20151214-1
mono-4.4.0.40-2 mpfr-3.1.4-1 mpg123-1.22.4-1 musicbrainz-2.1.5-7 mutagen-1.31-1 namcap-3.2.6-1 nano-2.5.3-1 nautilus-sendto-3.8.3-1
ncurses-6.0-4 neon-0.30.1-2 netcf-0.2.8-3 netctl-1.11-1 nettle-3.2-1 nspr-4.12-1 nss-3.23-3 ntfs-3g-2016.2.22-1 ntp-4.2.8.p6-3
numactl-2.0.11-1 openal-1.17.2-2 openresolv-3.7.2-1 openssh-7.2p2-1 openssl-1.0.2.g-3 opera-36.0.2130.46-1 opus-1.1.2-1 orc-0.4.25-1
ortp-0.25.0-1 os-prober-1.71-1 p11-kit-0.23.2-1 pam-1.2.1-3 pango-1.39.0-1 pangomm-2.38.1-2 parted-3.2-3 pciutils-3.4.1-1 pcre-8.38-3
perl-5.22.1-2 perl-uri-1.71-1 pidgin-2.10.12-1 pinentry-0.9.7-1 pixman-0.34.0-1 pkg-config-0.29.1-1 polkit-0.113-4 poppler-0.41.0-1
poppler-glib-0.41.0-1 postfix-3.1.0-3 postgresql-libs-9.5.2-1 privoxy-3.0.24-2 procps-ng-3.3.11-2 protobuf-2.6.1-2 protobuf-c-1.2.1-2
psmisc-22.21-3 putty-0.66-1 pyalpm-0.8-1 pygobject-devel-3.18.2-1 pygobject2-devel-2.28.6-12 pygtk-2.24.0-6 python-3.5.1-2
python-dbus-1.2.4-1 python-dbus-common-1.2.4-1 python-pyelftools-0.23-2 python-xdg-0.25-3 python2-2.7.11-3 python2-atspi-2.18.0-1
python2-beaker-1.8.0-1 python2-gobject-3.18.2-1 python2-gobject2-2.28.6-12 python2-lxml-3.6.0-1 python2-mako-1.0.4-1
python2-markupsafe-0.23-3 python2-packaging-16.6-1 python2-pam-0.1.4-3 python2-pexpect-4.0.1-2 python2-pillow-3.1.1-1
python2-ptyprocess-0.5.1-1 python2-pyinotify-0.9.6-2 python2-pyparsing-2.1.1-1 python2-setuptools-1:20.6.7-1 python2-six-1.10.0-1
python2-xdg-0.25-3 raptor-2.0.15-3 readline-6.3.008-3 redland-1:1.0.17-3 rest-0.7.93-1 rsync-3.1.2-1 rtmpdump-1:2.4.r96.fa8646d-2
ruby-2.3.0-2 run-parts-4.7-1 s-nail-14.8.8-1 samba-4.4.0-1 sane-1.0.25-1 schroedinger-1.0.11-3 sg3_utils-1.42-1 shared-mime-info-1.5-1
smbclient-4.4.0-1 smbnetfs-0.6.0-2 snappy-1.1.3-2 soundtouch-1.9.0-3 speech-dispatcher-0.8.3-6 speexdsp-1.2rc3-2 sqlite-3.11.1-1
sqlite-doc-3.11.1-1 sthttpd-2.27.0-1 sudo-1.8.16-1 supertuxkart-0.9.1-2 syslinux-6.03-5 systemd-229-3 systemd-sysvcompat-229-3
taglib-1.10-3 talloc-2.1.6-1 tdb-1.3.8-1 tevent-0.9.28-1 texinfo-6.1-1 thin-provisioning-tools-0.6.1-2 thttpd-2.26-4 [removal]
tor-0.2.7.6-3 ttf-dejavu-2.35-1 ttf-liberation-2.00.1-6 tzdata-2016c-1 udisks2-2.1.7-1 unzip-6.0-11 util-linux-2.27.1-1
v4l-utils-1.10.0-1 vi-1:070224-2 vid.stab-1.1-1 videoproto-2.3.3-1 vim-7.4.1639-1 vim-runtime-7.4.1639-1 virtualbox-5.0.16-3
virtualbox-guest-dkms-5.0.16-3 virtualbox-guest-iso-5.0.16-1 virtualbox-guest-modules-4.3.28-1 [removal] virtualbox-guest-utils-5.0.16-3
virtualbox-host-dkms-5.0.16-3 virtualbox-host-modules-4.3.28-1 [removal] vte-0.28.2-7 vte-common-0.42.5-1 wavpack-4.75.2-1
wayland-1.10.0-1 webfs-1.21-12 webkitgtk2-2.4.10-1 wget-1.17.1-1 wpa_supplicant-1:2.5-3 x265-1.9-1 xcb-proto-1.11-2 xdg-utils-1.1.1-1
xdm-archlinux-0.5-3 xf86-input-evdev-2.10.1-3 xf86-input-joystick-1.6.2-6 xf86-input-keyboard-1.8.1-2 xf86-input-mouse-1.9.1-2
xf86-input-synaptics-1.8.3-2 xf86-input-vmmouse-13.1.0-2 xf86-input-void-1.4.1-2 xf86-video-ark-0.7.5-7 xf86-video-ati-1:7.6.1-1
xf86-video-dummy-0.3.7-5 xf86-video-fbdev-0.4.4-5 xf86-video-glint-1.2.8-7 xf86-video-i128-1.3.6-7
xf86-video-intel-1:2.99.917+587+gc186d4d-1 xf86-video-mach64-6.9.5-2 xf86-video-neomagic-1.2.9-2 xf86-video-nouveau-1.0.12-1
xf86-video-nv-2.1.20-7 xf86-video-openchrome-0.3.3-6 xf86-video-r128-6.10.1-1 xf86-video-savage-2.3.8-2 xf86-video-siliconmotion-1.7.8-2
xf86-video-sis-0.10.8-2 xf86-video-tdfx-1.4.5-7 xf86-video-trident-1.3.7-2 xf86-video-vesa-2.3.4-2 xf86-video-vmware-13.1.0-3
xf86-video-voodoo-1.2.5-7 xfconf-4.12.0-2 xfsprogs-4.3.0-1 xkeyboard-config-2.17-2 xorg-server-1.18.2-4 xorg-server-common-1.18.2-4
xorg-server-xdmx-1.18.2-4 xorg-server-xwayland-1.18.2-4 xorg-xdm-1.1.11-6 xorg-xinit-1.3.4-4 xorg-xinput-1.6.2-1 xorg-xkbcomp-1.3.1-1
xorg-xrandr-1.5.0-1 xorg-xrdb-1.1.0-2 xproto-7.0.28-1 xterm-324-1 xvidcore-1.3.4-1 xz-5.2.2-1 zip-3.0-7 zita-alsa-pcmi-0.2.0-3
zita-resampler-1.3.0-5 zlib-1.2.8-4
Total Download Size: 1243.15 MiB
Total Installed Size: 4106.63 MiB
Net Upgrade Size: 560.98 MiB
:: Proceed with installation? [Y/n] y
---Truncating the output---
------------------
Thus I completed rebuilding the yaourt and was able to fix the package manager
No comments:
Post a Comment