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

Bug#315872: marked as done (Reason for requiring --force-yes is sometimes non-obvious)



Your message dated Sat, 28 Nov 2015 14:08:12 +0100
with message-id <20151128140345.GA10954@debian.org>
and subject line Re: Bug#315872: apt-get -y install fails for no reason
has caused the Debian Bug report #315872,
regarding Reason for requiring --force-yes is sometimes non-obvious
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.)


-- 
315872: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=315872
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.6.25
Severity: normal

Hello, here is a snapshot of conversation with apt-get. fuse-source is
currently installed in an old version (from Sarge) and I want to have
that upgraded automaticaly. But the -y option used with the install
command fails!

> root < @debian:/root$ m-a a-i fuse -vt
MA_SOURCE_PKG=fuse-source /usr/share/modass/packages/default.sh download
 apt-get -y install fuse-source
Reading Package Lists... Done
Building Dependency Tree... Done
The following held packages will be changed:
  fuse-source
The following packages will be upgraded:
  fuse-source
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 83.7kB of archives.
After unpacking 4096B of additional disk space will be used.
E: There are problems and -y was used without --force-yes
Installation of the fuse-source source failed.
Ignoring this package. Maybe you need to add something to sources.list, 
maybe the contrib and non-free archives.

Updating info about fuse

Updated infos about 1 packages
> root < @debian:/root$ apt-get -y install fuse-source
Reading Package Lists... Done
Building Dependency Tree... Done
The following held packages will be changed:
  fuse-source
The following packages will be upgraded:
  fuse-source
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 83.7kB of archives.
After unpacking 4096B of additional disk space will be used.
E: There are problems and -y was used without --force-yes
> root < @debian:/root$ apt-get install fuse-source
Reading Package Lists... Done
Building Dependency Tree... Done
The following held packages will be changed:
  fuse-source
The following packages will be upgraded:
  fuse-source
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 83.7kB of archives.
After unpacking 4096B of additional disk space will be used.
Do you want to continue? [Y/n] 

The logical question is... WTF?

> root < @debian:/root$ apt-get -o debug::pkgproblemresolver=true -y install fuse-source
Reading Package Lists... Done
Building Dependency Tree... Done
Starting
Starting 2
Done
The following held packages will be changed:
  fuse-source
The following packages will be upgraded:
  fuse-source
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/83.7kB of archives.
After unpacking 4096B of additional disk space will be used.
E: There are problems and -y was used without --force-yes

So which problems? Tell me!

Next thing I did: enabled experimental sources again and tried with the experimental version 0.6.36. Same problem.

Eduard.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Default-Release "unstable";
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:: "if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || 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";
Acquire "";
Acquire::http "";
Acquire::http::Pipeline-Depth "0";

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


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


#deb http://131.246.178.3/apt-cacher/ftp.uni-kl.de/debian unstable main non-free contrib
deb http://mirror/apt-cacher?/ftp.uni-kl.de/debian stable main non-free contrib
deb http://mirror/apt-cacher?/ftp.uni-kl.de/debian testing main non-free contrib
#deb http://ha/apt-cacher/ftp.uni-kl.de/debian unstable main non-free contrib
deb http://mirror/apt-cacher?/ftp.uni-kl.de/debian unstable main non-free contrib
#deb http://ftp.uni-kl.de/debian unstable main non-free contrib
#deb http://hc/apt-cacher/ftp.uni-kl.de/debian unstable main non-free contrib
#deb http://hd/apt-cacher/ftp.uni-kl.de/debian unstable main non-free contrib
#
deb-src http://mirror/apt-cacher?/ftp.uni-kl.de/debian unstable main non-free contrib

#deb http://ftp.uni-kl.de/pub/linux/debian unstable main non-free contrib
#deb-src http://ftp.uni-kl.de/pub/linux/debian unstable main non-free contrib


#deb http://ftp2.de.debian.org/debian unstable main non-free contrib
#deb http://ftp.uni-kl.de/pub/linux/debian stable main non-free contrib

#deb http://localhost/apt-cacher?/ftp.uni-kl.de/debian unstable main non-free contrib
#deb-src http://localhost/apt-cacher?/ftp.uni-kl.de/debian unstable main non-free contrib
#deb http://localhost/apt-cacher/ftp.uni-kl.de/debian testme main non-free contrib

#deb http://131.246.178.3/apt-cacher/ftp.uni-kl.de/pub/linux/debian testing main non-free contrib

#deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free

deb http://mirror/apt-cacher?/security.debian.org/ stable/updates main contrib non-free

####deb ftp://ftp.nerim.net/debian-marillat/ unstable main
####deb-src ftp://ftp.nerim.net/debian-marillat/ unstable main
deb http://mirror/apt-cacher?/debian.tu-bs.de/mplayer/ftp.nerim.net/debian-marillat/ unstable main
deb-src http://mirror/apt-cacher?/debian.tu-bs.de/mplayer/ftp.nerim.net/debian-marillat/ unstable main

#deb http://mirror/apt-cacher?/ftp.uni-kl.de/pub/linux/debian ../project/experimental main
#deb-src http://mirror/apt-cacher?/ftp.uni-kl.de/pub/linux/debian ../project/experimental main
#deb http://131.246.178.3/apt-cacher/ftp.uni-kl.de/pub/linux/debian ../project/experimental main
#deb-src http://131.246.178.3/apt-cacher/ftp.uni-kl.de/pub/linux/debian ../project/experimental main
#deb http://ftp.nerim.net/debian-marillat/ unstable main
#deb-src http://ftp.nerim.net/debian-marillat/ unstable main

#deb http://hinterhof.net/~max/debian ./
#deb-src http://hinterhof.net/~max/debian ./
#
##deb http://people.debian.org/~blade/testing/ ./
#
#
##deb http://kofeina.net/eloy/debian/ ./
##deb-src http://kofeina.net/eloy/debian/ ./
#
##deb http://www.meebey.net/debian/monodevelop ./
##deb http://www.meebey.net/debian/monodoc ./
##deb http://www.meebey.net/debian/gtksourceview-sharp ./
##deb http://www.meebey.net/debian/mono ./
##deb http://www.meebey.net/debian/mcs ./
##deb-src http://www.meebey.net/debian/mono ./
##deb-src http://www.meebey.net/debian/mcs ./
#
#
##deb http://mentors.debian.net/debian unstable main
#
##deb http://debian.waldi.eu.org/svk ./
#
#deb file:///home/inet/beta3 ./
#deb http://pkg-mono.alioth.debian.org/beta3 ./
#
#deb http://people.debian.org/~nobse/vim/ ./
#
##deb http://www.kalyxo.org/debian experimental main
#
#deb http://ietpd1.sowi.uni-mainz.de/debian/unofficial/ ./
#deb-src http://ietpd1.sowi.uni-mainz.de/debian/unofficial/ ./
##
##
##deb http://pkg-mono.alioth.debian.org/current ./

#deb http://www.kalyxo.org/debian/ experimental main



#deb http://archive.ubuntu.com/ubuntu hoary universe
#deb-src http://archive.ubuntu.com/ubuntu hoary universe

#deb http://security.ubuntu.com/ubuntu hoary-security main restricted
#deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted


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


#deb-src http://mentors.debian.net/debian unstable main

#deb http://people.debian.org/~nobse/debian/ unstable/unofficial mutt-ng
#deb-src http://people.debian.org/~nobse/debian/ unstable/unofficial mutt-ng

#apt-get install -t hoary x-window-system-core
#deb http://archive.ubuntu.com/ubuntu/ hoary main

#deb http://www.fbriere.net/debian/dists/testing vmware/
#

#quakeforge
#deb http://www.quakeforge.net/packages/debian unstable contrib non-free


#deb http://ftp.sernet.de/pub/samba/ debian/

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages apt depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgcc1                     1:4.0.0-11   GCC support library
ii  libstdc++5                  1:3.3.6-7    The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 1.1~exp9

On Sun, Jun 26, 2005 at 06:04:30PM +0200, Eduard Bloch wrote:
> Package: apt
> Version: 0.6.25
> Severity: normal
> 
> Hello, here is a snapshot of conversation with apt-get. fuse-source is
> currently installed in an old version (from Sarge) and I want to have
> that upgraded automaticaly. But the -y option used with the install
> command fails!
> 
> > root < @debian:/root$ m-a a-i fuse -vt
> MA_SOURCE_PKG=fuse-source /usr/share/modass/packages/default.sh download
>  apt-get -y install fuse-source
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following held packages will be changed:
>   fuse-source
> The following packages will be upgraded:
>   fuse-source
> 1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
> Need to get 83.7kB of archives.
> After unpacking 4096B of additional disk space will be used.
> E: There are problems and -y was used without --force-yes
> Installation of the fuse-source source failed.
> Ignoring this package. Maybe you need to add something to sources.list, 
> maybe the contrib and non-free archives.
> 
> Updating info about fuse
> 
> Updated infos about 1 packages
> > root < @debian:/root$ apt-get -y install fuse-source
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following held packages will be changed:
>   fuse-source
> The following packages will be upgraded:
>   fuse-source
> 1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
> Need to get 83.7kB of archives.
> After unpacking 4096B of additional disk space will be used.
> E: There are problems and -y was used without --force-yes
> > root < @debian:/root$ apt-get install fuse-source
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following held packages will be changed:
>   fuse-source
> The following packages will be upgraded:
>   fuse-source
> 1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
> Need to get 83.7kB of archives.
> After unpacking 4096B of additional disk space will be used.
> Do you want to continue? [Y/n] 
> 
> The logical question is... WTF?
> 
> > root < @debian:/root$ apt-get -o debug::pkgproblemresolver=true -y install fuse-source
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Starting
> Starting 2
> Done
> The following held packages will be changed:
>   fuse-source
> The following packages will be upgraded:
>   fuse-source
> 1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
> Need to get 0B/83.7kB of archives.
> After unpacking 4096B of additional disk space will be used.
> E: There are problems and -y was used without --force-yes
> 
> So which problems? Tell me!
> 

This bug has seen no activity since 10 years, and with APT
1.1, we actually replaced --force-yes by options that tell
you more about the nature of the problem:

	--allow-downgrades
	--allow-remove-essential
	--allow-change-held-packages

I am thus closing it.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

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

When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to (`inline'). Thank you.

--- End Message ---

Reply to: