Questions about the Debian packaging format with the extension '.deb'. Packages for Ubuntu are provided in this format.

learn more… | top users | synonyms (1)

4
votes
2answers
719 views

What's the equivalent of rpm -qc PACKAGE_NAME in Ubuntu?

# rpm -qc PACKAGE_NAME lists the configuration files contained in that RPM package, in a Red Hat-like OS. What's it's equivalent command in an Ubuntu/Debian-based OS?
2
votes
2answers
790 views

How does update work with programs installed from .deb file

I'm having some difficulties exactly understanding how the the whole update thing work in linux (Ubuntu) and good practice for installing software. I understand I have a /etc/apt/sources.list file ...
0
votes
2answers
368 views

How to autostart a daemon after installation?

I'm writing a daemon and packaging it up but I want the daemon to run after install. Is there a way to make the daemon run after it gets installed?
1
vote
1answer
91 views

How can I create a deb package with 'folders' and files in it

I have some files that need to be installed in /usr/share/wallpapers when the deb package is installed. I have created the changelog, control files etc however I dont know how to put the files in it. ...
3
votes
2answers
321 views

Packaging precompiled program: file list not found

I'm trying to package an already compiled set of binaries including doc, header files, usage examples, etc... The installation instruction of the original binaries recommends to just copy all files ...
1
vote
1answer
84 views

Packing a .deb package correctly

I'm trying to create a debian package of the TIGCC, a C compiler for TI Calculators in correspondence with it's main developer, who is using Fedora and thus can only create and test RPMs. I've got ...
1
vote
0answers
131 views

How to find top-level dependencies in a list of deb packages?

Suppose I have a list of packages: foo libfoo bar baz quux And suppose foo requires libfoo and bar, and baz requires quux. I want a way to put in that list, and get out this list: foo baz I.e. ...
2
votes
1answer
316 views

How can I include files in a debian package for use in the postinst script?

Recently after performing an upgrade, and hence having to redo some of the manual configuration changes I'd performed, e.g. to configs in /etc or /usr/share, I decided I'd be more strict with myself ...
1
vote
0answers
243 views

“package mysql-server is not installed” even when it is installed

I am trying to install a deb package running the command dpkg -i code/mydeb.deb it gives an error saying dpkg: dependency problems prevent configuration of openmrs: openmrs depends on ...
2
votes
1answer
651 views

Installing trusty packages in saucy

the version of yate in saucy is giving me issues with pulseaudio and wanted to install a newer version, so I installed all the required debs from trusty to make yate-qt4 work. I have not run into any ...
0
votes
1answer
42 views

When downloading source packages from ubuntu what is the difference between *orig.tar.bz2 and *6ubuntu2.3.debian.tar.gz

I'm taking a look at perl in the ubuntu packages and on the right panel under "Download Source Package" I noticed 3 files http://packages.ubuntu.com/precise/perl [perl_5.14.2-6ubuntu2.3.dsc] ...
0
votes
2answers
1k views

installing .deb file without internet connection without software centre [duplicate]

i want to install OS uninstaller i have its .deb file and the two other dependency files(.deb) required for it but when i try to install the dependency file in the liveUSB the software center opens ...
-1
votes
1answer
255 views

Decompile source .deb package to post it on launchpad [closed]

I want to upload .deb package from this solution to my launchpad repository, so that I could automate the process of installing specific packages for my laptop. A brief insight into the package ...
1
vote
2answers
242 views

Find packages which files got deleted or missing after installation

I just accidentally did rm -r /var but luckily managed to ^C it before more damages were done. Is there way to find out all packages which files got deleted in the location so I can reinstall them? % ...
3
votes
2answers
956 views

How to create a deb package for a python3 script?

I have one Python file, main.py. I would like to be able to make a .deb package from it, and then be able to run main.py by typing the package name from the terminal. It is written in Python 3, so the ...
1
vote
1answer
432 views

Can I call other dpkg or apt-* commands within my preinst scripts?

As part of my custom (in-house) .deb file that will be deployed to Ubuntu 12.04 devices, I need to add several PPA repositories, run apt-get update, and then install packages from those PPAs. Can ...
2
votes
1answer
96 views

How can I create a deb from binaries?

I have a few binary files: foo, bar.so, and foo.lnk. I want to make a deb that will extract foo to /usr/share/foo/foo, bar to that same directory, and foo.lnk to /usr/share/applications. I dont want ...
1
vote
0answers
1k views

VFS 495 finger print reader not working in Ubuntu

I have HP Probook 450 and it has integrated finger print reader VFS 495 from Validity Inc. I have Linux drivers from the HP site. Now I want to make it work it in Ubuntu. The drivers are in rpm format ...
0
votes
1answer
129 views

Backporting Qt 4.8.4: Circular dependencies of qtchooser

I'm trying to backport the latest Qt packages (4.8.4) to Precise, using Launchpad. This worked well for the qt4-x11 packages but now I also need qtchooser which does not exist in 12.04. Trying to ...
0
votes
1answer
43 views

Why script doesn't see envvar while installing via Ubuntu Software Center?

I have a .deb package with configuration script which reads some environmental variable. This variable is added to /etc/environment file, and the system was rebooted. When I install the package from ...
0
votes
1answer
258 views

Why does sometimes my postinst executed while installing/removing other software?

I have a deb package for my application. Sometimes when I install or remove some software (e.g. synaptic or openssh-server) with command sudo apt-get install (or remove) synaptic it executes ...
0
votes
1answer
1k views

Is it possible to get deb packages of older VLC versions?

I need to use v. 2.0.8 for a VLC extension that does not work with the latest releases of the player. I would like to keep the deb of this version for further use, and also to learn how is it ...
2
votes
1answer
98 views

Display name for DEB package in Ubuntu Software Center

Suppose I have a package mypack_1.1.0_i386.deb. When I open it via Ubuntu Software Center it displays "mypack" as a display name. Obviously it gets the name from the "Package:" attribute of the ...
0
votes
2answers
45 views

What programs and packages are updated by the update manager?

The update manager periodically checks for available updates for packages installed through the Ubuntu Software Center. Does the manager also check for available updates for the programs installed via ...
2
votes
1answer
185 views

How Reliable is Virtual Machine GCC Binaries

I have an app which I need to generate the following: Ubuntu 32/64 bits and the same to Windows. Now I have 64Bits Ubuntu 13.04 and I have Virtual Box with 13.04 32bits on the same machine. How ...
0
votes
1answer
186 views

apt-get not recognizing downloaded archives

I installed Ubuntu Gnome 13.10. I previously had Ubuntu Gnome 13.04 and had all the archives in the /var/cache/apt/archives/ stored to a removable disk. After installing 13.10 I copied all my archives ...
0
votes
0answers
41 views

I need to build a DEB package which ask and installs other a deb packages [duplicate]

I need create a DEB package which asks me to install some other package to be installed or not. And if yes which version of you want to install. What should be the right place for this, a control ...
0
votes
3answers
854 views

How to find out what package contains some Perl module [duplicate]

Here is the task. I need to install some CPAN module on my ubuntu computer. I want to install it from deb package so I need to find out what package contains that module. Sometimes the solution for ...
0
votes
2answers
122 views

How to revert changes made by *.deb

I installed a *.deb on my Ubuntu 13.04 that was probably badly maintained (more of that later). I downloaded it from a download-portal (it was gimpshop_26953.deb from netzwelt.de) and installed via ...
0
votes
2answers
440 views

dpkg and missing dependency problem

I downloaded an open source software from the Internet to emulate white board on my computer. The link is here: http://open-sankore.org/ The download was as .zip file with .deb file inside (which I ...
2
votes
4answers
360 views

Is there deb packages that display license agreement?

Could you please list some deb packages that show license agreement and ask to accept it? I would like to learn their internals.
0
votes
1answer
203 views

How to compile .deb file from package archives?

How do I make .deb package file from these archives? http://ppa.launchpad.net/unit3/bfgminer/ubuntu/dists/quantal/main/
1
vote
3answers
3k views

How can I install gem5?

I was helping my friend installing gem5 simulator on Linux for thesis work. I know Linux a little bit. Somehow I managed to install that simulator on my laptop with Ubuntu 12.04, but when I tried to ...
1
vote
1answer
173 views

Installation failures

I used a pre-written shell script to install steam and it supplied me with libc-ubuntu.deb file. When I dpkg the deb file it says this: sudo dpkg -i libc6_2.15-0ubuntu10.2_i386.deb (Reading database ...
2
votes
4answers
15k views

How to install Canon printer/scanner drivers (deb.tar.gz file)?

I have a Canon MG2220 multifunction printer that I would like to use with Ubuntu 13.04 (which I just installed). There are no print drivers available in the Ubuntu Software Center, so I downloaded ...
0
votes
1answer
2k views

How to install drivers for brother printer

Just installed Ubuntu 12.04LTS. My Brother DCP-130C usb printer is correctly detected but the drivers for a DCP-1200 are installed by default. I have downloaded what I assume are the correct drivers ...
0
votes
0answers
26 views

How to make a .deb package that would add link to a repo to software sources? [duplicate]

I do not need .dsc, .tar.gz, .changes etc. and I can make a .deb package with this command dpkg -b path/to/repo. I just want to know how to make a .deb that would link a repository to "software ...
5
votes
2answers
57k views

How to install .deb file in ubuntu using terminal? [duplicate]

I am trying to install Google Chrome,for that I downloaded a google-chrome-stable_current_i386.deb file. When I try to install using install in terminal sudo install ...
0
votes
1answer
159 views

Repacked proprietary software keeps updating the same deb

I repacked a proprietary program delivered as tar file to a deb file for having a company wide repository. I used reprepro to set up a repository and signed it. A unix timestamp is faking a ...
6
votes
4answers
2k views

How do I extract the package version from debian/changelog?

What's the most robust way to parse a source package's debian/changelog file (or debian/control?) to get the package's version number? Something like: pkgver=$(dpkg-parsechangelog | magic_goes_here) ...
2
votes
1answer
347 views

Launchpad can't find rsvg while building deb package for Precise Pangolin

I have PPA with one package: clarity-icon-theme. It builds fine on all versions of Ubuntu, except Precise Pangolin where it fails with the following error: rsvg: command not found I have dependency ...
1
vote
2answers
54 views

select packages related to some program in apt archive

Suppose that I have installed a program "someProgram". Now, I want to select the .deb packages that were downloaded into /var/cache/apt/archive folder. How can I select the packages related to ...
1
vote
1answer
106 views

.deb built in PPA doesn't install my binary

I'm going insane here. I've built a tool that doesn't need any actual compilation - it's just a Perl script - and when I run bzr builddeb on it, I get a WORKING .deb file which copies my script - ...
0
votes
0answers
20 views
6
votes
3answers
3k views

What is the standard for naming deb file name?

I want to find out the standard for the deb file names. For example I have file with the name foo_1.0.0-1_all.deb. As I have found out in Debian FAQ there is such convention: ...
1
vote
1answer
178 views

Building .deb file: Copy Configurations to User Settings

I'm building a deb file for my application following online tutoria and have no major problem. I can specify file to go to /usr/bin, /usr/lib and many system directories. But there are settings that ...
5
votes
1answer
10k views

How do I convert a x86 RPM to a x86 DEB within a x64 system?

In my case the software I am trying to convert is the Lacie lightscribe labeler. 1.- I renamed the RPM mv LaCie\ LightScribe\ Labeler\ 1.0\ Linux.rpm lacie-lightscribe-labeler-1.0.rpm 2.- Convert ...
7
votes
2answers
271 views

How to turn a .py file into a .deb package using quickly?

We have made a .py file that controls brightness of the screen. It has a GUI with slider for controlling and runs when it is double clicked after marking it as executable. But we want to make a .deb ...
0
votes
1answer
87 views

package development tools [duplicate]

I have some source code, I would like to make into Debian packages for Ubuntu. its been quite some times since I made packages, and I am wondering if there are any really great tools out there to help ...
3
votes
1answer
398 views

Examples of multiple binary packages

I'm trying to include a preview of the new experimental Gtk+ 3 build of Inkscape in our PPA... I want to compile the upstream source using different compile-time options to generate two different ...