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

Bug#203816: marked as done (/usr/bin/apt-get: maybe return warning if no sources for -t)



Your message dated Fri, 14 Aug 2015 00:30:25 +0200
with message-id <20150814002924.GA17756@debian.org>
and subject line Re: Bug#137433: apt: -t option fails to give warning when ignoring you
has caused the Debian Bug report #137433,
regarding /usr/bin/apt-get: maybe return warning if no sources for -t
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.)


-- 
137433: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=137433
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.5.8
Severity: minor
File: /usr/bin/apt-get

maybe at least warn if -t can't find any lists for the version the
user gave

!From: Ron Johnson <ron.l.johnson@cox.net>
!Subject: Re: packages removed by Release Manager just reveal older versions
!Resent-From: debian-user@lists.debian.org
!
!On Wed, 2003-07-30 at 01:34, Dan Jacobson wrote:
!> > Keeping the /etc/apt/sources.list in a reasonable state is something
!> > that Debian can't help the admin with.
!> 
!> [Rural modem users have lots of CDs.]
!> 
!> Ron> Why not use "-t"?  I have a "mostly sarge" system with some sid.
!> Ron> The "-t" makes it very easy to do this:
!> Ron> # apt-get -t testing upgrade
!> Ron> # apt-get -t unstable install evolution mozilla-browser mozilla-psm
!> 
!> when I do apt-get dist-upgrade or upgrade, I always see the same
!> results, "-t testing" or not.  Perhaps because all I have is sid stuff
!> in /etc/apt/sources.list. Perhaps a bug.
!
!Hmmm, unless I'm reading you wrong:
!Since all you have in sources.list is sid, shouldn't you expect "-t
!testing" to have no effect?
!
!Of course, I did not know that you only have sid in your sources.list...



--- End Message ---
--- Begin Message ---
Version: 0.8.15.3

On Fri, Mar 08, 2002 at 08:57:07PM -0700, Daniel Webb wrote:
> Package: apt
> Version: 0.5.4
> Severity: normal
> 
> Shouldn't apt-get give a warning when it ignores you?  An example I just tried:
> 
> >apt-get install -t unstable ssh
> 
> (because a new exploit was just discovered in OpenSSH).  
> apt-get happily grabs a package and upgrades, without warning me that in fact I
> have forgotten to uncomment the unstable line in sources.list.  It uses the
> testing version, even though I asked specifically for unstable.  I only discovered
> this by using dpkg --status to compare the version installed with the desired
> unstable version.

That was fixed some time ago for APT::Default-Release and -t, so I am
closing this now. It still does not warn you about non-matching preferences
files, but that is now a bit out of scope of this bug report.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Be friendly, do not top-post, and follow RFC 1855 "Netiquette".
    - If you don't I might ignore you.

--- End Message ---

Reply to: