[Bug 1061106] Re: dpkg cannot restore packages

Raphaël Hertzog hertzog at debian.org
Thu Oct 4 08:09:36 UTC 2012


Hello,

On Wed, 03 Oct 2012, David Bensimon wrote:
> Here is what I see in the terminal.

So you had important error messages displayed. :-)

dpkg's --set-selections behaviour has changed and prior to the
--set-selections call, you should make sure that dpkg knows about
all the available packages.

You can use "dselect update" (of dselect) or "sync-available" (of
dctrl-tools) or directly "apt-cache dumpavail | sudo dpkg --update-avail"
to do this.

See http://lists.debian.org/20120319083527.GA4526@gaara.hadrons.org for
the discussion between me and the other dpkg maintainer on this topic.

 status invalid

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Do you like what I do? Support my free software work on Debian and Ubuntu:
→ http://raphaelhertzog.com/support-my-work/


** Changed in: dpkg (Ubuntu)
       Status: New => Invalid

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

Title:
  dpkg cannot restore packages

Status in “dpkg” package in Ubuntu:
  Invalid

Bug description:
  I followed these instructions to backup a list of packages and then
  reinstall them.

  On 10.04 I ran:
  dpkg --get-selections > dpkg.selection 

  On 12.10 I ran:
  sudo dpkg --set-selections < dpkg.selection 
  sudo apt-get dselect-upgrade  

  What happened:
  The packages listed in dpkg.selection were not installed

  Expected:
  Packages to be installed.

  Workaround: 
  I can install them manually.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: dpkg 1.16.7ubuntu6
  ProcVersionSignature: Ubuntu 3.5.0-15.23-generic 3.5.4
  Uname: Linux 3.5.0-15-generic i686
  ApportVersion: 2.6.1-0ubuntu1
  Architecture: i386
  Date: Wed Oct  3 12:24:09 2012
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta i386 (20120926)
  ProcEnviron:
   LANGUAGE=en_CA:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  SourcePackage: dpkg
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1061106/+subscriptions




More information about the foundations-bugs mailing list