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

Bug#174378: marked as done (Behavior of "apt-get upgrade" with APT::Default-Release)



Your message dated Sun, 05 Jan 2003 18:08:28 -0700 (MST)
with message-id <[🔎] Pine.LNX.3.96.1030105180434.513e-100000@wakko.debian.net>
and subject line Bug#174378: apt: Same problem with pinning versions in apt.conf
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Dec 2002 16:16:47 +0000
>From gucky@nine.ch Thu Dec 26 10:16:47 2002
Return-path: <gucky@nine.ch>
Received: from marvin.nine.ch [213.144.137.130] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18Ragg-0000Be-00; Thu, 26 Dec 2002 10:16:46 -0600
Received: by marvin.nine.ch (Postfix, from userid 550)
	id 333C71140BC; Thu, 26 Dec 2002 17:16:42 +0100 (CET)
Date: Thu, 26 Dec 2002 16:02:09 +0100 (CET)
From: Hans Fuchs <hans@enova.ch>
X-X-Sender: gucky@marvin.nine.ch
To: submit@bugs.debian.org
X-Debbugs-CC: tom@nine.ch, george@galis.org
Subject: Behavior of "apt-get upgrade" with APT::Default-Release
Message-ID: <Pine.LNX.4.44.0212261511420.17419@marvin.nine.ch>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-3.1 required=5.0
	tests=SIGNATURE_LONG_SPARSE,SPAM_PHRASE_00_01,SUBJ_HAS_UNIQ_ID,
	      USER_AGENT_PINE
	version=2.41
X-Spam-Level: 

Package: apt
Version: 0.5.4

Systemconfig:
ii  apt            0.5.4          Advanced front-end for dpkg
ii  apt-utils      0.5.4          APT utility programs
ii  libc6          2.2.5-14.3     GNU C Library: Shared libraries and Timezone
ii  libc6-dev      2.2.5-14.3     GNU C Library: Development Libraries and Hea
ii  dpkg           1.10.9         Package maintenance system for Debian
ii  dpkg-dev       1.10.9         Package building tools for Debian

Linux frija 2.2.20 #1 Mon Dec 31 07:05:08 EST 2001 i686 Pentium III (Katmai) GenuineIntel GNU/Linux

--
frija:~# perl -v

This is perl, v5.6.1 built for i386-linux

Copyright 1987-2001, Larry Wall

Perl may be copied only under the terms of either the Artistic License or  the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
--

Description:

I have a strange behavior when I start using APT::Default-Release. It
suddenly whats to install packages while the apt-get upgrade process. But
it should not install any since the release hasn't changed because default
is still "testing".

My /etc/apt/sources.list before using APT::Default-Release:

--
deb http://sunsite.cnlab-switch.ch/ftp/mirror/debian/ testing main non-free contrib
deb-src http://sunsite.cnlab-switch.ch/ftp/mirror/debian/ testing main non-free contrib


deb http://security.debian.org/ stable/updates main contrib non-free
--

apt-get upgrade says:

--
frija:/var/spool/squid# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.
frija:/var/spool/squid# 
--

apt-get dist-upgrade says:

--
frija:/var/spool/squid# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
0 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.
frija:/var/spool/squid# 
--

Now I add unstable to sources.list:

--
deb http://sunsite.cnlab-switch.ch/ftp/mirror/debian/ testing main non-free contrib
deb-src http://sunsite.cnlab-switch.ch/ftp/mirror/debian/ testing main non-free contrib

deb http://sunsite.cnlab-switch.ch/ftp/mirror/debian/ unstable main non-free contrib 
deb-src http://sunsite.cnlab-switch.ch/ftp/mirror/debian/ unstable main non-free contrib 

deb http://security.debian.org/ stable/updates main contrib non-free
--

And I set APT::Default-Release in /etc/apt/apt.conf:

--
APT::Default-Release "testing";
--

apt-get update says:

--
frija:/var/spool/squid# apt-get update 
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://security.debian.org stable/updates/contrib Release
Hit http://security.debian.org stable/updates/non-free Packages
Hit http://security.debian.org stable/updates/non-free Release
Hit http://sunsite.cnlab-switch.ch testing/main Packages
Hit http://sunsite.cnlab-switch.ch testing/main Release
Hit http://sunsite.cnlab-switch.ch testing/non-free Packages
Hit http://sunsite.cnlab-switch.ch testing/non-free Release
Hit http://sunsite.cnlab-switch.ch testing/contrib Packages
Hit http://sunsite.cnlab-switch.ch testing/contrib Release
Hit http://sunsite.cnlab-switch.ch testing/main Sources
Hit http://sunsite.cnlab-switch.ch testing/main Release
Hit http://sunsite.cnlab-switch.ch testing/non-free Sources
Hit http://sunsite.cnlab-switch.ch testing/non-free Release
Hit http://sunsite.cnlab-switch.ch testing/contrib Sources
Hit http://sunsite.cnlab-switch.ch testing/contrib Release
Get:1 http://sunsite.cnlab-switch.ch unstable/main Packages [2303kB]
Get:2 http://sunsite.cnlab-switch.ch unstable/main Release [82B]
Get:3 http://sunsite.cnlab-switch.ch unstable/non-free Packages [73.1kB]                                            
Get:4 http://sunsite.cnlab-switch.ch unstable/non-free Release [86B]                                                
Get:5 http://sunsite.cnlab-switch.ch unstable/contrib Packages [75.7kB]                                             
Get:6 http://sunsite.cnlab-switch.ch unstable/contrib Release [85B]                                                 
Get:7 http://sunsite.cnlab-switch.ch unstable/main Sources [938kB]                                                  
Get:8 http://sunsite.cnlab-switch.ch unstable/main Release [84B]                                                    
Get:9 http://sunsite.cnlab-switch.ch unstable/non-free Sources [32.2kB]                                             
Get:10 http://sunsite.cnlab-switch.ch unstable/non-free Release [88B]                                               
Get:11 http://sunsite.cnlab-switch.ch unstable/contrib Sources [32.2kB]                                             
Get:12 http://sunsite.cnlab-switch.ch unstable/contrib Release [87B]                                                
Fetched 3455kB in 1m58s (29.2kB/s)                                                                                  
Reading Package Lists... Done
Building Dependency Tree... Done
frija:/var/spool/squid# 
--

apt-get upgrade says:

--
frija:/var/spool/squid# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back
  php4 php4-gd 
0 packages upgraded, 0 newly installed, 0 to remove and 2  not upgraded.
frija:/var/spool/squid# 
--

apt-get install php4 says:

--
frija:/var/spool/squid# apt-get install php4
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
  php4: Depends: libc6 (>= 2.3.1-1) but 2.2.5-14.3 is to be installed
E: Sorry, broken packages
frija:/var/spool/squid# 
-- 

I have the same effect on another machine where samba is installed with 
samba and samba-common.

I think what happend is that it wants to install unstable php4 for some 
reason.

I already asked on the debian-user list. George (in CC) tried to tune apt
with /etc/apt/preferences. Using -1 as pin-prio for unstable, but that
didn't help either.

Best,
	Hans

---------------------------------------
Received: (at 174378-done) by bugs.debian.org; 6 Jan 2003 01:08:30 +0000
>From jgg@debian.org Sun Jan 05 19:08:29 2003
Return-path: <jgg@debian.org>
Received: from shawidc-mo1.cg.shawcable.net (pd3mo2so.prod.shaw.ca) [24.71.223.10] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18VLkj-0000AV-00; Sun, 05 Jan 2003 19:08:29 -0600
Received: from pd4mr3so.prod.shaw.ca
 (pd4mr3so-qfe3.prod.shaw.ca [10.0.141.214]) by l-daemon
 (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0H890052SPU4A3@l-daemon> for 174378-done@bugs.debian.org; Sun,
 05 Jan 2003 18:08:28 -0700 (MST)
Received: from pn2ml4so.prod.shaw.ca
 (pn2ml4so-qfe0.prod.shaw.ca [10.0.121.148]) by l-daemon
 (iPlanet Messaging Server 5.1 HotFix 0.6 (built Apr 26 2002))
 with ESMTP id <0H8900JNLPU5IG@l-daemon> for 174378-done@bugs.debian.org; Sun,
 05 Jan 2003 18:08:29 -0700 (MST)
Received: from wakko.debian.net ([24.86.195.248])
 by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0H8900KXDPU46H@l-daemon> for 174378-done@bugs.debian.org; Sun,
 05 Jan 2003 18:08:28 -0700 (MST)
Received: from localhost	([127.0.0.1] helo=wakko.debian.net ident=jgg)
	by wakko.debian.net with smtp (Exim 3.35 #1 (Debian))
	id 18VLki-0002vY-00; Sun, 05 Jan 2003 18:08:28 -0700
Date: Sun, 05 Jan 2003 18:08:28 -0700 (MST)
From: Jason Gunthorpe <jgg@debian.org>
Subject: Re: Bug#174378: apt: Same problem with pinning versions in apt.conf
In-reply-to: <E18SwxJ-0002PJ-00@engels.commie>
X-Sender: jgg@wakko.debian.net
To: "Jim W. Jaszewski" <grok@sprint.ca>,
 Debian Bug Tracking System <174378-done@bugs.debian.org>,
 Hans Fuchs <hans@enova.ch>
Cc: APT Development Team <deity@lists.debian.org>
Message-id: <[🔎] Pine.LNX.3.96.1030105180434.513e-100000@wakko.debian.net>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
Delivered-To: 174378-done@bugs.debian.org
X-Spam-Status: No, hits=-8.6 required=5.0
	tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
	      SPAM_PHRASE_03_05,USER_AGENT_PINE
	version=2.41
X-Spam-Level: 


On Mon, 30 Dec 2002, Jim W. Jaszewski wrote:

> I'd like to add that I too have this problem.
> 
> Seems to me it's what brought my previous pinning attempts to a
> screeching halt quite a while ago, too.
> >:/

It's a feature with alot of subtle side effects designed to accomidate the
way most people use debian. If you want something different you really do
have to spend more time editing the preferences file.

Primarly, I suspect that each of you installed a newer version of
php4/samba/whatever that what is in testing, APT naturally tries to follow
this and continues to use the non-testing version. 

You can check this yourself by using the apt-cache policy function. 
'apt-cache policy' will help you verify that your sources have the right
priorities and 'apt-cache policy php4' will help you understand why a
particular version has been selected over another (hint: Essentially the
one with the highest listed source priority starting from the line with
the ***'s and going up in the list.)

It isn't a bug unless the apt-cache policy output shows behavior that is
inconsistant with the documentation, and I wager strongly that it does
not in either of your cases..

Jason



Reply to: