[Bug 827942] Re: package dselect (not installed) failed to install/upgrade: unable to create `/etc/dpkg/dselect.cfg.dpkg-new' (while processing `./etc/dpkg/dselect.cfg'): Invalid argument

Raphaël Hertzog hertzog at debian.org
Sun Aug 21 08:50:17 UTC 2011


On Sat, 20 Aug 2011, Nathan Neal wrote:
> Well, I installed ext specifically because after doing some research
> (and having previously installed Ubuntu under ext3), I found that I
> could have read/write access to hfs+ disks (which is what my Mac HD
> is).  That is why I chose to install Ubuntu under ext2 formatting
> scheme.

Hum, I don't see the relationship unless you mean that MacOS can
read/write ext2 while it doesn't for ext3.

Otherwise if linux is able to access hfs+ it has nothing to do with the
choice of filesystem for Linux's root filesystem.

> As for other packages being installed, I have not tried to install
> dselect or use it manually before or since this error.  I always use
> APT or Synaptic Package Manager (which I think calls the dselect
> process), and all the other installations I've done have completed
> without any errors.

dselect is not used by APT or Synaptic, only "dpkg" is used as underlying
package manager.

Can you try to install dselect again and see if you can reproduce the
error?

sudo apt-get install dselect

If yes I would like you to do "sudo strace -f -o log dpkg -i
/var/cache/apt/archives/dselect_*.deb" and to attach the resulting "log"
file. You might have to install strace first (apt-get install strace).
You might want to compress the log file before sending it ("gzip log" and
you send the log.gz file).

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)

-- 
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/827942

Title:
  package dselect (not installed) failed to install/upgrade: unable to
  create `/etc/dpkg/dselect.cfg.dpkg-new' (while processing
  `./etc/dpkg/dselect.cfg'): Invalid argument

Status in “dpkg” package in Ubuntu:
  New

Bug description:
  I don't know a great deal about linux/ubuntu.  I was trying to update
  a library file libc6 to a newer version, and could not see a way to do
  this using apt, so I went through some man pages, found dselect, tried
  to use it, found it was not installed, and tried to install it using
  apt-get....this is when I received this error.  I don't know if it's a
  bug or not, I don't know if I can't use dselect when apt is already
  installed due to some sort of conflict.

  ProblemType: Package
  DistroRelease: Ubuntu 11.04
  Package: dselect (not installed)
  ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
  Uname: Linux 2.6.38-10-generic i686
  NonfreeKernelModules: wl
  AptOrdering:
   dselect: Install
   dselect: Configure
  Architecture: i386
  Date: Wed Aug 17 07:00:16 2011
  DpkgTerminalLog:
   Unpacking dselect (from .../dselect_1.16.0~ubuntu7_i386.deb) ...
   dpkg: error processing /var/cache/apt/archives/dselect_1.16.0~ubuntu7_i386.deb (--unpack):
    unable to create `/etc/dpkg/dselect.cfg.dpkg-new' (while processing `./etc/dpkg/dselect.cfg'): Invalid argument
  ErrorMessage: unable to create `/etc/dpkg/dselect.cfg.dpkg-new' (while processing `./etc/dpkg/dselect.cfg'): Invalid argument
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
  SourcePackage: dpkg
  Title: package dselect (not installed) failed to install/upgrade: unable to create `/etc/dpkg/dselect.cfg.dpkg-new' (while processing `./etc/dpkg/dselect.cfg'): Invalid argument
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list