Re: apt-get/aptitude update failing
Bill Wohler schrieb:
> I take it back. I simplified my sources.list to:
>
> deb http://http.us.debian.org/debian/ etch main contrib non-free
>
> removed all the cached package files in /var/lib/apt/lists, and ran
> apt-get update. This worked:
>
> [wohler@olgas:808]$ sudo apt-get update
> Get: 1 http://http.us.debian.org etch Release.gpg [189B]
> Get: 2 http://http.us.debian.org etch Release [62.9kB]
> Get: 3 http://http.us.debian.org etch/main Packages [4085kB]
> Get: 4 http://http.us.debian.org etch/contrib Packages [52.1kB]
> Get: 5 http://http.us.debian.org etch/non-free Packages [73.8kB]
> Fetched 4274kB in 28s (149kB/s)
> Reading package lists... Done
>
> I again removed the package files, and ran aptitude update. This bombed:
>
> [wohler@olgas:812]$ sudo aptitude update
> Reading package lists... Done
> Building dependency tree... Done
> Reading extended state information
> Initializing package states... Done
> Reading task descriptions... Done
> Building tag database... Done
> Get:1 http://http.us.debian.org etch Release.gpg [189B]
> Get:2 http://http.us.debian.org etch Release [62.9kB]
> Get:3 http://http.us.debian.org etch/main Packages [4085kB]
> Get:4 http://http.us.debian.org etch/contrib Packages [52.1kB]
> Get:5 http://http.us.debian.org etch/non-free Packages [73.8kB]
> Fetched 4274kB in 23s (179kB/s)
> Reading package lists... Done
> W: Couldn't stat source package list http://http.us.debian.org etch/main Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory)
> W: Couldn't stat source package list http://http.us.debian.org etch/contrib Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_etch_contrib_binary-i386_Packages) - stat (2 No such file or directory)
> W: Couldn't stat source package list http://http.us.debian.org etch/non-free Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_etch_non-free_binary-i386_Packages) - stat (2 No such file or directory)
> W: Couldn't stat source package list http://http.us.debian.org etch/main Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory)
> W: Couldn't stat source package list http://http.us.debian.org etch/contrib Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_etch_contrib_binary-i386_Packages) - stat (2 No such file or directory)
> W: Couldn't stat source package list http://http.us.debian.org etch/non-free Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_etch_non-free_binary-i386_Packages) - stat (2 No such file or directory)
> W: You may want to update the package lists to correct these missing files
> W: You may want to run apt-get update to correct these problems
>
> Guess I should report a bug against aptitude?
>
Hi,
try to put some spaces between the lines and at the end of the file.
Then try again to update.
Reply to: