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

Bug#706359: apt-get download --no-act does not honor --no-act



Package: apt
Version: 0.9.7.8
Severity: normal

Dear Maintainer,

The command 'apt-get download --no-act gcc' does honor the '--no-act'
option.

Consider the following typescript,

    $ ls *.deb
    ls: cannot access *.deb: No such file or directory

    $ apt-get download --no-act gcc
    Get:1 Downloading gcc 4:4.7.2-1 [5,064 B]
    Fetched 5,064 B in 0s (108 kB/s)

    $ ls *.deb
    gcc_4.7.2-1_amd64.deb

I get the same results when run from a root (uid=0) terminal, also same
results when run as 'apt-get --no-act download gcc'.

Thanks,

Jeffrey Sheinberg

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "false";
APT::Install-Suggests "false";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^linux-ubuntu-modules-.*";
APT::NeverAutoRemove:: "^gnumach$";
APT::NeverAutoRemove:: "^gnumach-image.*";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Never-MarkAuto-Sections:: "oldlibs";
APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
APT::Never-MarkAuto-Sections:: "universe/oldlibs";
APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
APT::Update "";
APT::Update::Post-Invoke-Success "";
APT::Update::Post-Invoke-Success:: "test -x /usr/bin/apt-show-versions || exit 0 ; apt-show-versions -i";
APT::Clean-Installed "off";
APT::Get "";
APT::Get::Show-Upgraded "true";
APT::Get::List-Cleanup "false";
APT::Default-Release "";
APT::Cache-Limit "45000000";
APT::Periodic "";
APT::Periodic::Enable "0";
APT::Periodic::BackupArchiveInterval "0";
APT::Periodic::BackupLevel "0";
APT::Periodic::MaxAge "0";
APT::Periodic::MinAge "0";
APT::Periodic::MaxSize "0";
APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::Download-Upgradeable-Packages-Debdelta "0";
APT::Periodic::Unattended-Upgrade "0";
APT::Periodic::AutocleanInterval "0";
APT::Periodic::Verbose "1";
APT::Architectures "";
APT::Architectures:: "amd64";
APT::Compressor "";
APT::Compressor::. "";
APT::Compressor::.::Name ".";
APT::Compressor::.::Extension "";
APT::Compressor::.::Binary "";
APT::Compressor::.::Cost "1";
APT::Compressor::gzip "";
APT::Compressor::gzip::Name "gzip";
APT::Compressor::gzip::Extension ".gz";
APT::Compressor::gzip::Binary "gzip";
APT::Compressor::gzip::Cost "2";
APT::Compressor::gzip::CompressArg "";
APT::Compressor::gzip::CompressArg:: "-9n";
APT::Compressor::gzip::UncompressArg "";
APT::Compressor::gzip::UncompressArg:: "-d";
APT::Compressor::bzip2 "";
APT::Compressor::bzip2::Name "bzip2";
APT::Compressor::bzip2::Extension ".bz2";
APT::Compressor::bzip2::Binary "bzip2";
APT::Compressor::bzip2::Cost "3";
APT::Compressor::bzip2::CompressArg "";
APT::Compressor::bzip2::CompressArg:: "-9";
APT::Compressor::bzip2::UncompressArg "";
APT::Compressor::bzip2::UncompressArg:: "-d";
APT::Compressor::xz "";
APT::Compressor::xz::Name "xz";
APT::Compressor::xz::Extension ".xz";
APT::Compressor::xz::Binary "xz";
APT::Compressor::xz::Cost "4";
APT::Compressor::xz::CompressArg "";
APT::Compressor::xz::CompressArg:: "-6";
APT::Compressor::xz::UncompressArg "";
APT::Compressor::xz::UncompressArg:: "-d";
APT::Compressor::lzma "";
APT::Compressor::lzma::Name "lzma";
APT::Compressor::lzma::Extension ".lzma";
APT::Compressor::lzma::Binary "xz";
APT::Compressor::lzma::Cost "5";
APT::Compressor::lzma::CompressArg "";
APT::Compressor::lzma::CompressArg:: "--format=lzma";
APT::Compressor::lzma::CompressArg:: "-9";
APT::Compressor::lzma::UncompressArg "";
APT::Compressor::lzma::UncompressArg:: "--format=lzma";
APT::Compressor::lzma::UncompressArg:: "-d";
APT::Compressor::::Name "";
APT::Compressor::::Extension ".";
APT::Compressor::::Binary "";
APT::Compressor::::Cost "100";
APT::Compressor::::CompressArg "";
APT::Compressor::::CompressArg:: "-9";
APT::Compressor::::UncompressArg "";
APT::Compressor::::UncompressArg:: "-d";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
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::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";
Dir::Etc::trustedparts "trusted.gpg.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::solvers "";
Dir::Bin::solvers:: "/usr/lib/apt/solvers";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Bin::bzip2 "/bin/bzip2";
Dir::Bin::xz "/usr/bin/xz";
Dir::Media "";
Dir::Media::MountPath "/media/cdrom";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
Dir::Ignore-Files-Silently:: "\.save$";
Dir::Ignore-Files-Silently:: "\.orig$";
Acquire "";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom";
Acquire::Languages "";
Acquire::Languages:: "en";
Acquire::Languages:: "none";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt --headers || 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";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "dtag=/etc/cron.daily/debtags; if test -x ${dtag}; then ${dtag}; fi; true";
DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | egrep -c '(remove|purge)') != 1 ]; then /usr/sbin/localepurge; else exit 0; fi";
DPkg::Post-Invoke:: "dloc=/etc/cron.daily/dlocate; if test -x ${dloc}; then ${dloc}; fi; true";
DSelect "";
DSelect::Clean "auto";
CommandLine "";
CommandLine::AsString "apt-config dump";

-- /etc/apt/preferences --

# /etc/apt/preferences - see apt_preferences(5) for details.
#
# The following priorities apply to the target release, ie, the
# "Default-Release", as specified in "/etc/apt/apt.conf",
#
#    100 : the installed version, if any
#    500 : versions not installed that do not belong to the target release
#    990 : versions not installed that belong to the target release
#
# If the target release has not been specified then APT simply assigns priority
# 100 to all installed package versions and priority 500 to all uninstalled
# package versions.
#
# Priority key table, (subject to APT's rules),
#
#	P >  1000 : install this version, even if it is a downgrade.
# 990 < P <= 1000 : install this version, even if it does not come from the
#		    target-release, unless the installed version is newer.
# 500 < P <=  990 : install this version, unless (there is a version available
#		    that comes from the target-release, or the installed
#		    version is newer).
# 100 < P <=  500 : install this version, unless (there is a version available
#		    from some other distro, or the installed version is newer).
#   0 < P <=  100 : install this version, only if the package is not installed.
#	P <     0 : prevents this version from being installed.
#
#
# For distro=squeeze as stable.
Package: *
Pin: release a=stable v=6.0*
Pin-Priority: 410
#
# For distro=wheezy as testing.
Package: *
Pin: release a=testing
Pin-Priority: 400
#
# For distro=sid as unstable.
Package: *
Pin: release a=unstable
Pin-Priority: 300
#
# For distro=experimental, allow upgrades to these manually installed packages.
Package: iceweasel
Pin: release a=experimental
Pin-Priority: 800
Package: icedove
Pin: release a=experimental
Pin-Priority: 800

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

# /etc/apt/source.list - list of package sources for apt.
#
# See sources.list(5) for more information, especially
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool, though this may now be okay,
#       deb file:///cdrom/ sarge main
# Files are fetched in the order that the URIs are specified, top to bottom.
#
# ----------------------------------------------------------------------
# -- Edited in place by "apt-cdrom add" - do not edit by hand!
# --

# --
# -- Edited in place by "apt-cdrom add" - end of section.

# ----------------------------------------------------------------------
# ==== Built by "apt_gen_asl" shell function ====
#
#   distro-code      = wheezy+experimental
#
#   stable           = wheezy
#   testing          = no
#   unstable         = no
#   oldstable        = no
#   experimental     = yes
#   foreign          = yes
#   backports        = yes
#   src              = no
#
# ==== Distro Overview ====
#
#   stable                	= wheezy
#   #stable-src            	= wheezy
#
#   #testing               	= jessie
#   #testing-src           	= jessie
#
#   #unstable              	= sid
#   #unstable-src          	= sid
#
#   #oldstable             	= squeeze
#   #oldstable-src         	= squeeze
#
#   experimental          	= experimental
#   #experimental-src      	= experimental
#
#   foreign               	= yes
#   #foreign-src           	= yes

# ----------------------------------------------------------------------
# ==== Local Repositories ====

# Kernel images.
#deb        file:/home/jsroot/kernel-compile/       ./

# Packages - built from *-src, or removed, or repacked.
deb        file:/home/jeff/debian/wheezy/	pkgs-wheezy/
#deb        file:/home/jeff/debian/testing/	pkgs-testing/
#deb        file:/home/jeff/debian/oldstable/	pkgs-oldstable/

# ----------------------------------------------------------------------
# ==== Official and Un-Official Debian Repositories ====
# ----------------------------------------------------------------------

# ----------------------------------------------------------------------
# The _current_ "stable" release distro.
#
deb     http://ftp.us.debian.org/debian/ wheezy main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free

# Security updates for "stable".
deb     http://security.debian.org/debian-security/ wheezy/updates main contrib non-free

# Get a head start on the latest updates for "stable".
deb     http://http.us.debian.org/debian/ wheezy-updates main contrib non-free
deb     http://http.us.debian.org/debian/ wheezy-proposed-updates main contrib non-free

# Backports for "stable".
deb     http://ftp.us.debian.org/debian/ wheezy-backports main contrib non-free
##deb     http://mozilla.debian.net/ wheezy-backports icedove-esr
##deb     http://mozilla.debian.net/ wheezy-backports iceweasel-release

# ----------------------------------------------------------------------
# The _next_ "testing" release distro.
#
#deb     http://ftp.us.debian.org/debian/ testing main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ testing main contrib non-free

# Security updates for "testing".
#deb     http://security.debian.org/debian-security/ testing/updates main contrib non-free

# Get a head start on the latest updates for "testing".
#deb     http://http.us.debian.org/debian/ testing-updates main contrib non-free
#deb     http://http.us.debian.org/debian/ testing-proposed-updates main contrib non-free

# Backports for "testing".
#deb     http://ftp.us.debian.org/debian/ testing-backports main contrib non-free

# ----------------------------------------------------------------------
# The _permanent_ "unstable" release distro.
#
#deb     http://ftp.us.debian.org/debian/ unstable main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ unstable main contrib non-free

# ----------------------------------------------------------------------
# The _previous_ "oldstable" release distro.
#
#deb     http://ftp.us.debian.org/debian/ oldstable main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ oldstable main contrib non-free

# Security updates for "oldstable".
#deb     http://security.debian.org/debian-security/ oldstable/updates main contrib non-free

# Get a head start on the latest updates for "oldstable".
#deb     http://http.us.debian.org/debian/ oldstable-updates main contrib non-free
#deb     http://http.us.debian.org/debian/ oldstable-proposed-updates main contrib non-free

# Backports for "oldstable".
#deb     http://backports.debian.org/debian-backports/ oldstable-backports main contrib non-free
#deb     http://mozilla.debian.net/ oldstable-backports icedove-esr
#deb     http://mozilla.debian.net/ oldstable-backports iceweasel-release

# ----------------------------------------------------------------------
# Various "foreign" repositories, supposedly compatible with "stable".
#
# The opera browser, note the repository is "stable", it comes in 2 flavors -
# {final,beta}.  The final package is named "opera", the beta is named
# "opera-next".
# 
# Refer to http://deb.opera.com/ for details.
deb     http://deb.opera.com/opera/       stable non-free
deb     http://deb.opera.com/opera-beta/  stable non-free

# The google-chrome-browser, note the repository is "stable", it comes in 3
# flavors, which are named "google-chrome-{stable,beta,unstable}".
deb     http://dl.google.com/linux/chrome/deb/ stable main
#
# I got this repo url from - grep REPOCONFIG $ecd/google-chrome.
# The apt archive key was installed like this,
#   wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- \
#   | apt-key add -
# To deactivate google auto update, first run ": >/etc/default/google-chrome".

# ----------------------------------------------------------------------
# The "experimental" release distro, relative to "testing" and "unstable".
# It has the "no-auto-install" attribute just like "backports".
# It does _not_ have the "auto-update" attribute like "backports".
#
deb     http://ftp.us.debian.org/debian/ experimental main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ experimental main contrib non-free

# ----------------------------------------------------------------------
# ==== Other possible mirrors, these are known to be good... ====
#
# Instead of "ftp.us.debian.org" use "http.us.debian.org" for parallel d/l's.

# ----------------------------------------------------------------------
# Note - The URI is used to locate the package index file, ie, "Packages"
#        for type "deb", and "Sources" for type "deb-src", while the
#        "Filename" reference within the "Packages" file is relative to
#        the URI.
#
#        In the following examples "distro" stands for, eg, "stable",
#        "testing", "sid", etc.
#
#	 To list all of the current "distro"s,
#		$ vurl ftp://ftp.us.debian.org/debian/dists/
#
#deb    file:/home/jeff/debian/distro/          pkgs-distro/
# is ".../home/jeff/debian/distro/pkgs-distro/Packages", while the "Filename"
# reference in ".../Packages" is relative to ".../home/jeff/debian/distro/".
#
#deb    http://security.debian.org/debian-security/     distro/updates main
# is "...org/debian-security/dists/distro/updates/main/binary-$(ARCH)/Packages",
# while the "Filename" reference in ".../Packages" is relative to
# "...org/debian-security/".
#
#deb-src http://ftp.us.debian.org/debian/       distro main contrib non-free
# is "...org/debian/dists/distro/{main,contrib,non-free}/source/Sources".
#
#deb    file:/cdrom/debian/                     distro main
# is ".../cdrom/debian/dists/distro/main/binary-$(ARCH)/Packages".

# ----------------------------------------------------------------------
# Old stanzas.
#

# ----------------------------------------------------------------------

# vim: set noexpandtab :

# /etc/apt/sources.list - end of file.

-- System Information:
Debian Release: 7.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing-proposed-updates'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 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  debian-archive-keyring  2012.4
ii  gnupg                   1.4.12-7
ii  libapt-pkg4.12          0.9.7.8
ii  libc6                   2.13-38
ii  libgcc1                 1:4.7.2-5
ii  libstdc++6              4.7.2-5

apt recommends no packages.

Versions of packages apt suggests:
ii  apt-doc     0.9.7.8
ii  aptitude    0.6.8.2-1
ii  dpkg-dev    1.16.10
ii  python-apt  0.8.8.2
ii  xz-utils    5.1.1alpha+20120614-2

-- no debconf information


Reply to: