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

Bug#176896: apt: Problems when deb and deb-src both present



Package: apt
Version: 0.5.4
Severity: normal

This occurs when working with a repository generated by mini-dinstall.

I have these lines in sources.list:

deb http://local-packages/excel stable/
deb-src http://local-packages/excel stable/

The repository pointed to it valid.  When I run apt-get update for the first
time after updating the repository with new packages, I get this error:

Hit http://local-packages stable/ Packages
Get:1 http://local-packages stable/ Release [706B]
Hit http://local-packages stable/ Sources
Get:2 http://local-packages stable/ Release [706B]
...
Fetched 1412B in 0s (17.2kB/s)
Failed to fetch http://local-packages/excel/stable/Release  rename failed, No such file or directory (/var/lib/apt/lists/partial/local-packages_excel_stable_Release -> /var/lib/apt/lists/local-packages_excel_stable_Release).
Reading Package Lists... Done

For the second and subsequent invocations of apt-get update, I get no error. 
All other apt-get commands work fine as well.

Also, if I comment out the deb-src line in my sources.list, apt-get works
fine with update every time.  The problem only occurs when that line is
present.  Alternatively, the problem goes away if I rm the Release file from
the server.

Checking my server logs shows that there was no error in fetching the file. 

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux wile 2.4.19 #1 Wed Nov 27 09:54:55 CST 2002 i686 unknown unknown GNU/Linux

Versions of the packages apt depends on:
ii  libc6          2.3.1-9        GNU C Library: Shared libraries and Timezone
ii  libstdc++2.10- 2.95.4-15      The GNU stdc++ library



Reply to: