Hi,

I'm using a macbook 4.1 that has Mac OS X Leopard on it as well as
Ubuntu Natty (Dual boot).  I was using the Ubuntu OS when I received
this error.  The two OS' are partitioned on the same drive, and rEFIt
is a third partition on the same drive.  The Mac partition is labeled
Mac HD and the Linux partition is labeled Linux HD.

I also have an external drive (USB) attached, which contains the
partitions "Mac Backup" and "Win Backup" as well as "WD Smartware".

Here is the output of ls -al /etc/dpkg:

total 32
drwxr-xr-x   4 root root 4096 2011-04-25 19:07 .
drwxr-xr-x 138 root root 8192 2011-08-19 09:10 ..
-rw-r--r--   1 root root  446 2011-03-01 17:07 dpkg.cfg
drwxr-xr-x   2 root root 4096 2011-04-25 19:11 dpkg.cfg.d
drwxr-xr-x   2 root root 4096 2011-04-25 18:51 origins
-rw-r--r--   1 root root  260 2011-03-01 17:07 shlibs.default
-rw-r--r--   1 root root  253 2011-03-01 17:07 shlibs.override

Here is the output of "mount":

/dev/sda3 on / type ext2 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/nate/.gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev,user=nate)
/dev/sdb1 on /media/Mac Backup type hfsplus (rw,nosuid,nodev,uhelper=udisks)
/dev/sdb2 on /media/WINBACKUP type vfat
(rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)
/dev/sda2 on /media/Mac HD type hfsplus (rw,nosuid,nodev,uhelper=udisks)

If you need anything else, just let me know.

Thanks,

Nate

2011/8/18 Raphaël Hertzog <[email protected]>:
> 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 subscribed to the bug
> report.
> 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
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to