Skip to content

Instantly share code, notes, and snippets.

@dnaeon
dnaeon / gist:1502227
Created December 20, 2011 16:41
pkg.conf
# System-wide configuration file for pkg(1)
# For more information on the file format and
# options please refer to the pkg.conf(5) man page
PKG_DBDIR : /var/db/pkg
PKG_DBCACHE : /var/cache/pkg
PKG_MULTIREPOS : YES
#ASSUME_ALWAYS_YES : YES
repos:
mysql> select user_id, user_name from user order by user_id asc;
+---------+-----------+
| user_id | user_name |
+---------+-----------+
| 1 | Bsdcadmin |
| 70 | Pka |
| 73 | Onm |
| 76 | Er |
| 78 | Bxy |
| 79 | Pvm |
ewaf-test:/# apt-get install ewafermapping-ui
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
ewafermapping-ui
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 16.5MB of archives.
After this operation, 1516kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
@dnaeon
dnaeon / gist:1570368
Created January 6, 2012 12:26
ewafermapping-ui patch
From 1af110a6b3a267f99a00a945f9842c8a41185ad6 Mon Sep 17 00:00:00 2001
From: Marin Atanasov Nikolov <[email protected]>
Date: Fri, 6 Jan 2012 14:20:48 +0200
Subject: [PATCH] Update postinst and preinst scripts
* Create user in preinst script
* Fix permssions in postinst script
* Add adduser as dependency to ewafermapping-ui
* INKLESS-736
---
@dnaeon
dnaeon / gist:1571786
Created January 6, 2012 18:23
pkg check #1
root:(~/PROJECTS/pkgng)> pkg update <[1117][20:22]]
http://www.sofia.unix-heaven.org/FreeBSD/pkgng/repository/9-amd64-20111222/repo.txz 100% 9684KB 9.5MB/s 9.5MB/s 00:01
root:(~/PROJECTS/pkgng)> <[1118][20:22]]
root:(~/PROJECTS/pkgng)> <[1118][20:22]]
root:(~/PROJECTS/pkgng)> pkg check <[1118][20:22]]
graphics/graphviz has a missing dependency: x11-fonts/font-misc-ethiopic
x11-toolkits/pango has a missing dependency: x11-fonts/font-misc-ethiopic
x11-fonts/xorg-fonts-truetype has a missing dependency: x11-fonts/font-misc-ethiopic
@dnaeon
dnaeon / gist:1571790
Created January 6, 2012 18:24
pkg check #2
mra:(~/PROJECTS/pkgng-upstream)> sudo pkg check <[1494][20:23]]
graphics/evince has a missing dependency: graphics/poppler-gtk
graphics/gimp has a missing dependency: graphics/poppler-gtk
graphics/gimp-app has a missing dependency: graphics/poppler-gtk
print/gimp-gutenprint has a missing dependency: graphics/poppler-gtk
x11/gnome2-lite has a missing dependency: graphics/poppler-gtk
graphics/py-gimp has a missing dependency: graphics/poppler-gtk
>>> Missing package dependencies were detected.
@dnaeon
dnaeon / gist:1578892
Created January 8, 2012 16:27
pkg install hs-yesod
jail-test-amd64# pkg search -xf hs-yesod
Name : hs-yesod-auth
Version : 0.7.9
Origin : www/hs-yesod-auth
Prefix : /usr/local
Categories : www haskell
Licenses : BSD
Maintainer : [email protected]
WWW : http://www.yesodweb.com/
Comment : Authentication for Yesod
@dnaeon
dnaeon / gist:1582870
Created January 9, 2012 13:09
RMAN restore
bash-3.2$ rman @/tmp/restore.rman
Recovery Manager: Release 10.2.0.4.0 - Production on Mon Jan 9 14:09:20 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
RMAN> connect target *
2> connect catalog *
3>
4> connect auxiliary *
@dnaeon
dnaeon / gist:1583310
Created January 9, 2012 15:05
RMAN #2
bash-3.2$ rman @/tmp/restore.rman
Recovery Manager: Release 10.2.0.4.0 - Production on Mon Jan 9 16:02:48 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
RMAN> connect target *
2> connect catalog *
3>
4> connect auxiliary *
@dnaeon
dnaeon / gist:1608213
Created January 13, 2012 19:18
gerrit start up issue with openjdk
mra:(~/PROJECTS/gerrit-freebsd)> sudo service gerrit onestart <[1573][21:14]]
No Gerrit site found. Will initialize Gerrit first...
*** Gerrit Code Review 2.2.2-rc0
***
Create '/usr/local/gerrit/review_site' [Y/n]?
*** Git Repositories
***