Questions tagged [source-packages]

126 questions
37
votes
5 answers

What package to install to play midi files in Ubuntu 16.04?

The (ex-totem?) Video player proposes the installation of gstreamer1.0-plugins-bad, but after installation there is no playback, nothing. When I try to open the .midi file again, the Video player comes up with the installation again and again. So I…
imrek
  • 194
  • 1
  • 8
  • 19
18
votes
4 answers

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) I want to extract the version number (and only…
12
votes
2 answers

Added key, but dget still shows "gpg: Can't check signature: public key not found"

Trying to download Django source package using dget and the .dsc file from here. Then dget fails to verify the source, because it is missing a public key. $ dget https://launchpad.net/ubuntu... [...] dscverify: python-django_1.4.1-2.dsc failed…
gertvdijk
  • 69,427
10
votes
1 answer

Add custom steps to source package's debian/package.postinst?

I have a package that incorporates an auto-generated debian/package.postinst.debhelper file into the generated binary. When I put my own code into a file at debian/package.postinst, the auto-generated file is no longer incorporated into the…
Matt Joiner
  • 1,627
6
votes
1 answer

Does packages.ubuntu.com provide a search API?

The Debian package directory provides a simple API to search for package releases. For instance this query results can be accessed as JSON at https://sources.debian.net/api/src/libtry-tiny-perl/. Is there a similar API for…
Jakob
  • 282
6
votes
2 answers

How to search for source packages?

I can use aptitude to search for packages using a search term. For example, to search for all packages whose name begins with Foo: $ aptitude search Foo* However, this listing does not include source packages (package with source code). How do I…
5
votes
2 answers

What can I do when Launchpad shows a wrong upstream connection?

I noticed that the file source package in Ubuntu on Launchpad is connected to the wrong upstream project. This obviously can't be fixed from Ask Ubuntu, but I am hoping someone can tell me what I can do to get it fixed (or, if for some reason it is…
Eliah Kagan
  • 119,640
5
votes
4 answers

How to download and install ffmpeg from Launchpad?

I'm trying to understand how to install the ffmpeg package from Launchpad. The ffmpeg website links to that page when you try to download it for Linux.
4
votes
1 answer

Ubuntu packages release and update dates

I am creating a list of packages installed in my Ubuntu 16.04 system and I need release dates for each package(if updated I need release date of the update, too) However I couldn't find that information in here and here Where can I get this…
4
votes
1 answer

How to install ANT 1.9.6?

I want to install ANT from downloaded zip: apache-ant-1.9.6-bin.zip. How to do it ?
R S
  • 2,649
4
votes
2 answers

What's the official method for checking integrity of a source package?

I want to add a feature to pam, and I figured a good starting point was to download the libpam-modules source. On download, I notice this warning: gpgv: Can't check signature: public key not found What is the official method for verifying the…
kasperd
  • 1,779
4
votes
1 answer

Where in the debian source package do I specifiy where the program should be installed?

Currently my program installs to /usr/bin or whatever and I need to change it to /opt/appname. Where do I specify that in the debian source package? Rasmus
4
votes
2 answers

Huawei Linux driver on Ubuntu 13.04

installing the driver for the Huawei Vodafone K3772 key in Ubu 13.04 I get the following error: "make: *** [install] Errore 2 Install NDIS driver failed. The compiling environment is not all ready. Please check gcc, make and kernel…
Fabio
  • 51
4
votes
2 answers

Is it possible to pin source packages? If so, how?

Given this /etc/apt/sources.list file: deb http://us.archive.ubuntu.com/ubuntu/ cosmic main restricted universe multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ cosmic main restricted universe multiverse deb …
smammy
  • 179
3
votes
1 answer

What does a component or archive "now" mean in the apt Python API?

I have a python script running on Ubuntu. Script gets all installed apt packages with apt_cache = apt.cache.Cache() I want to get repository names of each installed package. While I expect to see xenial/main, xenial/universe, xenial-updates/main…
1
2 3
8 9