Questions tagged [deb]

deb is the extension of the Debian software package format and the most often used name for such binary packages.

Filter by
Sorted by
Tagged with
0 votes
0 answers
64 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 ...
2 votes
0 answers
229 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 ...
  • 21
0 votes
1 answer
220 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:...
  • 267
0 votes
0 answers
117 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 ...
  • 267
0 votes
1 answer
2k 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:...
  • 267
0 votes
1 answer
240 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 ...
  • 2,795
0 votes
1 answer
422 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
112 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
120 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... ...
  • 179
1 vote
1 answer
496 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
66 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
853 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 ...
  • 121
3 votes
1 answer
747 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 ...
1 vote
1 answer
9k 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
110 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 ...
  • 103
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
127 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
10k 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 ...
2 votes
1 answer
2k 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
121 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 ...
  • 2,025
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 ...
  • 169
0 votes
1 answer
553 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 /...
  • 1,808
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 ...
  • 219
1 vote
2 answers
196 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: ...
  • 61
0 votes
2 answers
331 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 .. \ --...
  • 2,611
0 votes
2 answers
750 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/...
  • 1,705
5 votes
1 answer
2k 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. ...
  • 2,187
8 votes
2 answers
957 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 ...
  • 183
0 votes
1 answer
951 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-...
  • 155
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
486 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 ...
15 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::...
user avatar
1 vote
0 answers
137 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 ...
  • 1,924
2 votes
1 answer
76 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 ...
  • 23
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
691 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-...
  • 1,213
4 votes
1 answer
104 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 ...
  • 2,344
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-...
  • 269
1 vote
2 answers
938 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 ...
  • 161
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
10k 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 ...
  • 164
7 votes
1 answer
3k views

Why does reprepro complain about the "all" architecture?

I started setting up a deb repository today for some of our applications. Given that they are interpreted scripts, I went with "all" architecture (from conf/distributions): Codename: lucid ...
0 votes
3 answers
473 views

puppet 2.6.4 .deb package

Is there any 3rd party repositories that keeps up to date puppet client versions? I am looking for a puppet 2.6.4 .deb package?
3 votes
1 answer
2k views

View changelog of all packages to be upgraded before upgrading

When using synaptic on my Ubuntu desktop computer i can review all changelog of all the packages to be upgraded, and unselect a package for upgrade if I want. On my desktop I usually install ...
1 vote
2 answers
282 views

Automatic storing package before installing it on .deb based system?

The reason I am asking this question is I am concerned about simple rollback (I already read how to find out what packages were installed). So I would like to set global (per entire system) option, ...
2 votes
1 answer
333 views

Installing deb packages from a mounted CD

I have mounted the Ubuntu server edition 10.10 on my server under a directory media/servercd. I would like to install some services from this (it is an ISO). I edited the sources.list file to say: ...
  • 31
31 votes
4 answers
35k views

How do I see the changelog for a debian/ubuntu deb package?

I'm running Ubuntu and I have a deb file installed. I've made deb packages before, so I know there is a debian changelog (debchange). Is there anyway to see the debian changelog for any package that I ...
  • 30.3k
6 votes
3 answers
3k views

Compile a debian package for amd64 on a i386 machine?

I have a i386 ubuntu hardy machine, and an amd64 ubuntu hardy machine. I want to compile a debian package (a.k.a. deb) for the amd64 machine on the i386 (because I don't have enough memory to compile ...
  • 30.3k