[Bug 1061106] Re: dpkg cannot restore packages

Raphaël Hertzog hertzog at debian.org
Wed Oct 3 18:51:48 UTC 2012


Hi,

On Wed, 03 Oct 2012, David Bensimon wrote:
>   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

None of the packages were installed or only a subset?

What was the output of "sudo apt-get dselect-upgrade" ?

Can you attach your dpkg.selection and the output of "dpkg
--get-selections" on your 12.10 installation after having tried
the --set-selections ? Did youn "sudo dpkg --set-selections <
dpkg.selection" output any error message ?

I'm trying to find out whether dpkg is not recording the selections
or if apt-get is not acting on them.

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/

-- 
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:
  New

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