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

Bug#259382: [bug:wish] apt-get upgrade -V -sortby="section"



Package: apt
Version: 0.5.26
Severity: wishlist

Is it possible that you implement a command option for sorting packages
to upgrade by the way user wants. For now, always that we run
$ apt-get upgrade

we receive a list of packages that will be upgraded sorted
alphabetiocally.

But why not sorting by other ways?
For example:

	- sorting by section (user see what packages are in each
	  section. It's useful when a user only wants to upgrade the
	  packages from a specific section)
	
	- sorting by source location (all packages from
	  ftp://us.debian.org, all from non-us.debian.org, all from
	  testing.myhomepage.com, ...). Useful if we only want to
	  upgrade (manually) the packages from specific source
	
	- sorting by importance of changelog (perhaps we want to upgrade
	  only the packages that were change their code because critical
	  bug, or only minor bug, ...)
	
	- sorting by inverse-alphabetically order (why not?)


I think that it was a great thing to have it (overall to desktop user as
me).

Thanks in advance,
Xan.

-- 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:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "debsums --generate=nocheck -sp /var/cache/apt/archives";

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


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

# * Oficials
# ** CD-ROM
# *** CD-ROM Num 1. Debian 3.0 r1
# deb cdrom:[Debian GNU/Linux 3.0 r1 _Woody_ - Official i386 Binary-1 (20021218)]/ unstable contrib main non-US/contrib non-US/main

# ** Actualitzacions de seguretat
deb http://security.debian.org/ stable/updates main contrib non-free

# ** Paquets US de Debian
# *** Servidor d'EUA
deb ftp://ftp.debian.org/debian unstable main contrib non-free
#deb-src ftp://ftp.debian.org/debian unstable main contrib non-free

# ** Paquets non-US de Debian
# *** Servidor d'EUA
deb ftp://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
#deb-src ftp://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free

# *** Servidor australià
#deb http://ftp.au.debian.org/debian-non-US unstable/non-US main contrib non-free
#deb-src http://ftp.au.debian.org/debian-non-US unstable/non-US main contrib non-free

# * Semi-oficials

# * Per a DRI
#deb http://people.debian.org/~daenzer/dri-trunk-unstable/ ./
#deb-src http://people.debian.org/~daenzer/dri-trunk-unstable/ ./

# * Oficiosos
# ** XFree 4.3
# deb http://penguinppc.org/~daniels/sid/i386/ ./ ## Ubicació alternativa de les Xfree 4.3 de Daniel Stone.
# deb ftp://ftp.skolelinux.no/debian-unofficial/x4.3/sid/i386/ ./ #D'on vaig instal·lar les X 4.3

# ** LDAP
# *** LAM.sf.net
#deb http://mentors.debian.net/debian unstable main contrib non-free
#deb-src http://mentors.debian.net/debian unstable main contrib non-free

# ** iRate.(sf.net)
deb http://members.westnet.com.au/takahe/debian sarge main

# ** giftui.tuxfamily.org/ --> Per a gift-fasttrack.
#    El targz del lloc oficial: berlios.de/gift-fasttrack no compila bé.
#deb http://twolife.free.fr/debian/ unstable main non-free
#deb-src http://twolife.free.fr/debian/ unstable main non-free

# ** Per l'amule.sf.net
#deb http://gunnm.org/~soda/ unstable main contrib
#deb-src http://gunnm.org/~soda/ unstable main contrib

# ** Pel lilypond
#deb http://www.pedrokroeger.net/lilypond/ ./
#deb-src http://www.pedrokroeger.net/lilypond/ ./

# ** Per al torcs
#deb http://unc.dl.sourceforge.net/sourceforge/torcs// ./

# ** Per a touxdoux
#deb http://www.gnu.org/software/toutdoux/debian/ ./

# ** Per a GMencoder
#deb http://tutuxclan.free.fr/debs ./

# Per a SELinux.sf.net
#deb http://www.coker.com.au/selinux/ ./

# ** Pel monkeybubble.sf.net
deb http://home.gna.org/monkeybubble/debian ./

# ** Per el kahakai.sf.nt
deb http://home.arcor.de/flightbase/ ./

# *********** Versió experimental ********* #
# Versió _experimental_ de l'apartat main dels paquets.
# 2003-09-29: Per a que se me solucioni el problema amb l'Xfree 4.3: migrar de xfree4.3 de Daniel Stone --> xfree 4.3pre1v3 de la versió experimental.

deb ftp://ftp.debian.org/debian/ ../project/experimental main contrib non-free
#deb-src ftp://ftp.debian.org/debian/ ../project/experimental main contrib non-free
# 2004-2-19: Una vegada que xfree86 3.0 ha estat a Sid, no cal tenir-lo.

# ************ Testing per a poder downgrade-dear *************** #
deb ftp://ftp.debian.org/debian testing main contrib non-free
#deb-src ftp://ftp.debian.org/debian testing main contrib non-free
deb ftp://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
#deb-src ftp://non-us.debian.org/debian-non-US testing/non-US main contrib non-free

# ************ Stable per a poder downgrade-dear **************** #
deb ftp://ftp.debian.org/debian stable main contrib non-free
deb ftp://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: LANG=ca_ES@euro, LC_CTYPE=ca_ES@euro (ignored: LC_ALL set to ca_ES)

Versions of packages apt depends on:
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.3.4-3    GCC support library
ii  libstdc++5                  1:3.3.4-3    The GNU Standard C++ Library v3

-- no debconf information



Reply to: