dpkg Questions

7

Solved

When i try to install php5 in Ubuntu 16.04 by using following code: sudo apt-get install php5 php5-mcrypt I get following error: Reading package lists... Done Building dependency tree Reading ...
Hypabyssal asked 22/4, 2016 at 8:34

1

I am writing a provision script for Vagrant to install all the packages necessary for deploying an app developed with Meteor 1.6. So far, the script is working well, but at three points during its ...
Left asked 21/11, 2017 at 8:12

3

I have made a debian package for automating the oozie installation. The postinst script, which is basically a shell script, runs after the package is installed. I want to access the environment var...
Kelleekelleher asked 16/12, 2015 at 0:59

2

Solved

I'm trying to get the version number of an already installed package, in order to build a dependencies list for a dpkg. If I type "dpkg -l | grep libqtcore4" into my terminal I get the following r...
Enlistee asked 8/3, 2012 at 4:29

6

Solved

I’m using ubuntu 16.04 - 64 bit. I tried to install Start UML with .deb file and got this message from Ubuntu Software: This software comes from a 3rd party and may contain non-free components T...
Pickled asked 8/5, 2016 at 2:31

3

Solved

I am trying to build a binary package for Debian (with dpkg-deb --build) and I need to copy some files into the target machine to complete the installation with a postinst script (and remove them j...
Sermon asked 28/3, 2018 at 12:48

3

I am trying to install Cassandra on aws ec2 free single node ubuntu instance. I am following this link https://wiki.apache.org/cassandra/DebianPackaging to install cassandra on ubuntu 16.04. I suc...
Cuticula asked 17/1, 2018 at 12:53

1

I have a need to run dpkg install, unpack the conf files, but skip running the postinst scripts (if it's included in the deb file). I've tried to change the SHELL variable to /usr/bin/true, but th...
Amaryllidaceous asked 11/12, 2017 at 22:45

2

Solved

Is there any way to pass a parameter into dpkg -i that can then be used by preinst and postinst? I've looked into this and was wondering if I could refer to these parameters with $1 or $2 Thanks i...
Interlude asked 28/8, 2012 at 20:57

8

I'm compiling a deb package and when I run dpkg-buildpackage I get: dpkg-shlibdeps: error: no dependency information found for /usr/local/lib/libopencv_highgui.so.2.3 ... make: *** [binary-arc...
Timehonored asked 28/6, 2012 at 4:37

3

Solved

I'm trying to use dpkg command but in Mac OS X it doesn't seem to work for me dpkg -scanpackages -m . /dev/null -->Packages -bash: dpkg: command not found dns:Administrator$ man dpkg No manual...
Pasadis asked 8/1, 2012 at 17:28

1

Solved

I have a launch script (user data) that runs on startup in aws with an ubuntu 16.04 image, and the issue I'm having is that when it gets to the part where it runs an ansible playbook the playbook f...
Swashbuckling asked 29/11, 2016 at 15:42

4

Solved

I'm trying to do some package manipulation (a la dpkg) and while I can just popen or subprocess.call I'd rather do things the python way if possible. Unfortunately I've been unable to find a pytho...
Gerlac asked 30/7, 2012 at 18:2

1

I try to create a dummy package with equivs that provides the python-oauthlib package for apt. The problem is that most dependency issues are resolved, except for one package that has a version req...
Kaden asked 22/4, 2016 at 14:33

2

After downloading and installing a package in Ubuntu, how can I check where the library and header files were written to? I believe that this has something to do with the package's .pc file, but I ...
Heterophyllous asked 23/10, 2014 at 13:25

4

Solved

When I download some package sources, (e.g. foo-[ver].orig.tar.gz, foo-[ver].dsc), I often encounter dependencies problem while using dpkg-source -x foo-[ver].dsc and dpkg-buildpackage -us -uc .......
Moffit asked 21/1, 2012 at 17:11

6

Solved

I have installed Raspbian on my Raspberry Pi 2 and now I am trying to install node.js on it, however I am hitting an issue. I followed the instructions and typed these commands into the terminal ...
Scyphus asked 14/9, 2015 at 11:3

0

I have some code that I developed and built into a deb package. However, unlike other packages when you double click it in Ubuntu the licence field shows up as "Unknown". Instead I want it to say "...
Batting asked 26/11, 2015 at 2:42

3

Solved

There isn't a module for installing .deb packages directly. When you have to run dpkg as a command, it always mark the installation task as one that has changed. I'd some trouble configuring it cor...
Jazmin asked 1/10, 2013 at 23:9

4

In a bash script I want to install a package. Before sanely doing so, I need to check if no other instance of apt-get or dpkg is already working. If that was the case, the apt-get would fail, becau...
Delmydeloach asked 2/8, 2013 at 3:52

4

I'm playing with dpkg, but I got rather strange problem: Package can not be build second time after 1st package was successfully build. dpkg-buildpackage -sa .... dpkg-source: warning: newly creat...
Aegospotami asked 26/5, 2014 at 13:58

7

Solved

I'm looking at maybe moving from an older AMD64 to a new Intel dual-core which is 32 bit. Installation isn't a problem but can I transfer all the installed apps? I haven't been able to find anythin...
Droplet asked 9/10, 2008 at 14:57

2

Solved

I am using Ansible to deploy my project and I trying to check if an specified package is installed, but I have a problem with it task, here is the task: - name: Check if python-apt is installed c...
Soave asked 10/7, 2014 at 14:46

2

I have built my packages before using debhelper, but I'm running into a very frustrating problem. This is my file tree: usr/ `-- share |-- applications | `-- create-launcher.desktop `-- create...
Virgilio asked 13/3, 2012 at 3:25

1

I'd like to install some deb package dpkg -i modeller_9.13-1_amd64.deb consisted of some python modules. What frag should I provide to dpkg to set the install path during installation instead of d...
Townspeople asked 15/4, 2014 at 7:27

© 2022 - 2024 — McMap. All rights reserved.