Bug#442007: /usr/bin/apt-get: wrong command suggestion 'dpkg --configure -a'

2007-09-12 Thread Vitalie Lazu
Subject: /usr/bin/apt-get: wrong command suggestion 'dpkg --configure -a'
Package: apt
Version: 0.7.6
Severity: important
File: /usr/bin/apt-get

*** Please type your report below this line ***

I tried to upgrade my system today under KDE, it upgrade some pam module and it 
asked me to
restart services that depends of that module, including kdm, after i clicked 
OK, it restarted
kdm, but this also killed all children procs and apt-get upgrade too.

when i try to run apt-get upgrade once again it gives me this error:
$ sudo apt-get upgrade
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct 
the problem.
$

running specified command i get another error:

$ sudo dpkg --confugure -a
dpkg: unknown option --confugure

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
$

-- Package-specific info:

-- apt-config dump --

APT ;
APT::Architecture i386;
APT::Build-Essential ;
APT::Build-Essential:: build-essential;
APT::Install-Recommends 0;
APT::Install-Suggests 0;
APT::NeverAutoRemove ;
APT::NeverAutoRemove:: ^linux-image.*;
APT::NeverAutoRemove:: ^linux-restricted-modules.*;
APT::Acquire ;
APT::Acquire::Translation environment;
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::sourceparts sources.list.d;
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:: which dzhandle /dev/null  dzhandle 
restart-pending-instances || true;

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


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

deb http://ftp.us.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.us.debian.org/debian/ testing main non-free contrib

#deb http://ftp.de.debian.org/debian/ stable main non-free contrib
#deb-src http://ftp.de.debian.org/debian/ stable main non-free contrib

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.1lz
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring2007.07.31 GnuPG archive keys of the Debian a
ii  libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii  libgcc1   1:4.2.1-4  GCC support library
ii  libstdc++64.2.1-4The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information

-- 
Best regards,
Vitalie



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#442007: /usr/bin/apt-get: wrong command suggestion 'dpkg --configure -a'

2007-09-12 Thread Antti-Juhani Kaijanaho
On Wed, Sep 12, 2007 at 05:41:54PM +0300, Vitalie Lazu wrote:
 $ sudo apt-get upgrade
 E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to 
 correct the problem.
 $
 
 running specified command i get another error:
 
 $ sudo dpkg --confugure -a

You might want to try to actually run the specified command instead of
typoing it :)

-- 
Antti-Juhani Kaijanaho, Jyväskylä
http://antti-juhani.kaijanaho.fi/newblog/
http://www.flickr.com/photos/antti-juhani/




Bug#442007: /usr/bin/apt-get: wrong command suggestion 'dpkg --configure -a'

2007-09-12 Thread Vitalie Lazu
Hi,

Oh sorry, i too tired for today. I thought I used copypaste for command.

On Wednesday 12 September 2007, Antti-Juhani Kaijanaho wrote:
 On Wed, Sep 12, 2007 at 05:41:54PM +0300, Vitalie Lazu wrote:
  $ sudo apt-get upgrade
  E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to 
  correct the problem.
  $
  
  running specified command i get another error:
  
  $ sudo dpkg --confugure -a
 
 You might want to try to actually run the specified command instead of
 typoing it :)
 



-- 
Best regards,
Vitalie



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]