weird behavior of apt version 0.5.4
Hi, see for yourself.
root@drak:~\>> apt-get -qq update && echo "OK"
OK
root@drak:~\>> apt-get --config-file /etc/apt/sources.list -u -s update
&& echo OK
E: Syntax error /etc/apt/sources.list:21: Extra junk at end of file
root@drak:~\>>
the same conf file, once default once set on command line and two
different outputs ?
/etc/apt/sources.list
# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
# Uncomment if you want the apt-get source function to work
deb http://ftp.debian.cz/debian/ testing main non-free contrib
deb-src http://ftp.debian.cz/debian/ testing main non-free contrib
#deb http://ftp.debian.cz/debian-non-US unstable/non-US main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://ftp2.debian.cz/debian testing main contrib non-free
deb http://ftp2.debian.cz/debian-non-US testing non-US/main non-US/non-free non-US/contrib
#---------------------------------------
deb http://ftp.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
#deb http://security.debian.org stable/updates main contrib non-free
apt-get --version
apt 0.5.4 for linux i386 compiled on Aug 19 2001 01:02:26
Supported Modules:
*Ver: Standard .deb
*Pkg: Debian dpkg interface (Priority 30)
S.L: 'deb' Standard Debian binary tree
S.L: 'deb-src' Standard Debian source tree
Idx: Debian Source Index
Idx: Debian Package Index
Idx: Debian dpkg status file
Bye
G.
--
Martin.'Goran'.Moravec.............................,.|\/|.,
Owner.of.www.komik.cz,.root.at.xercom.cz.and...../..\(oo)/..\
drak.ucw.cz..Netadmin.and.bofh.at.ipp.cas.cz..../..../''\....\
Web:.www.ucw.cz/~goran.Email:.goran@ucw.cz...../..../\../\....\
phone:.0604-123-564............................\/\/`\.\/./`\/\/
..................................................^^-^^^^-^^.
Reply to: