deb.js
Minimalistic JavaScript library for debugging in the browser
Has anyone bothered to create a PPA for the Android SDK and/or NDK packages?
I saw a few things that hinted at this in my Googling, but nothing that jumped out as a preferred solution.
I'd guess that licensing issues might require it to operate like the flash-installer (or more comparably, the google-earth) package, but it would be very useful. The SDK install OOB lacks many of the features that proper package management could bring in (dependencies, multi-user permissions/capability, etc.)
Source: (StackOverflow)
I'm interested in what pitfalls can be (except Python is not installed in target system) when using Python for deb package flow control scripts (preinst, postinst, etc.). Will it be practical to implement those scripts in Python, not in sh?
As I understand it's at least possible.
Source: (StackOverflow)
I'm writing a D application which I want to package as a Debian package.
Does anyone know of a tutorial, or a skeleton package, to show me how to to do this for a D application?
Do I need to use autotools to build it?
Thanks,
Chris.
Source: (StackOverflow)
I'm distributing a jar file, with associated libraries, media, documentation, etc. I would like to create a simple deb/rpm package for linux users, and I would also like to distribute this for windows. What is the best way to go about setting up the jar to play nicely with debs? Every deb file I've looked at so far has been c/c++ with a makefile, which isn't at all helpful. How do I package my java jar for distribution?
Edit It would be nice if this could automate the placement of conf files in /etc/project-name/sample.conf, icons in /usr/share, etc.
Source: (StackOverflow)
I have installed sbt on Ubuntu.
:~/bin/sbt/bin$ ls
classes sbt sbt-launch.jar target
jansi.jar sbt.bat sbt-launch-lib.bash win-sbt
However, whenever I try to launch sbt (from the same directory where sbt is located) it does not work:
No command 'sbt' found, did you mean:
Command 'skt' from package 'latex-sanskrit' (universe)
Command 'sb2' from package 'scratchbox2' (universe)
Command 'sbd' from package 'cluster-glue' (main)
Command 'mbt' from package 'mbt' (universe)
Command 'sbmt' from package 'atfs' (universe)
Command 'lbt' from package 'lbt' (universe)
Command 'st' from package 'suckless-tools' (universe)
Command 'sb' from package 'lrzsz' (universe)
I am new to linux and I have no idea how to tackle this issue.
Source: (StackOverflow)
I am trying to create deb package from LXC rootfs, and after creating it
I want to install that package any computer. Up to this point I achieved
packaging and installing deb package, however after installation of LXC
package, I cannot be superuser in that lxc. I get this error when I use
"sudo" command.
sudo: effective uid is not 0, is sudo installed setuid root?
thanks in advance.
Source: (StackOverflow)
I have applications which successfully compile with the -m32 switch (in DMD and/or GCC) to produce:
appname: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked
(uses shared libs), for GNU/Linux 2.6.15, not stripped
The source packages I have created work fine, on both 32 bit and 64 bit Ubuntu to build the appropriate binary .debs.
I would like to produce the i386 .deb on the same 64 bit machine i use to produce the 64 bit .deb.
Is this possible, and where should I look for instructions?
Source: (StackOverflow)
When i tried to install mongoDb in my AWS EC2 Linux instance:Ubuntu 12.04.1 LTS,
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
I get this following error,meaning deb command is not found.
$ deb Sorry, command-not-found has crashed! Please file a bug report
at: https://bugs.launchpad.net/command-not-found/+filebug Please
include the following information with the report:
command-not-found version: 0.2.44
Can someone please help me find out how to install deb in my AWS instance ?
Source: (StackOverflow)
Until now, my project had only .cpp files that were compiled into different binaries and I managed to configure CPack to build a proper debian package without any problems.
Recently I wrote a couple of python applications and added them to the project, as well as some custom modules that I would also like to incorporate to the package.
After writing a setup.py
script, I'm wondering how to add these files to the CPack configuration in a way that setup.py
get's executed automatically when the user installs the package on the system with dpkg -i package.deb
.
I'm struggling to find relevant information on how to configure CPack to install custom python applications/modules. Has anyone tried this?
Source: (StackOverflow)
I have a Python 3 project.
MKC
├── latex
│ ├── macros.tex
│ └── main.tex
├── mkc
│ ├── cache.py
│ ├── __init__.py
│ └── __main__.py
├── README.md
├── setup.py
└── stdeb.cfg
On install, I would like to move my latex files to known directory, say /usr/share/mkc/latex
, so I've told setuptools
to include data files
data_files=[("/usr/share/mkc/latex",
["latex/macros.tex", "latex/main.tex"])],
Now when I run
./setup.py bdist --formats=rpm
or
./setup.py --command-packages=stdeb.command bdist_deb
I get the following error:
error: can't copy 'latex/macros.tex': doesn't exist or not a regular file
Running just ./setup.py bdist
works fine, so the problem must be in package creation.
Source: (StackOverflow)
I have a large project where we have the following files:
- A few 3rd party pre-compiled binaries
- Our own in-house binaries
- A collection of Ruby scripts
- A sizable Ruby on Rails project
This product will be installed on appliance hardware that my employer has already selected, using Ubuntu Linux (Lucid) as the target O.S., with our goal of distributing the archive as a Debian package to ease installation and upgrades. Additionally, we have a number of ERB templates that we need to "fill-in" with appropriate values on a per-customer basis, so the use of the postinst script will be particularly handy for our purposes.
As a side note, the Debian packages will be stored on a server repository that we manage in-house.
At this stage I have used dh_make to create the debian directory and related files (e.g., rules, control, etc.), but the rules file that is generated seems like overkill for my purposes.
Based on this description, all I really need the "rules" file to do is simply copy files from a source directory (or within an archive) to the target directories shown below:
- /opt/company_product/3rd_party_binaries/bin
- /opt/company_product/3rd_party_binaries/etc
- /opt/company_product/in_hourse_binaries/bin
- /opt/company_product/in_hourse_binaries/etc
- /opt/company_product/ruby
- /opt/company_product/rails_project
- /opt/company_product/etc
- /opt/company_product/shared/logs
- /opt/company_product/shared/tmp
- /opt/company_product/shared/license
- ...And so on.
I've read the Debian Policy Manual and several How-To's which indicate that you should not alter the rules file to use mkdir to create directories and there is generally a dh_ app (e.g., dh_installdirs, et.al.) that can suit your needs for nearly any installation purposes. The man pages for these dh_ related apps are cursory at best, and I am an "example" kind of guy.
That said, I'm a little lost on what the best approach is to getting my rules file to install my various pre-compiled binaries and Ruby/Rails text files to the desired locations.
Here's my initial rules file. It's pretty much a standard boilerplate rules file that dh_make creates. My thinking is that I should comment out all sections except for the install and then find the appropriate command(s) to make directories, copy files, etc. within that section.
Any advice or suggestions are greatly appreciated.
#!/usr/bin/make -f
package = testapp
CC = gcc
CFLAGS = -g -Wall
ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O2
endif
#export DH_VERBOSE=1
clean:
dh_testdir
dh_clean
rm -f build
install: build
dh_clean
dh_installdirs
echo "Place the Install Script here"
cp $(CURDIR)/testapp-2.0.tar.gz $(CURDIR)/debian/$(package)/opt/testapp-2.0
echo "Finished copying folders"
build:
touch build
binary-indep: install
# There are no architecture-independent files to be uploaded
# generated by this package. If there were any they would be
# made here.
binary-arch: install
dh_testdir -a
dh_testroot -a
dh_installdocs -a
dh_installchangelogs -a
dh_strip -a
dh_compress -a
dh_fixperms -a
dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
binary: binary-indep binary-arch
.PHONY: binary binary-arch binary-indep clean checkroot
Source: (StackOverflow)
I am trying to compile a deb package for my server. When I go to build, everything looks good until it gets to dh_usrlocal
The build stops and make returns an error. The problem is I am trying this for the first time and I really don't know where to look for the problem.
This is the output from my terminal, I also included the command I ran at the bottom of the output.
make[2]: Leaving directory `/home/ian/Desktop/scst-2.1.0/src'
make[1]: Leaving directory `/home/ian/Desktop/scst-2.1.0'
dh_install
dh_installdocs
dh_installchangelogs
dh_installexamples
dh_installman
dh_installcatalogs
dh_installcron
dh_installdebconf
dh_installemacsen
dh_installifupdown
dh_installinfo
dh_pysupport
dh_installinit
dh_installmenu
dh_installmime
dh_installmodules
dh_installlogcheck
dh_installlogrotate
dh_installpam
dh_installppp
dh_installudev
dh_installwm
dh_installxfonts
dh_bugfiles
dh_lintian
dh_gconf
dh_icons
dh_perl
dh_usrlocal
dh_usrlocal: debian/scst/usr/local/include/scst/scst.h is not a directory
dh_usrlocal: debian/scst/usr/local/include/scst/scst_user.h is not a directory
dh_usrlocal: debian/scst/usr/local/include/scst/Module.symvers is not a directory
dh_usrlocal: debian/scst/usr/local/include/scst/scst_debug.h is not a directory
dh_usrlocal: debian/scst/usr/local/include/scst/scst_const.h is not a directory
dh_usrlocal: debian/scst/usr/local/include/scst/scst_sgv.h is not a directory
rmdir: failed to remove `debian/scst/usr/local/include/scst': Directory not empty
dh_usrlocal: rmdir debian/scst/usr/local/include/scst returned exit code 1
make: *** [binary] Error 1
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
ian@vm01:~/Desktop/scst-2.1.0$ sudo dpkg-buildpackage -rfakeroot
Any help would be appreciated.
Source: (StackOverflow)
I know there has been a lot fuzz about this subject on various forums and newsgroups concerning the merge of Moblin and Maemo. I'd like to know what stackoverflow-fellows think about this. What are the benefits of RPM packaging over DEB that make it better choice for MeeGo?
Source: (StackOverflow)
I'm creating a small deb package to install a few files. Some of them will be located in /usr/lib/mypackage/ and I want to create a symlink from /usr/lib/mypackage/mybin to /usr/bin/mybin
For the /usr/lib/mypackage folder I'm using mypackage.install and copy the files over there. This seems to work fine.
However, in order to create my symlink I understand I need to use the debian rules file in there, and I'm not sure how to proceed, here is the line I need to add, where should it be added and how? Thanks
ln -s /usr/lib/mypackage/mybin /usr/bin/mybin
Source: (StackOverflow)
I am trying to get license information of uninstalled deb packages.
dpkg --info <package-name>.deb
does not give that information.
Is there any command in ubuntu which will give this info?
(In rpm world rpm -qpi gives that info)
Source: (StackOverflow)