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

Bug#831910: marked as done (tracker.debian.org: loaddata imports package sources wrong)



Your message dated Thu, 21 Jul 2016 09:34:56 +0200
with message-id <6cda2888-57a5-854f-1d1b-af46c1828151@immerda.ch>
and subject line Re: Bug#831910: tracker.debian.org: loaddata imports package sources wrong
has caused the Debian Bug report #831910,
regarding tracker.debian.org: loaddata imports package sources wrong
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
831910: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831910
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tracker.debian.org
Severity: normal

Dear Maintainer,

i tried to setup my own tracker in a vagrant environment (based on the
vagrant debian/jessie64 image).
When following the instructions on
https://tracker.debian.org/docs/setup/repositories.html#repositories
the command
./manage.py tracker_update_repositories
fails, because the file
data/cache/apt-cache/etc/sources.list
contains sections like
m a i n   c o n t r i b   n o n - f r e e
meaning: all the characters are divided by one additional space chacter.
this leads to the command failing:

2016-07-20 18:47:46,343 INFO: Starting task UpdateRepositoriesTask
2016-07-20 18:47:46,344 INFO: UpdateRepositoriesTask Updating apt's cache
2016-07-20 18:47:55,284 ERROR: Problem processing a task.
Traceback (most recent call last):
  File "/home/vagrant/foo/distro_tracker/core/tasks.py", line 521, in run
    task.execute()
  File "/home/vagrant/foo/distro_tracker/core/tasks.py", line 551, in wrapper
    six.reraise(*sys.exc_info())
  File "/home/vagrant/foo/distro_tracker/core/tasks.py", line 548, in wrapper
    func(self)
  File "/home/vagrant/foo/distro_tracker/core/retrieve_data.py", line 814, in execute
    self.apt_cache.update_repositories(self.force_update)
  File "/home/vagrant/foo/distro_tracker/core/utils/packages.py", line 430, in update_repositories
    cache.update(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 443, in update
    raise FetchFailedException(e)
FetchFailedException: W:Failed to fetch http://security.debian.org/dists/oldstable/updates/InRelease  Unable to find expected entry 'm/source/Sources' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://httpredir.debian.org/debian/dists/wheezy-backports/InRelease  Unable to find expected entry 'm/source/Sources' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://httpredir.debian.org/debian/dists/wheezy-backports-sloppy/InRelease  Unable to find expected entry 'm/source/Sources' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://httpredir.debian.org/debian/dists/oldstable-updates/InRelease  Unable to find expected entry 'm/source/Sources' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://httpredir.debian.org/debian/dists/oldstable-proposed-updates/InRelease  Unable to find expected entry 'm/source/Sources' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://security.debian.org/dists/stable/updates/InRelease  Unable to find expected entry 'm/source/Sources' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://httpredir.debian.org/debian/dists/jessie-backports/InRelease  Unable to find expected entry 'm/source/Sources' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://httpredir.debian.org/debian/dists/stable-updates/InRelease  Unable to find expected entry 'm/source/Sources' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://httpredir.debian.org/debian/dists/proposed-updates/InRelease  Unable to find expected entry 'm/source/Sources' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://httpredir.debian.org/debian/dists/testing/InRelease  Unable to find expected entry 'm/source/Sources' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://security.debian.org/dists/testing/updates/InRelease  Unable to find expected entry 'm/source/Sources' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://httpredir.debian.org/debian/dists/testing-proposed-updates/InRelease  Unable to find expected entry 'm/source/Sources' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://httpredir.debian.org/debian/dists/unstable/InRelease  Unable to find expected entry 'm/source/Sources' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://httpredir.debian.org/debian/dists/experimental/InRelease  Unable to find expected entry 'm/source/Sources' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://httpredir.debian.org/debian/dists/oldstable/Release  Unable to find expected entry 'm/source/Sources' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://httpredir.debian.org/debian/dists/stable/Release  Unable to find expected entry 'm/source/Sources' in Release file (Wrong sources.list entry or malformed file)
, E:Some index files failed to download. They have been ignored, or old ones used instead.

(after fixing the sources.list by hand, the tracker_update_repositories command
apparently recreates the file again with the broken section names)



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (650, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
deb-src http://httpredir.debian.org/debian oldstable m a i n   c o n t r i b   n o n - f r e e
deb-src http://security.debian.org oldstable/updates m a i n   c o n t r i b   n o n - f r e e
deb-src http://httpredir.debian.org/debian wheezy-backports m a i n   c o n t r i b   n o n - f r e e
deb-src http://httpredir.debian.org/debian wheezy-backports-sloppy m a i n   c o n t r i b   n o n - f r e e
deb-src http://httpredir.debian.org/debian oldstable-updates m a i n   c o n t r i b   n o n - f r e e
deb-src http://httpredir.debian.org/debian oldstable-proposed-updates m a i n   c o n t r i b   n o n - f r e e
deb-src http://httpredir.debian.org/debian stable m a i n   c o n t r i b   n o n - f r e e
deb-src http://security.debian.org stable/updates m a i n   c o n t r i b   n o n - f r e e
deb-src http://httpredir.debian.org/debian jessie-backports m a i n   c o n t r i b   n o n - f r e e
deb-src http://httpredir.debian.org/debian stable-updates m a i n   c o n t r i b   n o n - f r e e
deb-src http://httpredir.debian.org/debian proposed-updates m a i n   c o n t r i b   n o n - f r e e
deb-src http://httpredir.debian.org/debian testing m a i n   c o n t r i b   n o n - f r e e
deb-src http://security.debian.org testing/updates m a i n   c o n t r i b   n o n - f r e e
deb-src http://httpredir.debian.org/debian testing-proposed-updates m a i n   c o n t r i b   n o n - f r e e
deb-src http://httpredir.debian.org/debian unstable m a i n   c o n t r i b   n o n - f r e e
deb [arch=amd64] http://httpredir.debian.org/debian unstable m a i n   c o n t r i b   n o n - f r e e
deb-src http://httpredir.debian.org/debian experimental m a i n   c o n t r i b   n o n - f r e e

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Hi,

On 07/20/2016 10:08 PM, Raphael Hertzog wrote:
> I can't reproduce this with Django 1.9.7. What version of Django are you
> using? Version 1.8.x is the minimal version that we support (it's
> available in jessie-backports).

ah, thanks! sorry, i overlooked the version specification in the docs
and used python-django from jessie. it works now!
(i had to install python-django-debug-toolbar from stretch though)

thanks again,
cheers,
-- 
muri

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply to: