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

Bug#329882: marked as done (apt-get source priorities changed in newer version?)



Your message dated Wed, 14 Sep 2011 20:27:32 +0200
with message-id <CAAZ6_fAaKAomR0kZPEiBFuGe1BnecZ1j1pqkw7auMbs_BELjYQ@mail.gmail.com>
and subject line Close: Manual intervention necessary for reordering of sources.list to take effect
has caused the Debian Bug report #179868,
regarding apt-get source priorities changed in newer version?
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.)


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

Since the upgrade of apt (supporting gpg) into unstable, after the
release of 3.1, my local archive no longer works?  I've tried tracking
the problem down on and off over the past few weeks but to no
avail. Not sure if this is an apt problem or a problem with my
archive, but it used to work and I don't think I have changed how my
archive is managed (with apt-move).

------------------------------------------------------------------------
I've cut my sources.list to just two sources: mine and debian.

I remove a small package from my system:

    # apt-get remove most

    Reading package lists... Done
    Building dependency tree... Done
    The following packages will be REMOVED:
      most
    0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
    Need to get 0B of archives.
    After unpacking 111kB disk space will be freed.
    Do you want to continue [Y/n]?
    (Reading database ... 264409 files and directories currently installed.)
    Removing most ...

I do an UPDATE

    # apt-get update

    Ign http://togaware.redirectme.net unstable Release.gpg
    Get:1 http://togaware.redirectme.net unstable Release [856B]
    Ign http://togaware.redirectme.net unstable/main Packages
    Ign http://togaware.redirectme.net unstable/non-free Packages
    Get:2 http://togaware.redirectme.net unstable/main Packages [161kB]
    Get:3 http://togaware.redirectme.net unstable/non-free Packages [424B]
    Get:4 http://ftp.debian.org unstable Release.gpg [189B]
    Hit http://ftp.debian.org unstable Release
    Hit http://ftp.debian.org unstable/main Packages
    Hit http://ftp.debian.org unstable/contrib Packages
    Hit http://ftp.debian.org unstable/non-free Packages
    Fetched 163kB in 1s (118kB/s)
    Reading package lists... Done

I check where policy thinks I should get the package from:

    # apt-cache policy most

    most:
      Installed: (none)
      Candidate: 4.10.2-1
      Version table:
         4.10.2-1 0
            500 http://togaware.redirectme.net unstable/main Packages
            500 http://ftp.debian.org unstable/main Packages

Yet when I install it goes to debian, not togaware:

    # apt-get install most

    Reading package lists... Done
    Building dependency tree... Done
    The following NEW packages will be installed:
      most
    0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
    Need to get 43.5kB of archives.
    After unpacking 111kB of additional disk space will be used.
    Get:1 http://ftp.debian.org unstable/main most 4.10.2-1 [43.5kB]
    Fetched 43.5kB in 1s (26.6kB/s)
    Reading package fields... Done
    Reading package status... Done
    Retrieving bug reports... Done
    Selecting previously deselected package most.
    (Reading database ... 264402 files and directories currently installed.)
    Unpacking most (from .../most_4.10.2-1_i386.deb) ...
    Setting up most (4.10.2-1) ...

------------------------------------------------------------------------

Why is it retrieving the package from http://ftp.debian.org rather than 
http://togaware.redirectme.net?

Regards,
Graham


-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

deb http://togaware.redirectme.net/pub/debian unstable main non-free
deb http://ftp.debian.org/debian unstable main contrib non-free

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apt depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.1-9  GCC support library
ii  libstdc++6                    4.0.1-9    The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 0.8.15.6

  * apt-pkg/pkgcachegen.cc:
    - regenerate the cache if the sources.list changes to ensure
      that changes in the ordering there will be honored by apt

Sounds like this bug is fixed.
I am therefore closing it now,
but feel free to reopen it if you disagree.


Best regards

David Kalnischkies


--- End Message ---

Reply to: