[Bug 873970] Re: update from natty to oneric failed (amd64): E:Sub-process dpkg returned an error code (2)

progmachine 873970 at bugs.launchpad.net
Sat Oct 15 06:05:18 UTC 2011


The problem is strange, i conducted a little investigation.
That happened on my work, on work computer. Now is a weekend and exact information would be available on Monday. But the same problem seems to be on my home notebook. Here dpkg (1.16.1~natty+1) also not know what is foreign-architecture, and i can't find that option in man page for dpkg, although i find with google man page on Debian for dpkg (for 1.16 version), and that man page includes --foreign-architecture option. Ubuntu living on my work computer without reinstalls since 9.04. I used only upgrades. On my laptop, i don't rememder, but i installed the first ubuntu release with GRUB2, and, also only upgrades.
I used only these repos: pitti for PostgreSQL, ondrej for Redmine, wine, muCommander, third party developers, Canonical partners. Now i see that dpkg was from ondrej-redmine repository.

apt-cache output on my notebook:
dpkg:
  Установлен: 1.16.1~natty+1
  Кандидат:   1.16.1~natty+1
  Таблица версий:
 *** 1.16.1~natty+1 0
        500 http://ppa.launchpad.net/ondrej/redmine/ubuntu/ natty/main amd64 Packages
        100 /var/lib/dpkg/status
     1.16.0~ubuntu7.1 0
        500 http://archive.ubuntu.com/ubuntu/ natty-updates/main amd64 Packages
     1.16.0~ubuntu7 0
        500 http://archive.ubuntu.com/ubuntu/ natty/main amd64 Packages

I'll try to disable that repo, and reinstall dpkg.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/873970

Title:
  update from natty to oneric failed (amd64): E:Sub-process dpkg
  returned an error code (2)

Status in “update-manager” package in Ubuntu:
  Incomplete

Bug description:
  I think it becouse of "foreign-architecture i386" in /etc/dpkg/dpkg.cfg.d/multiarch
  Even bug reporter crashed, until i removed that file, with message that dpkg do not know what is foreign-architecture.
  The update-manager displayed "E:Sub-process /usr/bin/dpkg returned an error code (2)" repeated many times, in one big window. That message also repeated many times in log file /var/log/dist-upgrade/main.log
  It's like a endless recursion happened.

  /var/log/dist-upgrade$ lsb_release -rd
  Description:	Ubuntu 11.04
  Release:	11.04

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: update-manager 1:0.150.3
  ProcVersionSignature: Ubuntu 2.6.38-12.51-generic 2.6.38.8
  Uname: Linux 2.6.38-12-generic x86_64
  NonfreeKernelModules: fglrx
  Architecture: amd64
  Date: Fri Oct 14 12:32:58 2011
  GConfNonDefault:
   /apps/update-manager/check_new_release_ignore=natty
   /apps/update-manager/first_run=false
   /apps/update-manager/window_size=(731,600)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=ru_RU:en
   LANG=ru_RU.UTF-8
   SHELL=/bin/bash
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to natty on 2011-10-14 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/873970/+subscriptions




More information about the foundations-bugs mailing list