Questions tagged [deb]
deb is the extension of the Debian software package format and the most often used name for such binary packages.
57
questions
0
votes
0
answers
29
views
Automatize using bash downloading deb files and dependencies and later extracting them to a unique folder and compress it to use in a live filesystem
I am developing a Live filesystem and need to be able to download deb files with its dependencies which I manually do using:
apt download $(apt-cache depends --recurse --no-recommends --no-suggests \
-...
0
votes
1
answer
47
views
Creating .deb for Go fails
Trying to build a custom package fails like this:
~/deploy# dpkg-buildpackage -us -uc
dpkg-buildpackage: info: source package deploy
dpkg-buildpackage: info: source version 1.0-1
dpkg-buildpackage: ...
-1
votes
1
answer
96
views
Install .deb package only if version is higher
Is it possible to tell dpkg to only install a .deb if the new package version is higher than what's already installed on the system?
Example:
I have htop version 3.0.5 installed and I attempt to ...
0
votes
0
answers
283
views
ubuntu 22.10 conflict libpcre2-dev wth ppa deb sury installing php8.1-dev
I need phpize binary for install memcache with pecl, when I try to install the php8.1-dev in a Digital Ocean server, I get this:
$ apt-get install php8.1-dev
Reading package lists... Done
Building ...
1
vote
0
answers
109
views
Deb package trigger loops
I'm having a recurrent issue with custom .deb packages and their triggers.
We have made some "meta packets" for our deploys to force & check some configurations. The idea is to keep many ...
0
votes
0
answers
60
views
How to set dependency of an external deb file in the deb file?
I need to create a deb file with just set two other deb files as dependency so that both of them will install before this deb file.
If it is a package available in apt repo, I can directly mention as -...
0
votes
0
answers
42
views
Python setup tools getting dependency error with deb package, how to fix that?
Below is the install_requires part of setup.py of setuptools.
Created rpm using this command.
When I ran the deb file on another ubuntu 20 machine, got below error.
But don't know why it is ...
2
votes
1
answer
653
views
How to install apt dependencies from setup tools?
I am trying to create deb package from python setup tools.
To do that, I tried adding install_requires as in this link
But it seems, this is for pip modules, not apt packages.
How or where to set ...
1
vote
1
answer
317
views
Managing config files with Debhelper
I have packaged an application for Debian using Debhelper. The application's config file is located under /opt/{package}/releases/default/ instead of /etc/{package}/ and cannot be moved easily. Up ...
4
votes
1
answer
502
views
Is there a Debian Repository with OpenJ9 based Java releases?
Does anyone know if there are any Debian (11 Bullseye) repositories providing the latest and greatest Java builds based on OpenJ9 or did someone perhaps write some scripts for automatically updating ...
0
votes
1
answer
447
views
How to create a deb package to install files?
Below is the working control file while creating debian package using the link. I kept a single dependency and it is creating the deb file.
Package: my-program
Version: 1.0
Architecture: all
Essential:...
0
votes
0
answers
167
views
How to create debian file to install tomcat and deploy a war file?
I need to install tomcat Version 9.0.35 and deploy some war files and install some related files. Can you suggest how to do this.
So, direct dumping of files is not an option.I got one sh file for ...
1
vote
1
answer
4k
views
How to add multiple dependencies to debian package?
Below is the working control file while creating debian package using the link.
I kept a single dependency and it is creating the deb file.
Package: my-program
Version: 1.0
Architecture: all
Essential:...
1
vote
1
answer
736
views
apt: list packages with the repositories they are coming from
I've found
dpkg-query --showformat="\${Package}\t\${Version}\n" --show \*
but it can't show the repo can it? Probably that info is only known to apt. But which apt command to use?
I'd ...
0
votes
1
answer
712
views
Ubuntu: install only a signed verified deb package
What the final goal is:
Install a given package securely for a series of servers.
We have servers running on different cloud data centers.
We install our app on them as deb file.
Currently we upload ...
1
vote
1
answer
212
views
Ubuntu's `dpkg` ignores `Replaces` field of a package
I'm building a newer replacement for a package, libgpg-error. Ubuntu also has a libgpg-error0, which is depended upon by system packages (such as systemd). My package provides everything libgpg-error0 ...
0
votes
1
answer
130
views
jessie-backports-sloppy/ejabberd depends on jessie-backports packages how to solve
We have a debian jessie installation and we are trying to install a the package jessie-backports-sloppy/ejabberd with
# apt-get -t jessie-backports-sloppy install ejabberd
Reading package lists... ...
1
vote
1
answer
813
views
How dpkg check config files when upgrading packages
I'm building .deb packages for my internal tools.
And would like to find a right way how to deal with configuration files on upgrade.
Currently when I install package-0.2.deb over package-0.1.deb, ...
3
votes
1
answer
69
views
Building deb files for both Debian and Ubuntu [closed]
While the tools are the same, the sections and distribution names are notably different between Ubuntu & Debian (and presumably other Debian-based distros).
For example, a Lua library's debian/...
2
votes
1
answer
1k
views
apt - update local package
Some months ago I had to install gitlab-ce on a server with Ubuntu 16.04, no access to the public internet, so I downloaded the package from the Ubuntu repository on an other machine and then uploaded ...
3
votes
1
answer
1k
views
How to remove deprecated files from new version of package?
I'm building a new version of my own debian package, there is something was changed and some files now should be removed (for example old upstart scripts which shouldn't be executed more). I just ...
2
votes
1
answer
13k
views
Installing Debian package tools (dpkg-buildpackage) on Amazon Linux?
I am setting up a web server which packages and hosts different installers for client applications on Windows, Mac OS X, and Linux.
I am using EC2 so I went with Amazon Linux for my base image.
I ...
0
votes
1
answer
119
views
Is it possible for a debian package to be installed by multiple names through apt?
I have a package foo-new, which many new users know by its old name foo-old, so they try to execute apt install foo-old which does not work.
Is it possible through a control field to make a package ...
4
votes
1
answer
1k
views
Preserve Linux Capabilities in Debian Package
I'm building a package containing a web service that needs to listen on port 443. The service itself is written in Go, so I can't use authbind to manage the port permissions. Instead, I've opted to ...
-1
votes
1
answer
131
views
Create deb package from source without ./configure file [closed]
How can I create a deb package for Ubuntu 14.04 from source when there is no ./configure file?
I have tried to use checkinstall but keep getting an error like
make: *** No rule to make target `...
5
votes
3
answers
11k
views
Linux's /etc/init.d - symlink, hard link, or actual file?
I have a Debian and an RPM package that requires a start/stop script to be added to the /etc/init.d directory. Recently, I was informed by a remote developer that "those in the know" know that "best ...
3
votes
1
answer
3k
views
apt: list required dependencies for deb package without installing it
For a build tool I'm writing (for which I'd like to implement a sort of dependency-caching system) I'd like to know what the missing dependencies for a .deb package are, without resorting to ...
-1
votes
1
answer
125
views
Install screen on ubuntu 13.04 through .deb from web
I have a server on Rackspace w/ Ubuntu 13.04 (raring) that no longer has access to install packages through apt-get.
Err http://mirror.rackspace.com/ubuntu/ raring/main screen amd64 4.0.3-14ubuntu9
...
0
votes
2
answers
3k
views
Installing wkhtmltoimage in Debian 6.0 (squeeze)
How to install wkhtmltoimage in 64 bit amd debian ?
I tried
wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-amd64.tar.bz2
tar xvjf wkhtmltopdf-0.9.9-static-amd64.tar.bz2
mv ...
0
votes
1
answer
850
views
dpkg not able to delete a symbolic link
I have the following postint script in the dpkg package:
rm -f /SOMEDIRECTORY/current
ln -s /SOMEDIRECTORY/releases/RELEASESHA /SOMEDIRECTORY/current
ln -s /SOMEDIRECTORY/shared/config/config.json /...
7
votes
1
answer
6k
views
"apt-get source" cannot find package but "apt-get install" and "apt-get cache" can find it
I'm trying to download the source of a package but when I run
root@proxy:~# apt-get source squid3
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Can not ...
1
vote
2
answers
203
views
Will debian update packages that I've personally build from their official sources?
Hi and happy new year to you all..
Recently I've built nginx deb package v1.4.4 from debian backport source that of course I've added to the apt sources.list and things went great.
My question: ...
0
votes
2
answers
355
views
Getting file not found error with pdebuild
I am attempting to build a Debian package using pdebuild on my main development server (running Debian wheezy). Here is the command I run:
pdebuild --pbuilder cowbuilder --buildresult .. \
--...
0
votes
2
answers
761
views
Why does updating puppet ppa not update puppet?
Ubuntu 12.04 LTS Server
Puppet 3.1.1
According to the puppet documentation, the best way to install puppet is by setting up a package.
http://docs.puppetlabs.com/guides/...
5
votes
1
answer
3k
views
Debian package creation: binary-arch and binary-indep targets
I'm trying to create my first deb so I don't know much about it yet.
This is my 'rules' file at the moment:
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
# This ...
2
votes
1
answer
1k
views
Backporting tomcat7 for Debian squeeze
I am creating .deb installation packages for our software, which has a dependency on tomcat7. Unfortunately, this package is not present in Debian squeeze, which ships only with the package tomcat6.
...
8
votes
2
answers
1k
views
debian, diff, config default
I want to know if is posible to get the diff on the original versus the current config files of installed debian packages.
If found an answers which shows up the modified config files, but I find no ...
0
votes
1
answer
1k
views
installing php .deb files
I am using dotdeb.org php 5.4.8
http://archives.dotdeb.org/dists/squeeze/php5/5.4.8/binary-amd64/
I download all the files on to my box and run the following
cd /tmp/php-deb-5.4.8
dpkg -i php5-...
5
votes
1
answer
1k
views
Why do signed deb packages say they're not authenticated when copied to my private deb repo?
Quick Version
I have set up a private deb repository and copied some signed deb packages into it. I have installed the signing key locally. However when I try to install from the repo I get this ...
0
votes
2
answers
577
views
Install multiple instances of a program from .deb file to different locations
Here's the issue:
I have Google Desktop for Linux in a .deb file, and I have an account on a server without su privilege. I would like to install Google Desktop on the server just for myself, in my ...
16
votes
4
answers
5k
views
apt: how to search using package tags?
Some (most?) packages in Debian, have tags. For example:
=# apt-cache show squirrelmail | perl -lne 'print if /^Tag:/.../^\S/'
Tag: implemented-in::php, interface::web, mail::imap, mail::smtp,
mail::...
1
vote
0
answers
147
views
dev/test/prod package update workflow for debian/ubuntu
I'm doing more ubuntu server work now (as opposed to RHEL), and I'm not certain how the debian/ubuntu communities handle managing package updates through a dev/test/(staging)/prod environment.
The ...
2
votes
1
answer
77
views
persist debian package on Ubuntu
I have an Ubuntu server that I recompiled libcurl for sftp support. The problem is when the server is rebooted or updated I have to reinstall the curl package. I am not clear how to persist this ...
0
votes
1
answer
1k
views
Best practice signing debian packages
On my environment the packages are created by running 'debuild -b' and uploaded to the debian repository with dput. The debuild step is telling me that the package has been signed so should be cool. I ...
3
votes
1
answer
743
views
Creating custom DEB packages of common programs
I have an increasing number of servers running Debian or Ubuntu with customized versions of Apache, PHP, etc.
I thought I might be able to save time by creating my own APT source and putting already-...
4
votes
1
answer
120
views
How can I install a third-party .deb package in an arbitrary base dir?
I have a .deb which politely installs itself in /opt. For my purposes I would prefer it acted like a first-class citizen and installed itself in the regular filesystem locations.
Is there a way to do ...
4
votes
4
answers
2k
views
DEB: "Provides:" field ignored
I need to replace a package with a custom one, which gets its own name (foo-origpackage). To allow it to be used as drop-in replacement, I added the Provides: origpackage line to the control file. apt-...
1
vote
2
answers
979
views
OpenSSH 5.9p1 on Ubuntu 11.10
I want to build a deb package with the latest version of openssh from source. Then I want to install it on my machine.
I am running:
Linux Ubuntu-1110-oneiric-64-minimal 3.0.0-12-server #20-Ubuntu ...
0
votes
1
answer
1k
views
simple-cdd : including custom deb files
I can create a custom CD with simple-cdd wich install by default severals packages (I want apache and mysql for example), but I have a problem when I want to add custom deb files (first one is nammed ...
6
votes
2
answers
11k
views
Can reprepro accept a new version of a package into the repository?
I have installed a package into my own debian package repository like so:
$ sudo reprepro -b /var/packages/ubuntu includedeb maverick my-package_0.8-0_all.deb
my-package_0.8-0_all.deb: component ...