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
37 votes
4 answers
44k 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 ...
Amandasaurus's user avatar
  • 32.3k
17 votes
4 answers
6k 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
8 votes
1 answer
4k 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 ...
Oliver Salzburg's user avatar
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 ...
Neoecos's user avatar
  • 183
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 ...
Garrett R's user avatar
  • 219
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 ...
kai's user avatar
  • 164
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 ...
Amandasaurus's user avatar
  • 32.3k
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 ...
user2569618's user avatar
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 ...
Hamish Downer's user avatar
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 ...
sergeyarl's user avatar
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-...
Creshal's user avatar
  • 259
4 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 ...
Stein G. Strindhaug's user avatar
4 votes
1 answer
134 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 ...
John Bachir's user avatar
  • 2,364
4 votes
1 answer
672 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 ...
Chaeska's user avatar
  • 51
4 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 ...
Alan Franzoni's user avatar
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 ...
vastlysuperiorman's user avatar
3 votes
1 answer
770 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-...
yakatz's user avatar
  • 1,243
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 ...
simplylizz's user avatar
3 votes
1 answer
15k 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 ...
ashgromnies's user avatar
3 votes
1 answer
987 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 ...
user2331760's user avatar
3 votes
1 answer
71 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/...
Miles Elam's user avatar
2 votes
3 answers
546 views

How do I see the original version of a config file installed with apt-get?

I have a server running Ubuntu and a program which was installed with apt-get install and I'd like to see the unmodified config file (e.g. /etc/foo/foo.cfg) so that I can diff it against the current ...
Eli Courtwright's user avatar
2 votes
1 answer
84 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 ...
jmm's user avatar
  • 23
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 ...
Brutus's user avatar
  • 121
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. ...
Jeroen Ooms's user avatar
  • 2,239
2 votes
1 answer
351 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: ...
Dan's user avatar
  • 31
1 vote
2 answers
206 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: ...
Dr.SMS's user avatar
  • 61
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, ...
greenoldman's user avatar
1 vote
1 answer
5k 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:...
uday's user avatar
  • 392
1 vote
1 answer
270 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 ...
smaslennikov's user avatar
1 vote
0 answers
141 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 ...
Ralequi's user avatar
  • 142
1 vote
1 answer
540 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 ...
ChrisdV's user avatar
  • 11
1 vote
1 answer
926 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 ...
Marki's user avatar
  • 2,854
1 vote
1 answer
970 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, ...
Slava Kryvel's user avatar
1 vote
0 answers
148 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 ...
JimB's user avatar
  • 1,924
1 vote
2 answers
995 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 ...
Wojtek B.'s user avatar
  • 161
0 votes
3 answers
476 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?
Joey BagODonuts's user avatar
0 votes
1 answer
121 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 ...
fornwall's user avatar
  • 103
0 votes
2 answers
771 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/...
spuder's user avatar
  • 1,745
0 votes
1 answer
962 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 ...
unsafe_where_true's user avatar
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-...
slik's user avatar
  • 155
0 votes
1 answer
94 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: ...
Arnaud F.'s user avatar
  • 133
0 votes
1 answer
595 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:...
uday's user avatar
  • 392
0 votes
2 answers
621 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 ...
John Thompson's user avatar
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 ...
V. Albastonio's user avatar
0 votes
0 answers
34 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 \ -...
Roberto Carlos Gonzalez's user avatar
0 votes
0 answers
224 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 ...
uday's user avatar
  • 392
0 votes
1 answer
133 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... ...
JAR's user avatar
  • 179
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 ...
Andrus's user avatar
  • 169
0 votes
1 answer
956 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 /...
milosgajdos's user avatar
  • 1,878