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

2013-09-01 Thread Daniel Hartwig
On 26/08/2013 3:15 PM, "Sworddragon" <1216...@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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1216783

Title:
  apt-get download ignores the option -t

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2013-08-26 Thread Sworddragon
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:

sworddragon@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@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)

** Affects: apt (Ubuntu)
 Importance: Undecided
 Status: New

** Summary changed:

- apt-get download ignores option -t
+ apt-get download ignores the option -t

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

Title:
  apt-get download ignores the option -t

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs