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

Bug#692531: marked as done ('apt-get install' select the wrong version of package from different source list.)



Your message dated Wed, 7 Nov 2012 10:33:18 +0100
with message-id <20121107093316.GA29777@crater2.logilab.fr>
and subject line Re: Bug#692531: 'apt-get install' select the wrong version of package from different source list.
has caused the Debian Bug report #692531,
regarding 'apt-get install' select the wrong version of package from different source list.
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.)


-- 
692531: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692531
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.8.16 exp5 ubuntu14.2
Severity: critical
Justification: breaks unrelated software


After I run below scripts with 'apt-get install':

#!/bin/sh
export LC_ALL="en_US.utf8"
export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export KRB5CCNAME='FILE:/tmp/krb5cc_2060769110'
APT_CONFIG=/home/CORPUSERS/28849869/test/./temp_1mxjpmgixvthu/_buildenv/etc/apt/apt.conf /opt/semc-apt0.8/bin/apt-get -c=/home/CORPUSERS/28849869/test/./temp_1mxjpmgixvthu/_buildenv/etc/apt/apt.conf -y update 
APT_CONFIG=/home/CORPUSERS/28849869/test/./temp_1mxjpmgixvthu/_buildenv/etc/apt/apt.conf /opt/semc-apt0.8/bin/apt-get -c=/home/CORPUSERS/28849869/test/./temp_1mxjpmgixvthu/_buildenv/etc/apt/apt.conf -y --solver c2d-solver -o DPkg::options::="--force-overwrite" --allow-unauthenticated install pp-tsubasa-ct-ct variant-userdebug result-flashable  

It choose the worng version of package 'fw-rpm-tsubasa-ct' which depend by package 'pp-tsubasa-ct-ct'.
There is a debian package in the local source folder(deb file:/home/CORPUSERS/28849869/test/./ /) with version 'BLUE-8960-17X1-CT-121011-2257' and 
there is also a debian package in the remote source list(deb http://androidswrepo-cnbj.sonyericsson.net/ 9.0.E.0.192 semc) with version 'BLUE-8960-17XX-CT-121009-0801'.
But when run 'apt-get install', it use pacakge 'fw-rpm-tsubasa-ct' with version 'BLUE-8960-17X1-CT-121011-2257' but not use version 'BLUE-8960-17XX-CT-121009-0801'.
In the old behavrior of apt-get it choose the latest version of the package say version '17XX' should be later than version '17X1' because character 'X' should be latter than number '1'.

So the question is:
1.what is the behavior of apt-get to choose the version of package?
2.Is there some way to set a rule that could specify specific source list(say local folder) have a higher priority than the remote source list when run 'apt-get install'?

Thank you.

-- Package-specific info:

-- apt-config dump --

PT::Architecture "arm";
Dir "/home/CORPUSERS/28849869/test/./temp_1mxjpmgixvthu/_buildenv/";
Dir::Cache "var/cache/apt";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::State "var/lib/";
Dir::State::lists "apt/lists/";
Dir::State::cdroms "apt/cdroms.list";
Dir::State::status "/home/CORPUSERS/28849869/test/./temp_1mxjpmgixvthu/_buildenv/var/lib/dpkg/status";
Dir::Etc "etc/apt";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
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::Etc::preferencesParts "preferences.d";
Dir::Bin::Methods "/opt/semc-apt0.8/lib/apt/methods/";
Acquire::Languages "none";
Acquire::CompressionTypes::Order:: "gz";
DPkg::Run-Directory "/home/CORPUSERS/28849869/test/./temp_1mxjpmgixvthu/";
DPkg::Pre-Install-Pkgs " true ";
DPkg::Post-Invoke "echo post-invoke";
DPkg
{
  Options {"--root=/home/CORPUSERS/28849869/test/./temp_1mxjpmgixvthu";"--log=/home/CORPUSERS/28849869/test/./temp_1mxjpmgixvthu/_buildenv/var/log/dpkg.log";"--admindir=/home/CORPUSERS/28849869/test/./temp_1mxjpmgixvthu/_buildenv/var/lib/dpkg";}
};

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

deb file:/home/CORPUSERS/28849869/test/./ /
deb http://androidswrepo-cnbj.sonyericsson.net/ 9.0.E.0.192 semc

-- (/etc/apt/sources.list present) --


-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (900, 'lucid-updates'), (900, 'lucid-security'), (900, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-44-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  libc6                 2.11.1-0ubuntu7.11 Embedded GNU C Library: Shared lib
ii  libgcc1               1:4.4.3-4ubuntu5.1 GCC support library
ii  libstdc++6            4.4.3-4ubuntu5.1   The GNU Standard C++ Library v3

Versions of packages apt recommends:
ii  ubuntu-keyring                2010.11.09 GnuPG keys of the Ubuntu archive

Versions of packages apt suggests:
ii  apt-doc        0.8.10.3+squeeze1         Documentation for APT
ii  aptitude       0.4.11.11-1ubuntu10lucid1 terminal-based package manager
ii  bzip2          1.0.5-4ubuntu0.2          high-quality block-sorting file co
ii  dpkg-dev       1.15.5.6ubuntu4.6         Debian package development tools
ii  lzma           4.43-14ubuntu2            Compression method of 7z format in
ii  python-apt     0.7.94.2ubuntu6.4         Python interface to libapt-pkg
ii  synaptic       0.63.1ubuntu7             Graphical package manager

-- debconf-show failed

--- End Message ---
--- Begin Message ---
On Wed, Nov  7, 2012 at 17:16:45 +0800, He wrote:

> Package: apt
> Version: 0.8.16 exp5 ubuntu14.2

If you're running ubuntu, you should report bugs to them, not debian.

> Severity: critical
> Justification: breaks unrelated software
> 
I don't think so.

Closing.

Cheers,
Julien

--- End Message ---

Reply to: