[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
Thu Aug 18 13:24:25 UTC 2011
What filesystem are you using? This error message means that a simple
open fails:
fd= open(fnamenewvb.buf, (O_CREAT|O_EXCL|O_WRONLY), 0);
if (fd < 0)
ohshite(_("unable to create `%.255s' (while processing `%.255s')"),
fnamenewvb.buf, ti->name);
And those arguments O_CREAT|O_EXCL|O_WRONLY are very common and should
not result in the error you gave.
Can you show us the output of "ls -al /etc/dpkg/" and "mount" ?
--
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