Public bug reported:

Binary package hint: apt

Hello.

When any "deb-src" repository listed in '/etc/apt/sources.list' can't be
reached, 'apt-get source' fails.

To reproduce (on Kubuntu Dapper, with 'build-essential' installed):
1) add the following (nonsensical by content, just useful to demonstrate) line 
to your 'sources.list': "deb-src http://archive.canonical.com/ubuntu 
dapper-commercial main", and save it
2) do 'LC_ALL=C apt-get source libxine-main1'

The command dies with the following response:
"Reading package lists... Done
Building dependency tree... Done
E: Could not open file 
/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_dapper-commercial_main_source_Sources
 - open (2 No such file or directory)"

This is somewhat silly, because the repository in question has nothing
to do with the package we are requesting, and the sources are available
from the main repository.

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

-- 
'apt-get source' fails when any "deb-src" repository is unreachable
https://launchpad.net/bugs/85590

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

Reply via email to