[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#892174: apt-get source -t fails if target release doesn't have deb sources.list entry



Control: forcemerge 441178 -1

On 2018-03-06 12:24, Harald Sitter wrote:
Package: apt
Version: 1.2.25

simple example in a docker container `docker run -it --rm ubuntu:bionic bash`

```
echo 'deb-src http://archive.ubuntu.com/ubuntu xenial main' >
/etc/apt/sources.list.d/xenial.list
apt update
apt-get source -t xenial apt
```

Will fail because the xenial release has no `deb ...` sources.list
entry and the pkgPolicy code checking -t is valid only iterates the
package cache it seems. Adding a suitable deb entry makes this work.

This sounds very much like #441178; merging.

Regards,

Adam


Reply to: