Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [deb]

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

1
vote
1answer
16 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
1answer
18 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... ...
0
votes
0answers
194 views

Installing NVIDIA driver without opengl

I have installed CUDA(from runfile) on a workstation(ubuntu 16.04) with dual GPUs where Radeon is used for display, Nvidia is for computations only. I installed Nvidia runfile in following way ./...
1
vote
0answers
60 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
1answer
56 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/...
1
vote
1answer
194 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 ...
2
votes
1answer
169 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 ...
0
votes
1answer
3k 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
1answer
79 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 ...
3
votes
0answers
451 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
1answer
111 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
3answers
6k 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
1answer
983 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
1answer
108 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
2answers
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
1answer
168 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
1answer
5k 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
2answers
178 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
2answers
274 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
2answers
686 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/...
4
votes
1answer
1k 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
1answer
954 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. ...
5
votes
2answers
424 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
1answer
664 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
1answer
994 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
2answers
225 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 ...
10
votes
3answers
3k 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
0answers
125 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
1answer
63 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
1answer
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
1answer
615 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
1answer
101 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 ...
3
votes
4answers
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
2answers
654 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
1answer
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 ...
4
votes
2answers
8k 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 ...
7
votes
1answer
2k 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
3answers
456 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
1answer
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
2answers
277 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
1answer
316 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: ...
17
votes
3answers
18k 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 ...
6
votes
3answers
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 ...