Skip to main content

Posts

Showing posts from June, 2015

debian packaging basic environment

When packaging with Debian, this is the minimal set of package that shoudl be installed
  # apt-get install build-essential devscripts debhelper dh-make git subversion 
Go to the source directory
  $ mk-build-deps
This will generate a "<package-name>-build-deps_1.0_amd64.deb" file
Move that file one directory up
  $ mv "<package-name>-build-deps_1.0_amd64.deb" ../
as root:
  # dpkg -i /home/mrakotomandimby/<package-name>-build-deps_1.0_amd64.deb
This will output an error (dont worry)
But continue with
  # apt-get install -f



Archlinux db sig failed

Powerpill rsync lead to errors
Switching to powerpill lead me to get these errors:
rsync: link_stat "/archlinux/core/os/x86_64/core.db.sig" (in pub) failed: No such file or directory (2) rsync: link_stat "/archlinux/extra/os/x86_64/extra.db.sig" (in pub) failed: No such file or directory (2) rsync: link_stat "/archlinux/community/os/x86_64/community.db.sig" (in pub) failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1637) [generator=3.1.1] Then my install and upgrade fails. In order to get rid of these, in "pacman.conf": SigLevel= PackageRequired LocalFileSigLevel = Optional

This solution was found in https://bbs.archlinux.org/viewtopic.php?id=153818

centos7 install postgresql

Using stock CentOS repositories Installing PostgreSQL on CentOS7 can be done two ways:
From the PostgreSQL repositoriesFrom the official CentOS repositories The later will be described in this document Installation
[root@localhost ~]#yum install -y postgresql postgresql-server postgresql-libs postgresql-contrib Initialization [root@localhost ~]# postgresql-setup initdb Make sure it starts at boot [root@localhost ~]# systemctl enable postgresql Start the service [root@localhost ~]# systemctl start postgresql Switch to the service user [root@localhost ~]# su - postgres MAke sure you access locally -bash-4.2$ psql postgres=# User and database creation -bash-4.2$ createuser --interactive --pwprompt jira -bash-4.2$ createdb --owner=jira jira Switch to the Jira user [root@localhost ~]# su - jira [jira@localhost ~]$ psql --username=jira --password psql (9.2.10) Type "help" for help. jira=# If you want to access PostgreSQL without being "jira" user, you need to configure [root@…

arhclinux list aur packages

List AUR installed packages
yaourt -Qm
local/chromium-pepper-flash 1:17.0.0.169-3 local/firefox-nightly 41.0a1.20150526-1 local/freshplayerplugin 0.2.4-1 local/gdk-pixbuf 0.22.0-12 local/glib 1.2.10-12 local/gnome-colors-icon-theme 5.5.1-2 local/gnome-colors-icon-theme-extras 5.5.1-2 local/gnome-themes-extras 2.22.0-3 local/google-chrome 43.0.2357.81-1 local/gtk 1.2.10-15 local/gtk-theme-numix-ocean 2.0.2-2 local/hal 0.5.14-22 local/hal-info 0.20091130-2 local/itcl3 3.4.1-1 local/libpurple-meanwhile 2.10.11-1 local/libxfcegui4 4.10.0-5 local/meanwhile 1.0.2-8 local/package-query 1.5-2 local/pdsh 2.29-2 local/prips 0.9.9-1 local/tcptraceroute 1.5beta7-8 local/thunar-shares-plugin 0.2.0.git-2 local/ttf-office-2007-fonts 1.0-2 local/ttf-win7-fonts 7.1-8 local/ubuntu-font-family-console 0.80-0 local/vmware-systemd-services 0.1-2 (vmware) local/xfce-theme-murrine-unity 20110416-4 local/xfce4-quicklauncher-plugin 1.9.4-10 (xfce4-goodies) local/yaourt 1.5-1