LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-07-2008, 06:32 AM   #1
walxdwa
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Rep: Reputation: 0
this afternoon i just want to update the debian,but failed


this afternoon i just want to update the debian,but failed
somebody gonna to help me, thanks a lot
ps: i am a chinese user~



walxdwa:/home/walxdwa# apt-get -f dist-upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在更正依赖关系... 完成
正在筹划升级... 完成
下列软件包将被【卸载】:
gimp-print lapack3 libexchange-storage1.2-1 libg2c0 libgssapi2 libldap2
libnl1-pre6 libufsparse libvte4
下列【新】软件包将被安装:
acpi-support-base app-install-data at-spi avahi-utils bluez-audio bsd-mailx
dmz-cursor-theme epiphany-browser-data epiphany-gecko espeak espeak-data
festival festlex-cmu festlex-poslex festvox-kallpc16k freeglut3 ggzcore-bin
ghostscript gimp-gnomevfs gimp-python gnome-mag gnome-mount gnome-orca
gnome-vfs-obexftp gnuchess gnuchess-book grub-common gstreamer0.10-tools
guile-1.8-libs libalut0 libatspi1.0-0 libavahi-compat-libdnssd1
libavahi-core5 libavahi-gobject0 libavahi-ui0 libbind9-30 libbrlapi0.5
libcairomm-1.0-1 libcap2 libccid libcolorblind0 libcompress-raw-zlib-perl
libcompress-zlib-perl libdevmapper1.02.1 libdirectfb-extra libdns32
libdvdnav4 libeel2-2.20 libespeak1 libestools1.2 libexempi3 libfont-afm-perl
libgail-gnome-module libgdl-gnome-1-0 libggz2 libggzcore9 libggzmod4
libglew1.5 libgmp3c2 libgnome-mag2 libgnome-speech7 libgpgme11 libgssglue1
libgtk-vnc-1.0-0 libgtkglext1 libgtksourceview2.0-0
libgtksourceview2.0-common libgucharmap6 libhtml-format-perl
libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl
libio-compress-base-perl libio-compress-zlib-perl libisc32 libisccc30
libisccfg30 libiw29 libldap-2.4-2 liblua5.1-0 liblwres30 libmailtools-perl
libnet-dbus-perl libnl1 liboobs-1-3 libopenal0a libopenobex1
libpam-gnome-keyring libpcsclite1 libpoppler-glib2 libpoppler2 libportaudio2
librarian0 libsplashy1 libtie-ixhash-perl liburi-perl libustr-1.0-1 libvte9
libwww-perl libxevie1 libxml-parser-perl libxml-twig-perl libxml-xpath-perl
linux-image-2.6.24-1-686 ncompress netcat-traditional
network-manager-openvpn network-manager-openvpn-gnome nvclock openvpn
oss-compat pcscd pkg-config psfontmgr python-brlapi python-ctypes
python-gtkglext1 python-gtksourceview2 python-notify python-opengl
python-pkg-resources python-pyatspi python-sepolgen rss-glx seahorse unace
vinagre xorg-docs xserver-xephyr xserver-xorg-video-intel
下列的软件包将被升级:
acpi acpi-support acpid alacarte alsa-base alsa-utils anacron apmd apt-spy
at avahi-daemon base-files bash bc bind9-host bittorrent bluetooth
bluez-gnome bluez-utils bsdmainutils bsdutils busybox ca-certificates cdrdao
console-common console-data cpp-4.1 cpufrequtils cron cupsys cupsys-bsd
cupsys-client cupsys-common cupsys-driver-gutenprint dc debconf debconf-i18n
debian-zh-faq-s desktop-base dhcdbd dhcp3-client dhcp3-common diff discover1
discover1-data dmidecode dnsutils doc-linux-text dselect dvd+rw-tools
e2fslibs e2fsprogs ed eject eog epiphany-browser epiphany-extensions
evolution-webcal exim4 exim4-base exim4-config exim4-daemon-light
fast-user-switch-applet file-roller findutils finger foomatic-db
foomatic-db-engine foomatic-db-gutenprint foomatic-db-hpijs
foomatic-filters-ppds foomatic-gui fortune-mod fortunes-min ftp gcalctool
gcc-3.4-base gcc-4.1-base gconf-editor gdm gedit gedit-common genisoimage
gettext-base gimp gimp-data gksu gnome-applets gnome-applets-data
gnome-backgrounds gnome-btdownload gnome-cards-data gnome-core
gnome-desktop-environment gnome-doc-utils gnome-games gnome-games-data
gnome-keyring gnome-keyring-manager gnome-mime-data gnome-netstatus-applet
gnome-nettool gnome-screensaver gnome-system-monitor gnome-system-tools
gnome-terminal gnome-terminal-data gnome-themes gnome-user-guide gnome-utils
gnome-volume-manager gnomebaker gnupg gparted gpgv grdesktop grep groff-base
grub gs-common gstreamer0.10-ffmpeg gstreamer0.10-plugins-ugly gtkhtml3.8
gucharmap gzip hdparm hibernate hostname hotkey-setup hpijs-ppds iamerican
ibritish icedax iceweasel iceweasel-gnome-support iceweasel-l10n-zh-cn
ifupdown im-switch imlib-base imlib11 info initramfs-tools initscripts
installation-report iproute iptables iputils-arping iputils-ping ispell
kde-i18n-zhcn kdelibs-data kdelibs4c2a klibc-utils klogd laptop-detect less
lesstif2 libacl1 libao2 libapm1 libarts1c2a libartsc0 libatm1 libattr1
libavahi-compat-howl0 libavahi-qt3-1 libblkid1 libcairo-perl libcpufreq0
libdaemon0 libdb4.2 libdb4.3 libdb4.4 libdiscover1 libdvdread3 libedit2
libeel2-data libevent1 libfam0 libfribidi0 libgc1c2 libgda2-3 libgda2-common
libgdl-1-0 libgdl-1-common libgimp2.0 libgksu2-0 libgksuui1.0-1 libglib-perl
libglibmm-2.4-1c2a libgnome2-0 libgnome2-canvas-perl libgnome2-common
libgnome2-perl libgnome2-vfs-perl libgnomevfs2-0 libgnomevfs2-bin
libgnomevfs2-common libgnomevfs2-extra libgtk2-perl libgtk2.0-bin
libgtkhtml2-0 libgtkhtml3.8-15 libgtkmm-2.4-1c2a libgutenprintui2-1 libklibc
libkpathsea4 liblocale-gettext-perl liblockfile1 liblua50 liblualib50
libmdbtools libmpeg2-4 libneon26 libnfsidmap2 libnm-util0 libnss-mdns
libportaudio0 libpth20 librecode0 librpcsecgss3 libscim8c2a libsemanage1
libsepol1 libservlet2.3-java libsidplay1 libslp1 libsndfile1 libsoup2.2-8
libss2 libt1-5 libtasn1-3-bin libtext-charwidth-perl libtext-wrapi18n-perl
libvorbisfile3 libvte-common libxfont1 libxml2-utils linux-image-2.6-686
linux-sound-base login lsof m4 mailx man-db manpages manpages-zh mawk menu
mkisofs mktemp mlterm mlterm-common mpack mtools mtr-tiny mutt myspell-en-us
nano nautilus nautilus-cd-burner nautilus-data ncurses-term net-tools
netbase netcat netselect network-manager network-manager-gnome nfs-common
openbsd-inetd openoffice.org-help-en-us openoffice.org-help-zh-cn
openoffice.org-thesaurus-en-us openssh-client openssl paps pcmcia-cs
pcmciautils perl-base pidentd pmount policycoreutils poppler-utils
popularity-contest portmap postgresql-client-common postgresql-common procps
python-foomatic python-ipy python2.4 python2.4-minimal rdesktop reportbug
rxvt-ml scim scim-modules-table scim-pinyin scim-tables-zh
selinux-policy-refpolicy-targeted shared-mime-info sharutils sound-juicer
ssl-cert strace sudo sysklogd system-tools-backends sysv-rc sysvinit
sysvinit-utils t1utils tar tasksel tasksel-data tcpd telnet texinfo toshset
traceroute twm type-handling unicon-imc2 unifont unzip update-inetd uswsusp
vbetool vim-common vim-tiny vino w3m wamerican wget whois wireless-tools
wodim wpasupplicant x-ttcidfont-conf xdg-utils xfonts-100dpi xfonts-75dpi
xfonts-base xfonts-encodings xfonts-utils xfonts-wqy xorg xresprobe xsane
xsane-common xserver-xorg xserver-xorg-core xserver-xorg-input-all
xserver-xorg-input-evdev xserver-xorg-input-kbd xserver-xorg-input-mouse
xserver-xorg-input-synaptics xserver-xorg-input-wacom xserver-xorg-video-all
xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-ati
xserver-xorg-video-chips xserver-xorg-video-cirrus xserver-xorg-video-cyrix
xserver-xorg-video-dummy xserver-xorg-video-fbdev xserver-xorg-video-glint
xserver-xorg-video-i128 xserver-xorg-video-i740 xserver-xorg-video-i810
xserver-xorg-video-imstt xserver-xorg-video-mga xserver-xorg-video-neomagic
xserver-xorg-video-newport xserver-xorg-video-nsc xserver-xorg-video-nv
xserver-xorg-video-rendition xserver-xorg-video-s3
xserver-xorg-video-s3virge xserver-xorg-video-savage
xserver-xorg-video-siliconmotion xserver-xorg-video-sis
xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-tga
xserver-xorg-video-trident xserver-xorg-video-tseng xserver-xorg-video-v4l
xserver-xorg-video-vesa xserver-xorg-video-vga xserver-xorg-video-via
xserver-xorg-video-vmware xserver-xorg-video-voodoo xsltproc xterm
xulrunner-gnome-support xutils xutils-dev yelp zenity zhcon
共升级了 403 个软件包,新安装了 130 个软件包,要卸载 9 个软件包,有 0 个软件未被升级。
有 483 个软件包没有被完全安装或卸载。
需要下载 0B/423MB 的软件包。
解压缩后会消耗掉 378MB 的额外空间。
您希望继续执行吗?[Y/n]y
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/auto/Text/Iconv/Iconv.so: undefined symbol: Perl_Istack_sp_ptr
(正在读取数据库 ... 系统当前总共安装有 86018 个文件和目录。)
正预备替换 gs-common 0.3.11 (使用 .../gs-common_8.62.dfsg.1-2.1_all.deb) ...
Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.
dpkg:警告 - 原先的 pre-removal 脚本 退出时返回了错误号 2
dpkg - 现转而试用新软件包所带的脚本...
dpkg:处理 /var/cache/apt/archives/gs-common_8.62.dfsg.1-2.1_all.deb (--unpack) 时出错:
新版本的软件包里并没有脚本 - 取消操作
dpkg:为了 ghostscript,正准备删除gs-common ...
dpkg:好的,为了 ghostscript 我将删除 gs-common。
正在解压缩 ghostscript (从 .../ghostscript_8.62.dfsg.1-2.1_i386.deb) ...
Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.
dpkg:处理 /var/cache/apt/archives/ghostscript_8.62.dfsg.1-2.1_i386.deb (--unpack)时出错:
子进程 pre-removal script 返回了错误号 2
正在解压缩 libavahi-compat-libdnssd1 (从 .../libavahi-compat-libdnssd1_0.6.22-3_i386.deb) ...
Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.
dpkg:处理 /var/cache/apt/archives/libavahi-compat-libdnssd1_0.6.22-3_i386.deb (--unpack)时出错:
子进程 pre-removal script 返回了错误号 2
正预备替换 cupsys-common 1.2.7-4 (使用 .../cupsys-common_1.3.7-5_all.deb) ...
Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.
dpkg:处理 /var/cache/apt/archives/cupsys-common_1.3.7-5_all.deb (--unpack)时出 错:
子进程 pre-removal script 返回了错误号 2
正预备替换 cupsys-bsd 1.2.7-4 (使用 .../cupsys-bsd_1.3.7-5_i386.deb) ...
Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.
dpkg:处理 /var/cache/apt/archives/cupsys-bsd_1.3.7-5_i386.deb (--unpack)时出错 :
子进程 pre-removal script 返回了错误号 2
正预备替换 cupsys-client 1.2.7-4 (使用 .../cupsys-client_1.3.7-5_i386.deb) ...
Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.
dpkg:处理 /var/cache/apt/archives/cupsys-client_1.3.7-5_i386.deb (--unpack)时出错:
子进程 pre-removal script 返回了错误号 2
正预备替换 update-inetd 4.27-0.5 (使用 .../update-inetd_4.30_all.deb) ...
Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.
dpkg:处理 /var/cache/apt/archives/update-inetd_4.30_all.deb (--unpack)时出错:
子进程 pre-removal script 返回了错误号 2
正预备替换 net-tools 1.60-17 (使用 .../net-tools_1.60-19_i386.deb) ...
Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.
dpkg:处理 /var/cache/apt/archives/net-tools_1.60-19_i386.deb (--unpack)时出错: 子进程 pre-removal script 返回了错误号 2
正预备替换 libslp1 1.2.1-6.2 (使用 .../libslp1_1.2.1-7.3_i386.deb) ...
Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.
dpkg:处理 /var/cache/apt/archives/libslp1_1.2.1-7.3_i386.deb (--unpack)时出错: 子进程 pre-removal script 返回了错误号 2
正在解压缩 libpoppler2 (从 .../libpoppler2_0.6.4-1_i386.deb) ...
Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.
dpkg:处理 /var/cache/apt/archives/libpoppler2_0.6.4-1_i386.deb (--unpack)时出错:
子进程 pre-removal script 返回了错误号 2
正预备替换 poppler-utils 0.4.5-5.1 (使用 .../poppler-utils_0.6.4-1_i386.deb) ...Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.
dpkg:处理 /var/cache/apt/archives/poppler-utils_0.6.4-1_i386.deb (--unpack)时出错:
子进程 pre-removal script 返回了错误号 2
正预备替换 procps 1:3.2.7-3 (使用 .../procps_1%3a3.2.7-8_i386.deb) ...
Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.
dpkg:处理 /var/cache/apt/archives/procps_1%3a3.2.7-8_i386.deb (--unpack)时出错 :
子进程 pre-removal script 返回了错误号 2
Setting kernel variables...done.
正预备替换 openssl 0.9.8c-4 (使用 .../openssl_0.9.8g-10_i386.deb) ...
Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.
dpkg:处理 /var/cache/apt/archives/openssl_0.9.8g-10_i386.deb (--unpack)时出错: 子进程 pre-removal script 返回了错误号 2
正预备替换 ssl-cert 1.0.14 (使用 .../ssl-cert_1.0.19_all.deb) ...
Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.
dpkg:处理 /var/cache/apt/archives/ssl-cert_1.0.19_all.deb (--unpack)时出错:
子进程 pre-removal script 返回了错误号 2
dpkg:为了 cupsys,正准备删除cupsys-bsd ...
dpkg:好的,为了 cupsys 我将删除 cupsys-bsd。
正预备替换 cupsys 1.2.7-4 (使用 .../cupsys_1.3.7-5_i386.deb) ...
Stopping Common Unix Printing System: cupsd.
Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.
dpkg:处理 /var/cache/apt/archives/cupsys_1.3.7-5_i386.deb (--unpack)时出错:
子进程 pre-removal script 返回了错误号 2
Starting Common Unix Printing System: cupsd.
在处理时有错误发生:
/var/cache/apt/archives/gs-common_8.62.dfsg.1-2.1_all.deb
/var/cache/apt/archives/ghostscript_8.62.dfsg.1-2.1_i386.deb
/var/cache/apt/archives/libavahi-compat-libdnssd1_0.6.22-3_i386.deb
/var/cache/apt/archives/cupsys-common_1.3.7-5_all.deb
/var/cache/apt/archives/cupsys-bsd_1.3.7-5_i386.deb
/var/cache/apt/archives/cupsys-client_1.3.7-5_i386.deb
/var/cache/apt/archives/update-inetd_4.30_all.deb
/var/cache/apt/archives/net-tools_1.60-19_i386.deb
/var/cache/apt/archives/libslp1_1.2.1-7.3_i386.deb
/var/cache/apt/archives/libpoppler2_0.6.4-1_i386.deb
/var/cache/apt/archives/poppler-utils_0.6.4-1_i386.deb
/var/cache/apt/archives/procps_1%3a3.2.7-8_i386.deb
/var/cache/apt/archives/openssl_0.9.8g-10_i386.deb
/var/cache/apt/archives/ssl-cert_1.0.19_all.deb
/var/cache/apt/archives/cupsys_1.3.7-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Old 06-07-2008, 06:41 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
First, the Chinese characters are unreadable for us, so we have no idea what the message says. From what I can read, it seems you've used the force option. Why? It shouldn't be neccesarry for updating your system. Also, you use apt-get, where the Debian dev's recommend using aptitude for it's better handling of dependencies. Apparently it trips over something perl related. Do you have the Perl packages installed?
 
Old 06-07-2008, 06:49 AM   #3
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
First, why are you starting the upgrade with the -f flag? This suggests that you already have some problem with broken dependencies. If so, can you let us know what that is, please? Second, did you run apt-get update before you tried to upgrade? You always need to upgrade your package lists before you upgrade.

The main culprit seems to be Perl. My guess is that the system wants perl5.10.0, which is the new default in Lenny, but you still have perl5.8.8. Try running perl -v to see what version you have. Perl doesn't seem to be included in the update list, but I'm not sure why - it may need a dist-upgrade if it requires additional packages. However, then you should get a warning and apt-get should not try to upgrade the packages that depend on a newer perl. The -f flag may be messing things up here.

For an upgrade this large, you may really need to run apt-get dist-upgrade, which will drag in new dependencies as well as upgrading packages already installed. To see the differences in what would be installed, you can do a test run this way:
Code:
apt-get update
apt-get --dry-run dist-upgrade
This won't actually do the upgrade, but it will show you what it would do. If the output seems sane, you can run the command again without --dry-run.
 
Old 06-07-2008, 07:14 AM   #4
walxdwa
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Original Poster
Rep: Reputation: 0
for Dutch Master:
the reason i use -f option is that i fail in apt-get dist-upgrade,
and the system recommend me to retry with an option -f,and secondly, i have install perl

for Telemachos:
my perl version is perl5.8.8 as you say, laterly,i run aptitude ,but fail again
and i remember that i dist-upgrade my system after run apt-get update.


here is the broken dependiencies
walxdwa:/home/walxdwa# apt-get --dry-run dist-upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
您也许需要运行“apt-get -f install”来纠正上面的错误。
下列的软件包有不能满足的依赖关系:
bug-buddy: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
ekiga: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
evince: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
依赖: libkpathsea4 (>= 2007) 但是 3.0-30 已经安装了
依赖: libpoppler-glib2 (>= 0.6) 但是它还没有被安装
evolution: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
依赖: libldap-2.4-2 (>= 2.4.7) 但是它还没有被安装
推荐: gnome-pilot-conduits (>= 2.0.9) 但是它还没有被安装
推荐: bogofilter 但是它还没有被安装 或
spamassassin 但是它还没有被安装
evolution-data-server: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已 经安装了
依赖: libldap-2.4-2 (>= 2.4.7) 但是它还没有被安装
evolution-exchange: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
依赖: libldap-2.4-2 (>= 2.4.7) 但是它还没有被安装
evolution-plugins: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安 装了
ghostscript-x: 依赖: ghostscript (>= 8.62) 但是它还没有被安装
gnome-control-center: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
gnome-media: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
gnome-panel: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
gnome-power-manager: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经 安装了
gnome-session: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
gnome-settings-daemon: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已 经安装了
gs-esp: 依赖: ghostscript 但是它还没有被安装
gstreamer0.10-gnomevfs: 依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
gtkhtml3.14: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
ijsgutenprint: 依赖: ghostscript (>= 8.61) 但是它还没有被安装
libbonoboui2-0: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了 libcamel1.2-11: 依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了 libcurl3: 依赖: libldap-2.4-2 (>= 2.4.7) 但是它还没有被安装
libcurl3-gnutls: 依赖: libldap-2.4-2 (>= 2.4.7) 但是它还没有被安装
libebook1.2-9: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
libecal1.2-7: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
libedata-book1.2-2: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
libedata-cal1.2-6: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安 装了
libedataserverui1.2-8: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已 经安装了
libexchange-storage1.2-3: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
依赖: libldap-2.4-2 (>= 2.4.7) 但是它还没有被安装
libgconf2-4: 依赖: libldap-2.4-2 (>= 2.4.7) 但是它还没有被安装
libgnome-desktop-2: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
libgnome-media0: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装 了
libgnome-window-settings1: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安 装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
libgnomeui-0: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
libgtkhtml3.14-19: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安 装了
libopal-2.2: 依赖: libldap-2.4-2 (>= 2.4.7) 但是它还没有被安装
libperl5.10: 依赖: perl-base (= 5.10.0-10) 但是 5.8.8-7 已经安装了
libpt-1.10.10: 依赖: libldap-2.4-2 (>= 2.4.7) 但是它还没有被安装
libpurple0: 依赖: perlapi-5.10.0
推荐: libpurple-bin 但是它还没有被安装
libslab0: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
libsmbclient: 依赖: libldap-2.4-2 (>= 2.4.7) 但是它还没有被安装
libtext-iconv-perl: 依赖: perl-base (>= 5.10.0-9) 但是 5.8.8-7 已经安装了
依赖: perlapi-5.10.0
libtotem-plparser10: 依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经 安装了
liferea: 依赖: liblua5.1-0 但是它还没有被安装
推荐: dbus-x11 但是它还没有被安装
openoffice.org-core: 依赖: libldap-2.4-2 (>= 2.4.7) 但是它还没有被安装
openoffice.org-gnome: 依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
perl: 依赖: perl-base (= 5.10.0-10) 但是 5.8.8-7 已经安装了
推荐: perl-doc 但是它还没有被安装
pidgin: 依赖: perlapi-5.10.0
printconf: 依赖: python-foomatic (>= 0.7.7-0.2) 但是 0.7.7 已经安装了
python-gnome2: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
python-gnome2-desktop: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已 经安装了
python-gnome2-extras: 依赖: libgdl-gnome-1-0 但是它还没有被安装
依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
依赖: libgtkhtml2-0 (>= 2.11.1) 但是 2.11.0-3 已经安装了 python-semanage: 依赖: libsemanage1 (>= 2.0.24) 但是 1.8-1 已经安装了
python-vte: 依赖: libvte9 (>= 1:0.16.9) 但是它还没有被安装
rhythmbox: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
推荐: gnome-app-install 但是它还没有被安装
推荐: python-gst0.10 但是它还没有被安装
synaptic: 依赖: libvte9 (>= 1:0.16.9) 但是它还没有被安装
推荐: deborphan 但是它还没有被安装
totem-gstreamer: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装 了
totem-plugins: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
totem-xine: 依赖: libgnome2-0 (>= 2.17.3) 但是 2.16.0-2 已经安装了
依赖: libgnomevfs2-0 (>= 1:2.17.90) 但是 1:2.14.2-7 已经安装了
推荐: libxine1-gnome 但是它还没有被安装
ucf: 依赖: debconf (>= 1.5.19) 但是 1.5.11 已经安装了 或
cdebconf 但是它还没有被安装
E: 不能满足依赖关系。不妨试一下 -f 选项。

Last edited by walxdwa; 06-07-2008 at 07:17 AM.
 
Old 06-07-2008, 07:23 AM   #5
walxdwa
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Original Poster
Rep: Reputation: 0
may i reinstall the perl or remove it and install it?
it seem that i can hardly remove it because too many other
software depend on it~~
thank you for help~~~
 
Old 06-07-2008, 07:25 AM   #6
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
Ok, well as Dutchmaster says, we can't read quite a lot of that output. I'm not entirely sure what state your system is in, because I can't read most of output. But it seems to say that you have broken dependencies, and to try to fix them with apt-get -f blah blah. Is that right? What happens if you try aptitude update && aptitude -s dist-upgrade? I'm just checking if aptitude would do any better. It probably won't in this case.

Edit - I'm not sure what the best thing is, but perhaps manually downloading the newer, required version perl (and its dependencies) and manually installing those with dpkg -i.
 
Old 06-07-2008, 07:45 AM   #7
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Try
Code:
aptitude --keep-all && aptitude update && aptitude dist-upgrade
as one command. If this one fails, start aptitude interactively. Then search for the Perl packages and see if anyone is broken or locked to a specific version. In case of the latter, unlock it and upgrade again. In case of the former, let aptitude find a solution, check if multiple solutions are given which is best and accept that.

If all this fails, you'd have to consider purging a lot of packages to get back to a bare-bones system and start from that again...
 
Old 06-07-2008, 08:16 AM   #8
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
Quote:
Originally Posted by Dutch Master View Post
Try
Code:
aptitude --keep-all && aptitude update && aptitude dist-upgrade
as one command.
I think that's
Code:
aptitude keep-all && aptitude update && aptitude dist-upgrade
"keep-all" is a command not an option, so no -- needed. That said, keep-all is a very good idea, and it will save the OP from a lot of potential trouble.

Last edited by Telemachos; 06-07-2008 at 08:29 AM.
 
Old 06-07-2008, 09:48 AM   #9
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Whoops, you're right...
 
Old 06-07-2008, 10:19 AM   #10
walxdwa
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Original Poster
Rep: Reputation: 0
seem to be the locate problem~~

Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.
dpkg:处理 gs-common (--remove)时出错:
子进程 pre-removal script 返回了错误号 2
在处理时有错误发生:
gs-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Old 06-07-2008, 10:29 AM   #11
walxdwa
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Original Poster
Rep: Reputation: 0
when i start to upgrade perl,
also failed~~

/usr/bin/perl: symbol lookup error: /usr/lib/perl5/auto/Text/Iconv/Iconv.so: undefined symbol: Perl_Istack_sp_ptr
(正在读取数据库 ... 系统当前总共安装有 85415 个文件和目录。)
正在删除 gs-common ...
Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.
dpkg:处理 gs-common (--remove)时出错:
子进程 pre-removal script 返回了错误号 2
在处理时有错误发生:
gs-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Old 06-07-2008, 10:38 AM   #12
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Your problem seems to be narrowed down to /usr/bin/defoma-app which is found in the defoma package. How about removing that package and try again?

Last edited by Dutch Master; 06-07-2008 at 10:50 AM.
 
Old 06-07-2008, 11:02 AM   #13
walxdwa
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Original Poster
Rep: Reputation: 0
i tried ;
apt-get remove defoma and apt-get -f remove defoma

but all above two act can not be done for huge of unsatified dependencies
what can i do?
 
Old 06-07-2008, 11:05 AM   #14
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
I'm afraid you messed up so much only a re-installation would be viable.
 
Old 06-07-2008, 05:48 PM   #15
optikknight
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by Dutch Master View Post
I'm afraid you messed up so much only a re-installation would be viable.
I have the same problem as the original poster. I installed an XFCE desktop via debian 4.0r3 install cd, and then did a dist-upgrade from etch to lenny.

The problem appears to be a mess of unmet dependencies, namely defoma dependent on perl 5.8.8...

I'm going to keep working on it and I'll post any solution I find.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Good afternoon timnp LinuxQuestions.org Member Intro 1 02-18-2008 11:06 AM
Latest Suse "YOU" update....Linux Kernel Update Failed Balarabay1 SUSE / openSUSE 10 06-11-2006 09:07 PM
Afternoon from a Linux cherry BroBill1956 LinuxQuestions.org Member Intro 3 01-01-2006 04:42 PM
afternoon F4ll0ut B0y LinuxQuestions.org Member Intro 2 08-29-2005 02:39 PM
Good afternoon mates... Spyderfan LinuxQuestions.org Member Intro 1 04-26-2005 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration