Pages

Unixbhaskar's Blog

Wednesday, August 7, 2013

How to install powerpill( a pacman wrapper) on Arch Linux

Pretty easy! generally follow this page and do the thing below:

powerpill-2013.7.25/TODO
powerpill-2013.7.25/man.md/
powerpill-2013.7.25/man.md/powerpill.json.1.md
powerpill-2013.7.25/powerpill
powerpill-2013.7.25/powerpill-bash-completion.sh
powerpill-2013.7.25/powerpill.json
powerpill-2013.7.25/man/
powerpill-2013.7.25/man/powerpill.json.1.gz
bhaskar@ArchLinux_11:55:02_Wed Aug 07:~/Downloads> cd powerpill-2013.7.25

bhaskar@ArchLinux_11:55:05_Wed Aug 07:~/Downloads/powerpill-2013.7.25> ls
CHANGELOG COPYING man man.md powerpill powerpill-bash-completion.sh powerpill.json TODO

bhaskar@ArchLinux_11:55:06_Wed Aug 07:~/Downloads/powerpill-2013.7.25> makepkg -s
==> ERROR: PKGBUILD does not exist.

bhaskar@ArchLinux_11:55:16_Wed Aug 07:~/Downloads/powerpill-2013.7.25> ls
CHANGELOG COPYING man man.md powerpill powerpill-bash-completion.sh powerpill.json TODO

bhaskar@ArchLinux_11:55:22_Wed Aug 07:~/Downloads/powerpill-2013.7.25> cd ..

bhaskar@ArchLinux_11:56:53_Wed Aug 07:~/Downloads> rm -rf powerpill-2013.7.25

bhaskar@ArchLinux_11:57:01_Wed Aug 07:~/Downloads> tar -xvzf powerpill.tar.gz
powerpill/
powerpill/PKGBUILD
powerpill/powerpill.install

bhaskar@ArchLinux_11:57:11_Wed Aug 07:~/Downloads> cd powerpill

bhaskar@ArchLinux_11:57:15_Wed Aug 07:~/Downloads/powerpill> ls
PKGBUILD powerpill.install

bhaskar@ArchLinux_11:57:16_Wed Aug 07:~/Downloads/powerpill> makepkg -s
==> Making package: powerpill 2013.7.25-1 (Wed Aug 7 11:57:23 IST 2013)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for bhaskar:
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
if you're sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck
==> ERROR: 'pacman' failed to install missing dependencies.

bhaskar@ArchLinux_11:57:27_Wed Aug 07:~/Downloads/powerpill> makepkg -s
==> Making package: powerpill 2013.7.25-1 (Wed Aug 7 12:36:15 IST 2013)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for bhaskar:
error: target not found: pm2ml>2012.12.12
==> ERROR: 'pacman' failed to install missing dependencies.

bhaskar@ArchLinux_12:36:19_Wed Aug 07:~/Downloads/powerpill> cd ..

bhaskar@ArchLinux_12:37:07_Wed Aug 07:~/Downloads> tar -xvzf pm2ml.tar.gz
pm2ml/
pm2ml/PKGBUILD

bhaskar@ArchLinux_12:37:12_Wed Aug 07:~/Downloads> cd pm2ml

bhaskar@ArchLinux_12:37:15_Wed Aug 07:~/Downloads/pm2ml> ls
PKGBUILD

bhaskar@ArchLinux_12:37:16_Wed Aug 07:~/Downloads/pm2ml> makepkg -s
==> Making package: pm2ml 2013.6-1 (Wed Aug 7 12:37:21 IST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading pm2ml-2013.6.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 14000 100 14000 0 0 3107 0 0:00:04 0:00:04 --:--:-- 3108
-> Downloading pm2ml-2013.6.tar.xz.sig...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 287 100 287 0 0 247 0 0:00:01 0:00:01 --:--:-- 248
==> Validating source files with md5sums...
pm2ml-2013.6.tar.xz ... Passed
pm2ml-2013.6.tar.xz.sig ... Passed
==> Validating source files with sha512sums...
pm2ml-2013.6.tar.xz ... Passed
pm2ml-2013.6.tar.xz.sig ... Passed
==> Verifying source file signatures with gpg...
pm2ml-2013.6.tar.xz ... FAILED (unknown public key 5CED81B7C2E5C0D2)
==> WARNING: Warnings have occurred while verifying the signatures.
Please make sure you really trust them.
==> Extracting sources...
-> Extracting pm2ml-2013.6.tar.xz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
running install
running build
running build_py
creating build
creating build/lib
copying pm2ml.py -> build/lib
running install_lib
creating /home/bhaskar/Downloads/pm2ml/pkg/pm2ml/usr
creating /home/bhaskar/Downloads/pm2ml/pkg/pm2ml/usr/lib
creating /home/bhaskar/Downloads/pm2ml/pkg/pm2ml/usr/lib/python3.3
creating /home/bhaskar/Downloads/pm2ml/pkg/pm2ml/usr/lib/python3.3/site-packages
copying build/lib/pm2ml.py -> /home/bhaskar/Downloads/pm2ml/pkg/pm2ml/usr/lib/python3.3/site-packages
byte-compiling /home/bhaskar/Downloads/pm2ml/pkg/pm2ml/usr/lib/python3.3/site-packages/pm2ml.py to pm2ml.cpython-33.pyc
writing byte-compilation script '/tmp/tmpfe9ozp.py'
/usr/bin/python3 -O /tmp/tmpfe9ozp.py
removing /tmp/tmpfe9ozp.py
running install_egg_info
Writing /home/bhaskar/Downloads/pm2ml/pkg/pm2ml/usr/lib/python3.3/site-packages/pm2ml-2013.06.11.16.49.05-py3.3.egg-info
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package "pm2ml"...
-> Generating .PKGINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: pm2ml 2013.6-1 (Wed Aug 7 12:37:30 IST 2013)

bhaskar@ArchLinux_12:37:30_Wed Aug 07:~/Downloads/pm2ml> ls
pkg PKGBUILD pm2ml-2013.6-1-any.pkg.tar.xz pm2ml-2013.6.tar.xz pm2ml-2013.6.tar.xz.sig src

bhaskar@ArchLinux_12:37:33_Wed Aug 07:~/Downloads/pm2ml> sudo pacman -U pm2ml-2013.6.tar.xz
loading packages...
error: missing package metadata in pm2ml-2013.6.tar.xz
error: 'pm2ml-2013.6.tar.xz': invalid or corrupted package

bhaskar@ArchLinux_12:38:35_Wed Aug 07:~/Downloads/pm2ml> sudo pacman -U pm2ml-2013.6-1-any.pkg.tar.xz
loading packages...
resolving dependencies...
looking for inter-conflicts...

Packages (1): pm2ml-2013.6-1

Total Installed Size: 0.12 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 pm2ml [############################################################] 100%
Optional dependencies for pm2ml
reflector: Reflector support
python3-aur: AUR support
aria2: ppl script support.

bhaskar@ArchLinux_12:39:25_Wed Aug 07:~/Downloads/pm2ml> cd ..

bhaskar@ArchLinux_12:39:37_Wed Aug 07:~/Downloads> cd powerpill

bhaskar@ArchLinux_12:39:41_Wed Aug 07:~/Downloads/powerpill> ls
PKGBUILD powerpill.install

bhaskar@ArchLinux_12:39:44_Wed Aug 07:~/Downloads/powerpill> makepkg -s
==> Making package: powerpill 2013.7.25-1 (Wed Aug 7 12:39:56 IST 2013)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Packages (3): c-ares-1.10.0-1 aria2-1.17.1-1 reflector-2013-1

Total Download Size: 1.25 MiB
Total Installed Size: 4.44 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
error: failed retrieving file 'c-ares-1.10.0-1-i686.pkg.tar.xz' from archlinux.mirrors.uk2.net : The requested URL returned error: 404 Not Found
c-ares-1.10.0-1-i686 112.9 KiB 16.2K/s 00:07 [############################################################] 100%
error: failed retrieving file 'reflector-2013-1-any.pkg.tar.xz' from archlinux.mirrors.uk2.net : The requested URL returned error: 404 Not Found
reflector-2013-1-any 11.9 KiB 19.0K/s 00:01 [############################################################] 100%
error: failed retrieving file 'aria2-1.17.1-1-i686.pkg.tar.xz' from archlinux.mirrors.uk2.net : The requested URL returned error: 404 Not Found
aria2-1.17.1-1-i686 1152.8 KiB 30.2K/s 00:38 [############################################################] 100%
(3/3) checking keys in keyring [############################################################] 100%
(3/3) checking package integrity [############################################################] 100%
(3/3) loading package files [############################################################] 100%
(3/3) checking for file conflicts [############################################################] 100%
(3/3) checking available disk space [############################################################] 100%
(1/3) installing reflector [############################################################] 100%
(2/3) installing c-ares [############################################################] 100%
(3/3) installing aria2 [############################################################] 100%
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading powerpill-2013.7.25.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16156 100 16156 0 0 2243 0 0:00:07 0:00:07 --:--:-- 3790
-> Downloading powerpill-2013.7.25.tar.xz.sig...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 287 100 287 0 0 233 0 0:00:01 0:00:01 --:--:-- 233
==> Validating source files with md5sums...
powerpill-2013.7.25.tar.xz ... Passed
powerpill-2013.7.25.tar.xz.sig ... Passed
==> Validating source files with sha512sums...
powerpill-2013.7.25.tar.xz ... Passed
powerpill-2013.7.25.tar.xz.sig ... Passed
==> Verifying source file signatures with gpg...
powerpill-2013.7.25.tar.xz ... FAILED (unknown public key 5CED81B7C2E5C0D2)
==> WARNING: Warnings have occurred while verifying the signatures.
Please make sure you really trust them.
==> Extracting sources...
-> Extracting powerpill-2013.7.25.tar.xz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package "powerpill"...
-> Generating .PKGINFO file...
-> Adding install file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: powerpill 2013.7.25-1 (Wed Aug 7 12:41:04 IST 2013)

bhaskar@ArchLinux_12:41:04_Wed Aug 07:~/Downloads/powerpill> ls
pkg PKGBUILD powerpill-2013.7.25-1-any.pkg.tar.xz powerpill-2013.7.25.tar.xz powerpill-2013.7.25.tar.xz.sig powerpill.install src

bhaskar@ArchLinux_12:41:16_Wed Aug 07:~/Downloads/powerpill> sudo pacman -U powerpill-2013.7.25-1-any.pkg.tar.xz
loading packages...
resolving dependencies...
looking for inter-conflicts...

Packages (1): powerpill-2013.7.25-1

Total Installed Size: 0.06 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 powerpill [############################################################] 100%
Optional dependencies for powerpill
rsync: Rsync download support [installed]
python3-threaded_servers: internal Pacserve support

bhaskar@ArchLinux_12:42:05_Wed Aug 07:~/Downloads/powerpill> cd ~



Now powerpill on action ...


08/07 12:45:10 [NOTICE] Download complete: /var/cache/pacman/pkg/man-pages-3.53-1-any.pkg.tar.xz
[DL:135KiB UL:0B][#11b53d 0B/2.8MiB(0%)][#540efa 47KiB/47KiB(100%)][#cad1dc 48KiB/364KiB(13%)][#eefdc7 28KiB/28KiB(100%)][#08be30 0B/5.0MiB(0%)](+24) [Checksum:#b3eab6
08/07 12:45:16 [NOTICE] Verification finished successfully. file=/var/cache/pacman/pkg/linux-3.10.5-1-i686.pkg.tar.xz

08/07 12:45:16 [NOTICE] Download complete: /var/cache/pacman/pkg/linux-3.10.5-1-i686.pkg.tar.xz

08/07 12:45:16 [NOTICE] Verification finished successfully. file=/var/cache/pacman/pkg/linux-lts-headers-3.0.89-1-i686.pkg.tar.xz

08/07 12:45:16 [NOTICE] Download complete: /var/cache/pacman/pkg/linux-lts-headers-3.0.89-1-i686.pkg.tar.xz

08/07 12:45:16 [NOTICE] Verification finished successfully. file=/var/cache/pacman/pkg/libusbx-1.0.16-2-i686.pkg.tar.xz

08/07 12:45:16 [NOTICE] Download complete: /var/cache/pacman/pkg/libusbx-1.0.16-2-i686.pkg.tar.xz

08/07 12:45:16 [NOTICE] Verification finished successfully. file=/var/cache/pacman/pkg/util-linux-2.23.2-1-i686.pkg.tar.xz

08/07 12:45:16 [NOTICE] Download complete: /var/cache/pacman/pkg/util-linux-2.23.2-1-i686.pkg.tar.xz
[DL:154KiB UL:0B][#11b53d 0B/2.8MiB(0%)][#540efa 47KiB/47KiB(100%)][#cad1dc 64KiB/364KiB(17%)][#eefdc7 28KiB/28KiB(100%)][#08be30 0B/5.0MiB(0%)](+20) [Checksum:#b5ac20
08/07 12:45:20 [NOTICE] Verification finished successfully. file=/var/cache/pacman/pkg/linux-lts-3.0.89-1-i686.pkg.tar.xz

08/07 12:45:20 [NOTICE] Download complete: /var/cache/pacman/pkg/linux-lts-3.0.89-1-i686.pkg.tar.xz

08/07 12:45:20 [NOTICE] Verification finished successfully. file=/var/cache/pacman/pkg/grub-2.00.5086-1-i686.pkg.tar.xz

08/07 12:45:20 [NOTICE] Download complete: /var/cache/pacman/pkg/grub-2.00.5086-1-i686.pkg.tar.xz

08/07 12:45:20 [NOTICE] Verification finished successfully. file=/var/cache/pacman/pkg/libvdpau-0.7-1-i686.pkg.tar.xz

08/07 12:45:20 [NOTICE] Download complete: /var/cache/pacman/pkg/libvdpau-0.7-1-i686.pkg.tar.xz

08/07 12:45:20 [NOTICE] Verification finished successfully. file=/var/cache/pacman/pkg/libwbclient-4.0.8-1-i686.pkg.tar.xz

08/07 12:45:20 [NOTICE] Download complete: /var/cache/pacman/pkg/libwbclient-4.0.8-1-i686.pkg.tar.xz

08/07 12:45:20 [NOTICE] Verification finished successfully. file=/var/cache/pacman/pkg/evas_generic_loaders-1.7.7-4-i686.pkg.tar.xz

08/07 12:45:20 [NOTICE] Download complete: /var/cache/pacman/pkg/evas_generic_loaders-1.7.7-4-i686.pkg.tar.xz
[DL:157KiB UL:0B][#11b53d 16KiB/2.8MiB(0%)][#cad1dc 96KiB/364KiB(26%)][#08be30 16KiB/5.0MiB(0%)][#3e6846 0B/898KiB(0%)][#3de57c 0B/506KiB(0%)](+15)
08/07 12:45:28 [NOTICE] Verification finished successfully. file=/var/cache/pacman/pkg/poppler-glib-0.24.0-1-i686.pkg.tar.xz

08/07 12:45:28 [NOTICE] Download complete: /var/cache/pacman/pkg/poppler-glib-0.24.0-1-i686.pkg.tar.xz
[DL:169KiB UL:0B][#11b53d 32KiB/2.8MiB(1%)][#cad1dc 192KiB/364KiB(52%)][#08be30 16KiB/5.0MiB(0%)][#3e6846 0B/898KiB(0%)][#3de57c 0B/506KiB(0%)](+14)
08/07 12:45:37 [NOTICE] Verification finished successfully. file=/var/cache/pacman/pkg/libdiscid-0.5.2-1-i686.pkg.tar.xz

08/07 12:45:37 [NOTICE] Download complete: /var/cache/pacman/pkg/libdiscid-0.5.2-1-i686.pkg.tar.xz
[DL:167KiB UL:0B][#11b53d 64KiB/2.8MiB(2%)][#cad1dc 320KiB/364KiB(87%)][#08be30 32KiB/5.0MiB(0%)][#3e6846 32KiB/898KiB(3%)][#3de57c 0B/506KiB(0%)](+13)
08/07 12:45:43 [NOTICE] Verification finished successfully. file=/var/cache/pacman/pkg/pyalpm-0.6.2-1-i686.pkg.tar.xz

08/07 12:45:43 [NOTICE] Download complete: /var/cache/pacman/pkg/pyalpm-0.6.2-1-i686.pkg.tar.xz
[DL:167KiB UL:0B][#11b53d 64KiB/2.8MiB(2%)][#cad1dc 352KiB/364KiB(96%)][#08be30 32KiB/5.0MiB(0%)][#3e6846 32KiB/898KiB(3%)][#3de57c 0B/506KiB(0%)](+12)
08/07 12:45:44 [NOTICE] Verification finished successfully. file=/var/cache/pacman/pkg/libwnck3-3.4.6-1-i686.pkg.tar.xz

08/07 12:45:44 [NOTICE] Download complete: /var/cache/pacman/pkg/libwnck3-3.4.6-1-i686.pkg.tar.xz
*** Download Progress Summary as of Wed Aug 7 12:46:09 2013 ***
=======================================================================================================================================================================
[#11b53d 144KiB/2.8MiB(4%) CN:1 DL:1.6KiB ETA:28m19s]
FILE: /var/cache/pacman/pkg/libreoffice-writer-4.0.4-2-i686.pkg.tar.xz
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[#08be30 80KiB/5.0MiB(1%) CN:1 DL:1.4KiB ETA:1h10s]
FILE: /var/cache/pacman/pkg/smbclient-4.0.8-1-i686.pkg.tar.xz
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[#3e6846 96KiB/898KiB(10%) CN:1 DL:1.7KiB ETA:7m29s]
FILE: /var/cache/pacman/pkg/poppler-0.24.0-1-i686.pkg.tar.xz
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[#3de57c 0B/506KiB(0%) CN:1 DL:285B ETA:30m19s]
FILE: /var/cache/pacman/pkg/xf86-video-intel-2.21.14-1-i686.pkg.tar.xz
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[#91857f 1.6MiB/17MiB(9%) CN:2 DL:29KiB ETA:9m16s]
FILE: /var/cache/pacman/pkg/thunderbird-17.0.8-1-i686.pkg.tar.xz
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[#78ae6a 288KiB/5.1MiB(5%) CN:1 DL:7.9KiB ETA:10m25s]
FILE: /var/cache/pacman/pkg/libreoffice-calc-4.0.4-2-i686.pkg.tar.xz
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[#4ba70b 144KiB/17MiB(0%) CN:2 DL:5.8KiB ETA:50m56s]
FILE: /var/cache/pacman/pkg/wine-1.7.0-1-i686.pkg.tar.xz
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[#0913ae 96KiB/675KiB(14%) CN:1 DL:2.3KiB ETA:4m4s]
FILE: /var/cache/pacman/pkg/libgdata-0.13.4-1-i686.pkg.tar.xz
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[#b54e24 0B/1.8MiB(0%) CN:1 DL:0B]
FILE: /var/cache/pacman/pkg/libreoffice-base-4.0.4-2-i686.pkg.tar.xz
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[#b73c73 3.0MiB/22MiB(13%) CN:4 DL:44KiB ETA:7m20s]
FILE: /var/cache/pacman/pkg/firefox-23.0-1-i686.pkg.tar.xz
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[#02901e 32KiB/5.2MiB(0%) CN:1 DL:2.6KiB ETA:34m26s]
FILE: /var/cache/pacman/pkg/libreoffice-en-US-4.0.4-2-i686.pkg.tar.xz
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[#821bdf 112KiB/396KiB(28%) CN:1 DL:1.6KiB ETA:2m54s]
FILE: /var/cache/pacman/pkg/libreoffice-gnome-4.0.4-2-i686.pkg.tar.xz
--------------------------------------------------------

Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
02659f|OK | 0B/s|/var/cache/pacman/pkg/linux-headers-3.10.5-1-i686.pkg.tar.xz
be294b|OK | 0B/s|/var/cache/pacman/pkg/iproute2-3.10.0-1-i686.pkg.tar.xz
d8895d|OK | 0B/s|/var/cache/pacman/pkg/man-pages-3.53-1-any.pkg.tar.xz
b3eab6|OK | 0B/s|/var/cache/pacman/pkg/linux-3.10.5-1-i686.pkg.tar.xz
31a4e7|OK | 0B/s|/var/cache/pacman/pkg/linux-lts-headers-3.0.89-1-i686.pkg.tar.xz
1c6461|OK | 0B/s|/var/cache/pacman/pkg/libusbx-1.0.16-2-i686.pkg.tar.xz
5f1595|OK | 0B/s|/var/cache/pacman/pkg/util-linux-2.23.2-1-i686.pkg.tar.xz
b5ac20|OK | 0B/s|/var/cache/pacman/pkg/linux-lts-3.0.89-1-i686.pkg.tar.xz
cf80c2|OK | 0B/s|/var/cache/pacman/pkg/grub-2.00.5086-1-i686.pkg.tar.xz
540efa|OK | 23KiB/s|/var/cache/pacman/pkg/libvdpau-0.7-1-i686.pkg.tar.xz
eefdc7|OK | 8.3KiB/s|/var/cache/pacman/pkg/libwbclient-4.0.8-1-i686.pkg.tar.xz
f8e6a2|OK | 4.2KiB/s|/var/cache/pacman/pkg/evas_generic_loaders-1.7.7-4-i686.pkg.tar.xz
11e6df|OK | 8.3KiB/s|/var/cache/pacman/pkg/poppler-glib-0.24.0-1-i686.pkg.tar.xz
f31293|OK | 698B/s|/var/cache/pacman/pkg/libdiscid-0.5.2-1-i686.pkg.tar.xz
d64dd7|OK | 1.1KiB/s|/var/cache/pacman/pkg/pyalpm-0.6.2-1-i686.pkg.tar.xz
cad1dc|OK | 10KiB/s|/var/cache/pacman/pkg/libwnck3-3.4.6-1-i686.pkg.tar.xz
bfac9f|OK | 2.0KiB/s|/var/cache/pacman/pkg/powertop-2.4-1-i686.pkg.tar.xz
6a17fd|OK | 3.3KiB/s|/var/cache/pacman/pkg/gnome-online-accounts-3.8.2-2-i686.pkg.tar.xz
821bdf|OK | 2.3KiB/s|/var/cache/pacman/pkg/libreoffice-gnome-4.0.4-2-i686.pkg.tar.xz
0913ae|OK | 2.7KiB/s|/var/cache/pacman/pkg/libgdata-0.13.4-1-i686.pkg.tar.xz
3de57c|OK | 1.8KiB/s|/var/cache/pacman/pkg/xf86-video-intel-2.21.14-1-i686.pkg.tar.xz
3e6846|OK | 3.2KiB/s|/var/cache/pacman/pkg/poppler-0.24.0-1-i686.pkg.tar.xz
4ba70b|OK | 37KiB/s|/var/cache/pacman/pkg/wine-1.7.0-1-i686.pkg.tar.xz
b73c73|OK | 44KiB/s|/var/cache/pacman/pkg/firefox-23.0-1-i686.pkg.tar.xz
78ae6a|OK | 9.6KiB/s|/var/cache/pacman/pkg/libreoffice-calc-4.0.4-2-i686.pkg.tar.xz
91857f|OK | 30KiB/s|/var/cache/pacman/pkg/thunderbird-17.0.8-1-i686.pkg.tar.xz
b4564e|OK | 4.6KiB/s|/var/cache/pacman/pkg/evolution-data-server-3.8.4-2-i686.pkg.tar.xz
11b53d|OK | 4.5KiB/s|/var/cache/pacman/pkg/libreoffice-writer-4.0.4-2-i686.pkg.tar.xz
b54e24|OK | 3.0KiB/s|/var/cache/pacman/pkg/libreoffice-base-4.0.4-2-i686.pkg.tar.xz
02901e|OK | 7.6KiB/s|/var/cache/pacman/pkg/libreoffice-en-US-4.0.4-2-i686.pkg.tar.xz
08be30|OK | 7.2KiB/s|/var/cache/pacman/pkg/smbclient-4.0.8-1-i686.pkg.tar.xz
a9f9e2|OK | 65KiB/s|/var/cache/pacman/pkg/libreoffice-common-4.0.4-2-i686.pkg.tar.xz






Output striped.....

Hope this will help .

Cheers!
Bhaskar

Thursday, March 14, 2013

Git is cool and awesome!!


Using a version control system is a mandatory thing for software developments.I have personally use svn and to be very frank stumble a lot.

But when I look in git , I feel more comfortable and at home kinda feeling.Those of you are serious about it,should look in here to get your hands dirty.

First read it here

If you are impatience one like me then should start using it here
,provided you have little bit of understanding what you are doing.Just to get an feel for it and how it works.

I will update this space if I got time again with my own work...BTW you can visit my nonsense github page if you like...nothing in it...take a look..

https://github.com/unixbhaskar/

Here are few interaction with my git setup for your reference:

To see the branches:

bhaskar@Fedora_09:10:40_Sat Mar 16:~/git-linux> git branch -a
master
* testing
remotes/origin/testing


To see the my commits :


bhaskar@Fedora_09:17:57_Sat Mar 16:~/git-linux> git log -a
commit b8f0d469a3b525a524afc0905129cbb2d2248985
Author: Bhaskar Chowdhury
Date: Mon Feb 25 13:29:01 2013 +0530

adding an pattern file for ignore stuff

commit e9cf99dd57137312fe9da7d34418fbf2409856d3
Author: Bhaskar Chowdhury
Date: Mon Feb 25 12:59:04 2013 +0530

addming git source dir

commit 5e54a5e38848d547c098c829146c014ee9422720
Author: Bhaskar Chowdhury
Date: Fri Feb 22 20:15:04 2013 +0530

modified repo a bit

commit 43e5a004f3d8a56fdaa86103ae56fdc31ab5a60c
Author: Bhaskar Chowdhury
Date: Fri Feb 22 18:00:03 2013 +0530

added repo.rb

commit c7ec4663d18cb06a1179046e70b90d3cef9e8406
Author: Bhaskar Chowdhury
Date: Fri Feb 22 16:16:11 2013 +0530

suffed

commit ea7d06fe2088817b5c6a4c03f63b16956c1da950
Author: Bhaskar Chowdhury
Date: Fri Feb 22 16:15:09 2013 +0530

This is my commit

commit 3e84deef2bb7c25366fa618c0fe52c8c15de5d81
Author: Bhaskar Chowdhury
Date: Fri Feb 22 14:49:43 2013 +0530

This is comitted for testing

commit 2eedaf89ab7207b2e1b19beaedba8f2f0ec2bda7
Author: Bhaskar Chowdhury
Date: Fri Jun 29 12:30:55 2012 +0530

Setup repository


How to change branch:



bhaskar@Fedora_09:19:16_Sat Mar 16:~/git-linux> git status
# On branch testing
nothing to commit, working directory clean
bhaskar@Fedora_09:20:48_Sat Mar 16:~/git-linux> git checkout master
Switched to branch 'master'
bhaskar@Fedora_09:20:56_Sat Mar 16:~/git-linux> git status
# On branch master
nothing to commit, working directory clean


File add and commit to the testing branch:


bhaskar@Fedora_09:23:13_Sat Mar 16:~/git-linux> touch vpn_core
bhaskar@Fedora_09:23:29_Sat Mar 16:~/git-linux> git add vpn_core
bhaskar@Fedora_09:23:33_Sat Mar 16:~/git-linux> git status
# On branch testing
# Changes to be committed:
# (use "git reset HEAD ..." to unstage)
#
# new file: vpn_core
#
bhaskar@Fedora_09:23:54_Sat Mar 16:~/git-linux> git commit
[testing f4853f9] this is for testing purpose with vpn core
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 vpn_core
bhaskar@Fedora_09:25:39_Sat Mar 16:~/git-linux> git status
# On branch testing
nothing to commit, working directory clean
bhaskar@Fedora_09:25:47_Sat Mar 16:~/git-linux> git log
commit f4853f968ea1231cd65864972736c94c938241cd
Author: Bhaskar Chowdhury
Date: Sat Mar 16 09:25:21 2013 +0530

this is for testing purpose with vpn core


Restricting the log to specific number of commits...you might not interested in others:



bhaskar@Fedora_09:29:16_Sat Mar 16:~/git-linux> git log -p -2
commit f4853f968ea1231cd65864972736c94c938241cd
Author: Bhaskar Chowdhury
Date: Sat Mar 16 09:25:21 2013 +0530

this is for testing purpose with vpn core

diff --git a/vpn_core b/vpn_core
new file mode 100644
index 0000000..e69de29

commit b8f0d469a3b525a524afc0905129cbb2d2248985
Author: Bhaskar Chowdhury
Date: Mon Feb 25 13:29:01 2013 +0530

adding an pattern file for ignore stuff

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b25c15b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*~


Elaborate information about commits with stat option with log


bhaskar@Fedora_09:31:37_Sat Mar 16:~/git-linux> git log -p -2 --stat
commit f4853f968ea1231cd65864972736c94c938241cd
Author: Bhaskar Chowdhury
Date: Sat Mar 16 09:25:21 2013 +0530

this is for testing purpose with vpn core
---
vpn_core | 0
1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/vpn_core b/vpn_core
new file mode 100644
index 0000000..e69de29

commit b8f0d469a3b525a524afc0905129cbb2d2248985
Author: Bhaskar Chowdhury
Date: Mon Feb 25 13:29:01 2013 +0530

adding an pattern file for ignore stuff
---
.gitignore | 1 +
1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b25c15b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@


This is cool to see all at once with hash value of commit:


bhaskar@Fedora_09:32:50_Sat Mar 16:~/git-linux> git log --pretty=oneline
f4853f968ea1231cd65864972736c94c938241cd this is for testing purpose with vpn core
b8f0d469a3b525a524afc0905129cbb2d2248985 adding an pattern file for ignore stuff
e9cf99dd57137312fe9da7d34418fbf2409856d3 addming git source dir
5e54a5e38848d547c098c829146c014ee9422720 modified repo a bit
43e5a004f3d8a56fdaa86103ae56fdc31ab5a60c added repo.rb
c7ec4663d18cb06a1179046e70b90d3cef9e8406 suffed
ea7d06fe2088817b5c6a4c03f63b16956c1da950 This is my commit
3e84deef2bb7c25366fa618c0fe52c8c15de5d81 This is comitted for testing
2eedaf89ab7207b2e1b19beaedba8f2f0ec2bda7 Setup repository


With time:



bhaskar@Fedora_09:32:52_Sat Mar 16:~/git-linux> git log --pretty=format:"%h - %an, %ar : %s"
f4853f9 - Bhaskar Chowdhury, 10 minutes ago : this is for testing purpose with vpn core
b8f0d46 - Bhaskar Chowdhury, 3 weeks ago : adding an pattern file for ignore stuff
e9cf99d - Bhaskar Chowdhury, 3 weeks ago : addming git source dir
5e54a5e - Bhaskar Chowdhury, 3 weeks ago : modified repo a bit
43e5a00 - Bhaskar Chowdhury, 3 weeks ago : added repo.rb
c7ec466 - Bhaskar Chowdhury, 3 weeks ago : suffed
ea7d06f - Bhaskar Chowdhury, 3 weeks ago : This is my commit
3e84dee - Bhaskar Chowdhury, 3 weeks ago : This is comitted for testing
2eedaf8 - Bhaskar Chowdhury, 9 months ago : Setup repository



I believe this will kick you for starting!...please consult the link on top of this article to know more about git and get a hand on thing on it.

Hope this will help.

Cheers!
Bhaskar

Wednesday, January 9, 2013

How to enlist installed packages on Gentoo

Okay,I haven't write anything about sometime.So start this year with very rudimentary little info.

Say, I would like to see how many packages are installed in system running Gentoo? So ,how do i do that?

Actually couple of ways to do that.First and foremost thing to do, installed a package called gentoolkit .Once this is installed all the hard is done!

Lets explore it.

bhaskar@GentooLinux_17:52:33_Wed Jan 09:~> sudo genlop -t gentoolkit
Password:
* app-portage/gentoolkit

Wed Aug 17 11:48:34 2011 >>> app-portage/gentoolkit-0.3.0.4
merge time: 10 seconds.

Fri Oct 14 10:34:59 2011 >>> app-portage/gentoolkit-0.3.0.4-r4
merge time: 9 seconds.

Wed Dec 21 10:15:12 2011 >>> app-portage/gentoolkit-0.3.0.4-r5
merge time: 11 seconds.

Fri Jun 15 12:42:17 2012 >>> app-portage/gentoolkit-0.3.0.5
merge time: 23 seconds.

Fri Jul 13 11:15:24 2012 >>> app-portage/gentoolkit-0.3.0.6-r3
merge time: 27 seconds.

Wed Dec 19 12:21:43 2012 >>> app-portage/gentoolkit-0.3.0.7
merge time: 14 seconds.

So, I have installed it.Now this package come with lot of utility tools.One of them is called "equery" and I am gonna use it to show ,how it can be useful in this regards.

bhaskar@GentooLinux_17:52:49_Wed Jan 09:~> sudo equery list "*"
* Searching for * ...
[IP-] [ ] app-accessibility/at-spi2-core-2.6.2-r1:2
[IP-] [ ] app-accessibility/caribou-0.4.5:0
[IP-] [ ] app-admin/apache-tools-2.2.23:0
[IP-] [ ] app-admin/apachetop-0.12.6-r1:0
[IP-] [ ] app-admin/apg-2.3.0b-r5:0
[IP-] [ ] app-admin/drush-5.1:0
[IP-] [ ] app-admin/eselect-1.3.1:0
[IP-] [ ] app-admin/eselect-ctags-1.13:0
[IP-] [ ] app-admin/eselect-esd-20060719:0
[IP-] [ ] app-admin/eselect-fontconfig-1.1:0
[IP-] [ ~] app-admin/eselect-gnome-shell-extensions-20111211:0
[IP-] [ ] app-admin/eselect-mesa-0.0.10:0
[IP-] [ ] app-admin/eselect-opencl-1.1.0-r1:0
[IP-] [ ] app-admin/eselect-opengl-1.2.6.1:0
[IP-] [ ] app-admin/eselect-php-0.6.2:0
[IP-] [ ] app-admin/eselect-pinentry-0.3:0
[IP-] [ ] app-admin/eselect-python-20100321:0
[IP-] [ ] app-admin/eselect-qtgraphicssystem-1.1.1:0
[IP-] [ ] app-admin/eselect-ruby-20100603:0
[IP-] [ ] app-admin/eselect-vi-1.1.7-r1:0
[IP-] [ ] app-admin/eselect-xvmc-0.3:0
[IP-] [ ] app-admin/gam-server-0.1.10-r1:0
[IP-] [ ] app-admin/gamin-0.1.10:0
[IP-] [ ] app-admin/gnome-system-log-3.4.1:0
[IP-] [ ] app-admin/logrotate-3.8.3:0
[IP-] [ ] app-admin/openrc-settingsd-1.0.1:0
[IP-] [ ] app-admin/perl-cleaner-2.7:0
[IP-] [ ] app-admin/pessulus-2.30.4:0
[IP-] [ ] app-admin/puppet-2.7.18:0
[IP-] [ ] app-admin/python-updater-0.10:0
[IP-] [ ] app-admin/sabayon-2.30.1:0
[IP-] [ ] app-admin/sudo-1.8.5_p2:0
[IP-] [ ] app-admin/syslog-ng-3.2.5:0
[IP-] [ ] app-admin/sysstat-10.0.5:0
[IP-] [ ] app-admin/system-config-printer-common-1.3.11-r1:0
[IP-] [ ] app-admin/system-config-printer-gnome-1.3.11:0
[IP-] [ ] app-admin/tripwire-2.4.2.2-r1:0
[IP-] [ ] app-admin/webapp-config-1.50.16-r4:0
[IP-] [ ] app-arch/bzip2-1.0.6-r3:0
[IP-] [ ] app-arch/cabextract-1.4:0
[IP-] [ ] app-arch/cpio-2.11:0
[IP-] [ ] app-arch/file-roller-3.4.2:0
[IP-] [ ] app-arch/gzip-1.5:0
[IP-] [ ] app-arch/libarchive-3.0.4-r1:0
[IP-] [ ] app-arch/pax-3.4.12.16:0
[IP-] [ ] app-arch/rpm2targz-9.0.0.5g:0
[IP-] [ ] app-arch/tar-1.26:0
[IP-] [ ] app-arch/unzip-6.0-r3:0
[IP-] [ ] app-arch/xz-utils-5.0.4:0
[IP-] [ ] app-arch/zip-3.0-r1:0
[IP-] [ ] app-cdr/brasero-3.4.1:0
[IP-] [ ] app-cdr/cdrdao-1.2.3-r1:0
[IP-] [ ] app-cdr/cdrtools-3.00:0
[IP-] [ ] app-cdr/dvd+rw-tools-7.1-r1:0
[IP-] [ ] app-crypt/gcr-3.6.2:0/1
[IP-] [ ] app-crypt/gnupg-2.0.19:0
[IP-] [ ] app-crypt/gpgme-1.3.2:1
[IP-] [ ] app-crypt/mhash-0.9.9.9-r1:0
[IP-] [ ] app-crypt/p11-kit-0.14:0
[IP-] [ ] app-crypt/pinentry-0.8.2:0
[IP-] [ ] app-crypt/seahorse-3.4.1:0
[IP-] [ ] app-dicts/aspell-en-6.0.0:0
[IP-] [ ] app-dicts/gnome-dictionary-3.4.0:0
[IP-] [ ] app-dicts/myspell-en-20081002:0
[IP-] [ ] app-editors/gedit-3.4.2:0
[IP-] [ ] app-editors/nano-2.2.5:0
[IP-] [ ] app-editors/vim-7.3.409:0
[IP-] [ ] app-editors/vim-core-7.3.409:0
[IP-] [ ] app-emulation/libvirt-0.10.2-r3:0
[IP-] [ ] app-emulation/qemu-1.1.2-r2:0
[IP-] [ ] app-emulation/spice-protocol-0.12.2:0
[IP-] [ ] app-emulation/virt-manager-0.9.4:0
[IP-] [ ] app-emulation/virtinst-0.600.3:0
[IP-] [ ] app-emulation/wine-1.4.1:0
[IP-] [ ] app-forensics/chkrootkit-0.49:0
[IP-] [ ] app-forensics/rkhunter-1.4.0:0
[IP-] [ ] app-i18n/enca-1.13-r2:0
[IP-] [ ] app-laptop/radeontool-1.6.3:0
[IP-] [ ] app-misc/ca-certificates-20111025:0
[IP-] [ ] app-misc/editor-wrapper-4:0
[IP-] [ ] app-misc/geoclue-0.12.99:0
[IP-] [ ] app-misc/mime-types-8:0
[IP-] [ ] app-misc/pax-utils-0.4:0
[IP-] [ ] app-misc/screen-4.0.3-r6:0
[IP-] [ ] app-misc/scrub-2.5.1:0
.........

I have snipped the output for ease of viewing.As you can see it nicely enlisting all the package installed in the system.Now a little bit of explanation about the leftmost two square brackets.The first one saying "IP" ,that means it is installed from the portage tree and the next bracket is for slots.

Now you can achieve the same thing other ways to ..like below:

bhaskar@GentooLinux_18:12:20_Wed Jan 09:~> cd /var/db/pkg && ls -d */*
app-accessibility/at-spi2-core-2.6.2-r1 media-libs/libsndfile-1.0.25
app-accessibility/caribou-0.4.5 media-libs/libtheora-1.1.1
app-admin/apache-tools-2.2.23 media-libs/libv4l-0.8.9
app-admin/apachetop-0.12.6-r1 media-libs/libvorbis-1.3.3
app-admin/apg-2.3.0b-r5 media-libs/libvpx-1.0.0
app-admin/drush-5.1 media-libs/libwebp-0.2.1
app-admin/eselect-1.3.1 media-libs/memphis-0.2.3
app-admin/eselect-ctags-1.13 media-libs/mesa-9.0
app-admin/eselect-esd-20060719 media-libs/musicbrainz-3.0.3
app-admin/eselect-fontconfig-1.1 media-libs/musicbrainz-4.0.3
app-admin/eselect-gnome-shell-extensions-20111211 media-libs/openjpeg-1.5.0
app-admin/eselect-mesa-0.0.10 media-libs/raptor-2.0.8
app-admin/eselect-opencl-1.1.0-r1 media-libs/sampleicc-1.6.6
app-admin/eselect-opengl-1.2.6.1 media-libs/sdl-mixer-1.2.11-r1
app-admin/eselect-php-0.6.2 media-libs/speex-1.2_rc1
app-admin/eselect-pinentry-0.3 media-libs/swfdec-0.8.4
app-admin/eselect-python-20100321 media-libs/t1lib-5.1.2
app-admin/eselect-qtgraphicssystem-1.1.1 media-libs/taglib-1.7.2
app-admin/eselect-ruby-20100603 media-libs/tiff-4.0.2-r1
app-admin/eselect-vi-1.1.7-r1 media-libs/vigra-1.7.1-r1
app-admin/eselect-xvmc-0.3 media-libs/vo-aacenc-0.1.2
app-admin/gamin-0.1.10 media-libs/webrtc-audio-processing-0.1
app-admin/gam-server-0.1.10-r1 media-libs/x264-0.0.20111220
app-admin/gnome-system-log-3.4.1 media-libs/xvid-1.3.2

Those of you are curious about all the stuff,please go through this gentoolkit-doc

Hope this will help.

Cheers!
Bhaskar