Menu
  • HOME
  • TAGS

SaltStack state to install .deb package file and dependencies

ubuntu-14.04,salt-stack,deb

You can specify a remote sources option in a Salt pkg state. You could try something like this cat stuff.sls my_pkgs: - pkg.installed: - pkgs: - fontconfig - libfontenc1 - libjpeg-turbo8 - libxfont1 - x11-common - xfonts-75dpi - xfonts-base - xfonts-encodings - xfonts-utils - libxrender1 install_wkhtmltox: pkg.installed: - sources: -...

which lib belongs to deb

linux,deb

I found it! It is dpkg -S <filename>. This command searches the repository and looks into local packages.

Debian Metapackage with version of package from repository

package,debian,packages,deb

There is no straightforward way for a package to affect what gets installed on a system before it is itself installed. The common ways to manage installation preferences is by either (a) making sure the custom package has a version number which is higher than the regular package's, or (b)...

Why does postinst script not execute commands while installing a debian package through Ubuntu software centre?

linux,bash,ubuntu,deb,debian-based

The problem is not with Ubuntu, but with your use of HOME in the postinst. It apparently happens to work with sudo dpkg from your own account (although in some settings, sudo would not propagate your HOME then, either) but this is not supported or well-defined. HOME does not make...

debhelper instructed to use python3, but runs setup.py with python2

python-3.x,debian,deb,software-packaging,debhelper

The solution was to add --buildsystem=pybuild to debian/rules, so that it looks like this: %: dh [email protected] --with python3 --buildsystem=pybuild ...

Files installed from debian package with dpkg do not belong to root

linux,deb,dpkg

Try to run the dpkg-deb command with fakeroot: `fakeroot dpkg-deb ...` (This will only help if the files in the source directory already have the correct ownership, which they probably dont. The problem you're actually trying to solve here, is to create an archive with files in it that belong...

Ubuntu deb install dependency libsdl1.2debian-purgeaudio

ubuntu,apt-get,deb

Ok, i solve this problem quite easy. replace source list in /etc/apt/source.list with old release sources list. sudo apt-get update and now i can install old packages that i was need. Hope it could help somebody.

Preparing a complex python project for submission to launchpad

python,node.js,apt-get,deb,launchpad

Making good debs can be complicated, yes, especially when you are not the upstream author and aren't sure exactly what their intentions were for installations of their software. The complication is necessary because well-behaved debs must conform to a fairly long list of policies and requirements so that users know...

Debian / Ubuntu package installed in root as default

linux,ubuntu,makefile,deb,dpkg

Seems that it was fairly simple, yet very confusing. This works, not sure if there is a better solution. In my makefile I have a few variables InstallTo = /usr/lib install: mkdir -p $(DESTDIR)$(InstallTo) cp $FILE_TO_COPY $(DESTDIR)$(InstallTo) This way it will create the directory tree inside the *.deb file. I...

are there options to speed up dpkg-buildpackage

build,ffmpeg,debian,deb,dpkg

Sure, you can use -j 4 as an argument to dpkg-buildpackage. It is documented in the man page. The relevant section is: -jjobs Number of jobs allowed to be run simultaneously, equivalent to the make(1) option of the same name. Will add itself to the MAKEFLAGS environment variable, which should...

Separating symbolic links in CPack for deb generation

cmake,debian,deb,cpack,software-packaging

Someone on IRC (#[email protected]) pointed out that I could use NAMELINK_ONLY for one install command and have a duplicate install with NAMELINK_SKIP. Then, if I specify different COMPONENTs for each, it has the behavior I'm looking for. Example: install(TARGETS project LIBRARY DESTINATION lib COMPONENT runtime NAMELINK_SKIP ) install(TARGETS project LIBRARY...

Use alien to convert the RPM file into a .deb

rpm,32-bit,deb

I hate to answer my own question in such a short time. But for people who has a similar problem like mine, this link shows a method that totally worked for me: http://askubuntu.com/questions/322624/how-do-i-convert-a-x86-rpm-to-a-x86-deb-within-a-x64-system thank you...

How to require Oracle Java (JRE) when building a .deb (debian package)?

java,javafx-8,deb

Debian has an OpenJFX package for Java 8, which you can install in addition to the standard OpenJDK package. Debian's OpenJFX package brings JavaFX capabilities to Debian based systems (and can be used as an alternative to installing Oracle JDK 8+ which also includes JavaFX capabilities implicitly). I don't use...

debian 8: deb command not found. How can i fix it? [closed]

linux,debian,deb

The instruction is Add "contrib" and "non-free" components to /etc/apt/sources.list, for example I.e., you're supposed to add that line to the given file with a text editor. You are not supposed to execute it on a command line....