Bug 12526 - Should work with empty sources.list
: Should work with empty sources.list
Status: CLOSED WORKSFORME
: Sisyphus
(All bugs in Sisyphus/apt)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2007-08-10 15:04 by
Modified: 2010-10-31 00:47 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-08-10 15:04:53
Сделал для spt отдельные apt.conf с включением sources.list аналогично
/etc/apt.
Оказалось, что apt не работает с пустым sourcelist:

apt-config: broken Dir::Etc::SourceList: /path/to/x86_64.sources.list

Если добавить в этот файл хотя бы одну пустую строку, apt работает.

apt-0.5.15lorg2-alt11
------- Comment #1 From 2010-10-31 00:47:21 -------
root@pad ~ # mv /etc/apt/sources.list{,-}
root@pad ~ # touch /etc/apt/sources.list    
root@pad ~ # apt-get update 
Reading Package Lists... Done
Building Dependency Tree... Done
root@pad ~ # apt-get clean 
root@pad ~ # apt-get update 
Reading Package Lists... Done
Building Dependency Tree... Done
root@pad ~ # apt-get install bubu
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package bubu
root@pad ~ # rpm -q apt
apt-0.5.15lorg2-alt33