[Bug 1216783] [NEW] apt-get download ignores the option -t

Daniel Hartwig mandyke at gmail.com
Sun Sep 1 14:43:44 UTC 2013


On 26/08/2013 3:15 PM, "Sworddragon" <1216783 at bugs.launchpad.net> wrote:
>
> Public bug reported:
>
> I'm using Ubuntu 13.10 dev with apt 0.9.9.1~ubuntu2. Trying to use the
> option -t with apt-get download will result as if the option -t was not
> given. Here is an example which shows that the wrong package was
> downloaded:

-t is not used to directly select versions, but affects the apt priorities.
You can read e.g. the man page apt_preferences for the details.

What is the output of:

$ apt-cache policy -t raring shared-mime-info

status incomplete

Otherwise, skip the details and use this syntax to directly select the
version:
$ sudo apt-get download shared-mime-info/raring

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1216783

Title:
  apt-get download ignores the option -t

Status in “apt” package in Ubuntu:
  New

Bug description:
  I'm using Ubuntu 13.10 dev with apt 0.9.9.1~ubuntu2. Trying to use the
  option -t with apt-get download will result as if the option -t was
  not given. Here is an example which shows that the wrong package was
  downloaded:

  sworddragon at ubuntu:/tmp$ apt-cache policy shared-mime-info
  shared-mime-info:
    Installed: 1.1-0ubuntu4
    Candidate: 1.1-0ubuntu4
    Version table:
   *** 1.1-0ubuntu4 0
          500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
          100 /var/lib/dpkg/status
       1.1-0ubuntu2 0
          500 http://archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
  sworddragon at ubuntu:/tmp$ apt-get download -t raring shared-mime-info
  Get:1 Downloading shared-mime-info 1.1-0ubuntu4 [411 kB]
  Fetched 411 kB in 0s (522 kB/s)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1216783/+subscriptions




More information about the foundations-bugs mailing list