apt-get --only-source does not work

Bug #224589 reported by lynxx
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: apt

Manpage:
--only-source
           Only has meaning for the source and build-dep commands. Indicates that the given source names
           are not to be mapped through the binary table. This means that if this option is specified,
           these commands will only accept source package names as arguments, rather than accepting binary
           package names and looking up the corresponding source package. Configuration Item:
           APT::Get::Only-Source.

passwd is a binary created by source package shadow

> apt-get --only-source --dry-run source passwd
should fail but returns source package shadow.

Tags: ct-rev
Revision history for this message
Brian Murray (brian-murray) wrote :

Verified using apt package version 0.7.20.2ubuntu4 on Jaunty Jackalope.

Changed in apt (Ubuntu):
importance: Undecided → Low
status: New → Triaged
tags: added: ct-rev
Revision history for this message
Richard Hansen (rhansen) wrote :

I found this bug by noticing that "apt-get --only-source source linux" fetches the linux-meta source package, not the linux source package.

Revision history for this message
Julian Andres Klode (juliank) wrote :

Fixed:

(natty)jak@jak-thinkpad:/$ apt-get --only-source --dry-run source passwd
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to find a source package for passwd

Changed in apt (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.