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

Sworddragon 1216783 at bugs.launchpad.net
Sun Sep 1 15:28:18 UTC 2013


> What is the output of:
>
> $ apt-cache policy -t raring shared-mime-info

sworddragon at ubuntu:~$ apt-cache policy -t raring shared-mime-info
shared-mime-info:
  Installiert:           1.1-0ubuntu4
  Installationskandidat: 1.1-0ubuntu4
  Versionstabelle:
 *** 1.1-0ubuntu4 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status
     1.1-0ubuntu2 0
        990 http://archive.ubuntu.com/ubuntu/ raring/main amd64 Packages


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

This works fine, thanks.


> -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.

In this case I'm marking this ticket as invalid.

** Changed in: apt (Ubuntu)
       Status: New => Invalid

-- 
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:
  Invalid

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