[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#40082: apt-get: /usr/bin/dpkg/:Not a directory



Package: apt
Version: 0.3.7

Have a look at the bottom of this installation run. /usr/bin/dpkg is a file
on my system.

~$ sudo dselect
Ign file:/ilc/debian-non-US/ unstable/non-US Release
Hit http://www.debian.org unstable/main Packages
Ign http://www.debian.org unstable/main Release    
Reading Package Lists... Done
Building Dependency Tree... Done
Merging Available information
Replacing available packages info, using /var/cache/apt/available.
Information about 3660 package(s) was updated.
Reading Package Lists... Done
Building Dependency Tree... Done
17 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 packages not fully installed or removed.
Need to get 0B/2245kB of archives. After unpacking 220kB will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 40866 files and directories currently installed.)
Preparing to replace modutils 2.1.121-23 (using
.../base/modutils_2.1.121-24.deb) ...
Leaving diversion of /usr/include/linux/kerneld.h to
/usr/include/linux/kerneld.h.libc6 by modutils'
Saving KDOPT setting from /etc/init.d/kerneld ..
Removing obsoleted files: 

Dpkg might ask you if you want the new configuration files in /etc/init.d.
This is generally a good idea, unless you have really changed any of these
files. The KDOPT setting in /etc/init.d/kerneld will be saved even if you
install a new version of this file.

Unpacking replacement modutils ...
Preparing to replace setserial 2.15-4 (using .../base/setserial_2.15-5.deb)
...
Unpacking replacement setserial ...
Preparing to replace nfs-server 2.2beta37-1 (using
.../net/nfs-server_2.2beta37-2.deb) ...
Stopping NFS servers: mountd nfsd.
Unpacking replacement nfs-server ...
Preparing to replace apt-find 0.6.0p1-1 (using
.../admin/apt-find_0.6.0p2-1.deb) ...
Unpacking replacement apt-find ...
Preparing to replace blackbox 0.50.3-2.2 (using
.../x11/blackbox_0.50.5-1.deb) ...
Unpacking replacement blackbox ...
Preparing to replace devscripts 2.3.0 (using .../devel/devscripts_2.3.1.deb)
...
Unpacking replacement devscripts ...
Preparing to replace dh-make 0.11 (using .../devel/dh-make_0.12.deb) ...
Unpacking replacement dh-make ...
Preparing to replace dpkg-repack 0.22 (using .../admin/dpkg-repack_0.23.deb)
...
Unpacking replacement dpkg-repack ...
Preparing to replace imlib-base 1.9.4-4 (using .../imlib-base_1.9.4-5.deb) ...
Unpacking replacement imlib-base ...
Preparing to replace gdk-imlib1 1.9.4-4 (using
.../libs/gdk-imlib1_1.9.4-5.deb) ...
Unpacking replacement gdk-imlib1 ...
Preparing to replace icewm 0.9.39-2 (using .../x11/icewm_0.9.42-1.deb) ...
Unpacking replacement icewm ...
Preparing to replace icewm-themes 0.9.39-1 (using
.../x11/icewm-themes_0.9.42-1.deb) ...
Unpacking replacement icewm-themes ...
Preparing to replace imlib1 1.9.4-4 (using .../graphics/imlib1_1.9.4-5.deb)
...
Unpacking replacement imlib1 ...
Preparing to replace xanim 2.80.1-2 (using .../graphics/xanim_2.80.1-3.deb)
...
Unpacking replacement xanim ...
Preparing to replace xaw-wrappers 0.94 (using .../x11/xaw-wrappers_1.00.deb)
...
Unpacking replacement xaw-wrappers ...
(Reading database ... 41306 files and directories currently installed.)
Preparing to replace xkeycaps 2.44-3 (using .../x11/xkeycaps_2.45-1.deb) ...
Checking available versions of xkeycaps, updating links in /etc/alternatives
...
(You may modify the symlinks there yourself if desired - see man ln'.)
Leaving xkeycaps (/usr/X11R6/bin/xkeycaps) pointing to
/usr/lib/xaw-wrappers/wrapper.
Unpacking replacement xkeycaps ...
syntax error at /usr/lib/xaw-wrappers//XawWrapper.pm line 42, near ");"
syntax error at /usr/lib/xaw-wrappers//XawWrapper.pm line 57, near ");"
BEGIN failed--compilation aborted at /usr/sbin/update-xaw-wrappers line 98.
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
syntax error at /usr/lib/xaw-wrappers//XawWrapper.pm line 42, near ");"
syntax error at /usr/lib/xaw-wrappers//XawWrapper.pm line 57, near ");"
BEGIN failed--compilation aborted at /usr/sbin/update-xaw-wrappers line 98.
dpkg: error processing
/ilc/debian/dists/unstable/main/binary-i386/x11/xkeycaps_2.45-1.deb
(--unpack):
 subprocess new post-removal script returned error exit status 2
syntax error at /usr/lib/xaw-wrappers//XawWrapper.pm line 42, near ");"
syntax error at /usr/lib/xaw-wrappers//XawWrapper.pm line 57, near ");"
BEGIN failed--compilation aborted at /usr/sbin/update-xaw-wrappers line 98.
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 2
Preparing to replace iproute 990329-1 (using .../net/iproute_990530-1.deb) ...
Unpacking replacement iproute ...
Errors were encountered while processing:
 /ilc/debian/dists/unstable/main/binary-i386/x11/xkeycaps_2.45-1.deb
E: Sub-process returned an error code (1)
Some errors occurred while unpacking. I'm going to configure the
packages that were installed. This may result in duplicate errors
or errors caused by missing dependencies. This is OK, only the errors
above this message are important. Please fix them and run [I]nstall again
Press enter to continue.

/usr/lib/dpkg//methods/apt/install: /usr/bin/dpkg/: Not a directory

installation script returned error exit status 100.
Press RETURN to continue.



Adrian Bridgett <bridgett@hursley.ibm.com>
Internal: 7-245528  External: 01962-815528


Reply to: