LinuxQuestions.org
Review your favorite Linux distribution.
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 08-09-2008, 10:55 PM   #1
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 218

Rep: Reputation: 17
dist-upgrade to lenny is not working


UPDATE!!
I found a solution to this.
It appears there is a known bug, and it wasn't even fixed in the newer etch release. grrr.
Regardless, this appears to be what I had to do...

) apt-get update
) apt-get -f install <--- That was the important part
) apt-get update
) apt-get dist-upgrade
) apt-get -f dist-upgrade

I read this page:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482140

) update-xmlcatalog --del --type public --id '-//OASIS//DTD DocBook XML V4.1//EN' --package docbook-xml
) update-xmlcatalog --del --type public --id '-//OASIS//DTD XML Exchange Table Model 19990315//EN' --package docbook-xml
) apt-get update
) apt-get dist-upgrade
) apt-get install discover1
) apt-get update
) apt-get dist-upgrade

All seemed well after this. Some of the apt-gets may have been excessive. But my motto is keep doing it until all is installed.


#############################################################
PROBLEM BEFORE FOUND SOLUTION:
#############################################################

What is going wrong? Why can't I completely dist-upgrade?

Here is some data:

universe:/home/workstation# apt-get dist-upgrade

Code:
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  bug-buddy: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  deskbar-applet: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
                  Recommends: python-beagle (>= 0.2.8) but it is not installed
                  Recommends: python-soappy (>= 0.11.3-1.6) but it is not installed
  evince: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
          Recommends: dbus-x11 but it is not installed
  evolution: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
             Depends: libldap-2.4-2 (>= 2.4.7) but it is not installed
             Recommends: gnome-pilot-conduits (>= 2.0.9) but it is not installed
             Recommends: bogofilter but it is not installed or
                         spamassassin but it is not installed
  evolution-data-server: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
                         Depends: libldap-2.4-2 (>= 2.4.7) but it is not installed
  evolution-exchange: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
                      Depends: libldap-2.4-2 (>= 2.4.7) but it is not installed
  evolution-plugins: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  ghostscript-x: Depends: ghostscript (>= 8.62) but it is not installed
  gnome-control-center: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  gnome-media: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  gnome-panel: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  gnome-settings-daemon: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  gs-esp: Depends: ghostscript but it is not installed
  gstreamer0.10-gnomevfs: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  gtkhtml3.14: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  libbonoboui2-0: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  libcamel1.2-11: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  libcurl3-gnutls: Depends: libldap-2.4-2 (>= 2.4.7) but it is not installed
  libebook1.2-9: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  libecal1.2-7: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  libedata-book1.2-2: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  libedata-cal1.2-6: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  libedataserverui1.2-8: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  libexchange-storage1.2-3: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
                            Depends: libldap-2.4-2 (>= 2.4.7) but it is not installed
  libgconf2-4: Depends: libldap-2.4-2 (>= 2.4.7) but it is not installed
  libgnome-media0: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  libgnome-window-settings1: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  libgnome2-0: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  libgnomeui-0: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  libgtkhtml3.14-19: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  libslab0: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  libsmbclient: Depends: libldap-2.4-2 (>= 2.4.7) but it is not installed
  libtotem-plparser10: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  liferea: Depends: liblua5.1-0 but it is not installed
           Depends: xulrunner-1.9 but it is not installed
           Recommends: dbus-x11 but it is not installed
  perl: Depends: perl-base (= 5.10.0-11.1) but 5.8.8-7etch3 is installed
        Recommends: perl-doc but it is not installed
  python-gnome2: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  python-gnome2-desktop: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  rhythmbox: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
             Recommends: avahi-daemon but it is not installed
             Recommends: gnome-app-install but it is not installed
             Recommends: python-gst0.10 but it is not installed
  totem-gstreamer: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  totem-plugins: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
  totem-xine: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
              Recommends: libxine1-gnome but it is not installed
  ucf: Depends: debconf (>= 1.5.19) but 1.5.11etch2 is installed or
                cdebconf but it is not installed
  update-notifier: Depends: libgnomevfs2-0 (>= 1:2.17.90) but 1:2.14.2-7 is installed
                   Depends: update-notifier-common but it is not installed
E: Unmet dependencies. Try using -f.
universe:/home/workstation#

THERE IS ANOTHER SECTION OF THIS

Last edited by Cyberman; 08-10-2008 at 01:04 AM.
 
Old 08-09-2008, 10:56 PM   #2
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 218

Original Poster
Rep: Reputation: 17
universe:/home/workstation# apt-get -f dist-upgrade


Code:
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  libexchange-storage1.2-1 libgssapi2 libldap2 libnl1-pre6 libpt-1.10.0
  libpt-plugins-alsa libpt-plugins-v4l libsasl2 libssp0
The following NEW packages will be installed:
  app-install-data avahi-daemon avahi-utils bash-completion bluez-audio
  bluez-utils bsd-mailx bwidget checkpolicy cups cups-bsd cups-client
  cups-common dbus-x11 debian-faq discover-data dmz-cursor-theme doc-base
  epiphany-browser-data epiphany-gecko esound-clients foomatic-db
  foomatic-db-engine foomatic-filters freeglut3 g++-4.3 gcc-4.3 gdebi-core
  ggzcore-bin ghostscript gnome-mount gnome-vfs-obexftp gnuchess gnuchess-book
  grub-common guile-1.8-libs hal-info libalut0 libavahi-core5
  libavahi-gobject0 libavformat52 libbind9-40 libcairomm-1.0-1 libcap2
  libcompress-raw-zlib-perl libcompress-zlib-perl libcpufreq0 libdaemon0
  libdevmapper1.02.1 libdirectfb-extra libdns43 libdvdnav4 libeel2-2.20
  libexempi3 libfont-afm-perl libfreezethaw-perl libggz2 libggzcore9
  libggzmod4 libglew1.5 libgomp1 libgssglue1 libgtkglext1
  libgtksourceview2.0-0 libgtksourceview2.0-common libgucharmap6
  libgweather-common libgweather1 libhtml-format-perl libhtml-parser-perl
  libhtml-tagset-perl libhtml-tree-perl libio-compress-base-perl
  libio-compress-zlib-perl libisc41 libisccc40 libisccfg40 libiw29
  libldap-2.4-2 liblua5.1-0 liblwres40 liblzo2-2 libmailtools-perl
  libmldbm-perl libmozjs1d libnet-dbus-perl libnl1 libnss-mdns liboobs-1-4
  libopenal1 libopenobex1 libpam-gnome-keyring libparted1.8-9 libpcsclite1
  libpkcs11-helper1 librarian0 libsmbios-bin libsmbios1 libsmbiosxml1
  libsplashy1 libssh2-1 libstdc++6-4.3-dev libtie-ixhash-perl liburi-perl
  libuuid-perl libwww-perl libxml-parser-perl libxml-twig-perl
  libxml-xpath-perl linux-image-2.6.25-2-686 ncompress netcat-traditional
  network-manager-openvpn network-manager-openvpn-gnome network-manager-vpnc
  network-manager-vpnc-gnome obex-data-server openoffice.org-style-andromeda
  openoffice.org-style-crystal openoffice.org-style-tango openssh-blacklist
  openssh-blacklist-extra openssl-blacklist openvpn openvpn-blacklist perl-doc
  pm-utils psfontmgr python-gtkglext1 python-gtksourceview2 python-notify
  python-opengl python-pkg-resources python-sepolgen
  python-software-properties radeontool resolvconf rss-glx samba-common
  setools smbclient software-properties-gtk ssl-cert tcl8.4 tk8.4
  ttf-liberation ttf-mscorefonts-installer unace unattended-upgrades
  update-manager-core update-notifier-common uswsusp vbetool vpnc
  x-ttcidfont-conf xorg-docs xserver-xephyr xulrunner-1.9
  xulrunner-1.9-gnome-support
The following packages have been kept back:
  discover1
The following packages will be upgraded:
  acpid alacarte alsa-base alsa-utils at base-files base-passwd bash bc
  bind9-host bittorrent bluez-gnome bsdmainutils bsdutils build-essential
  busybox cabextract cdrdao console-common console-data console-tools cpp-4.1
  cron cupsys cupsys-bsd cupsys-client cupsys-common dc debconf debconf-i18n
  desktop-base dhcdbd dhcp3-client dhcp3-common dictionaries-common diff
  discover1-data dmidecode dnsutils doc-debian 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 ftp
  g++ g++-4.1 gcalctool gcc gcc-4.1 gcc-4.1-base gconf-editor gdebi gdm gedit
  gedit-common genisoimage gettext-base gksu gnome-applets gnome-applets-data
  gnome-backgrounds gnome-btdownload gnome-cards-data gnome-core
  gnome-doc-utils gnome-games gnome-games-data gnome-keyring
  gnome-keyring-manager gnome-mime-data gnome-netstatus-applet gnome-nettool
  gnome-power-manager gnome-screensaver gnome-system-monitor
  gnome-system-tools gnome-themes gnome-user-guide gnome-utils
  gnome-volume-manager gnomebaker gparted grep groff-base grub gs-common
  gstreamer0.10-ffmpeg gstreamer0.10-plugins-ugly gtkhtml3.8 gucharmap gzip
  hal hostname iamerican ibritish icedax iceweasel iceweasel-gnome-support
  ifupdown info initramfs-tools initscripts installation-report iproute
  iptables iputils-arping iputils-ping ispell klibc-utils klogd laptop-detect
  less libacl1 libao2 libapm1 libatm1 libattr1 libaudio2 libblkid1
  libcairo-perl libconsole libcurl3 libdb4.2 libdb4.3 libdb4.4 libdmx1
  libdvdread3 libedit2 libeel2-data libevent1 libexif12 libfam0 libgc1c2
  libgksu2-0 libgksuui1.0-1 libglib-perl libglibmm-2.4-1c2a
  libgnome2-canvas-perl libgnome2-perl libgnome2-vfs-perl libgnomevfs2-0
  libgnomevfs2-bin libgnomevfs2-common libgnomevfs2-extra libgtk2-perl
  libgtk2.0-bin libgtkhtml3.8-15 libgtkmm-2.4-1c2a libhal-storage1 libklibc
  liblocale-gettext-perl liblockfile1 libmozjs0d libmpeg2-4 libnfsidmap2
  libnm-util0 libnss3-0d libosp5 libportaudio0 librpcsecgss3 libsasl2-2
  libsidplay1 libslp1 libsndfile1 libsoup2.2-8 libss2 libstdc++6-4.1-dev
  libtasn1-3-bin libtext-charwidth-perl libtext-iconv-perl
  libtext-wrapi18n-perl libvolume-id0 libvorbisfile3 libxml2-utils libxp6
  libxul-common libxul0d linux-image-2.6-686 linux-sound-base login lsof m4
  mailx makedev man-db manpages mawk menu mkisofs mktemp module-assistant
  module-init-tools mount mpack msttcorefonts mtools mtr-tiny mutt nano
  nautilus nautilus-cd-burner nautilus-data ncurses-base ncurses-term
  net-tools netbase netcat network-manager network-manager-gnome nfs-common
  notification-daemon openbsd-inetd openoffice.org-common openssh-client
  pcmciautils perl-base pidentd pmount policycoreutils poppler-utils portmap
  powermgmt-base procps python2.4 python2.4-minimal reportbug
  selinux-policy-refpolicy-targeted shared-mime-info sharutils sound-juicer
  strace sudo sysklogd system-tools-backends sysv-rc sysvinit sysvinit-utils
  tar tasksel tasksel-data tcpd telnet texinfo time traceroute ttf-opensymbol
  twm type-handling udev unzip update-inetd update-manager usbutils util-linux
  vim-common vim-tiny vino w3m wamerican wget whois wireless-tools wodim
  wpasupplicant xfonts-100dpi xfonts-75dpi xfonts-base xfonts-encodings
  xfonts-utils xorg xresprobe xsltproc xulrunner-gnome-support xutils
  xutils-dev yelp zenity
293 upgraded, 159 newly installed, 9 to remove and 1 not upgraded.
443 not fully installed or removed.
YNeed to get 0B/368MB of archives.
After this operation, 407MB of additional disk space will be used.
Do you want to continue [Y/n]? 
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
Extracting templates from packages: 100%
Preconfiguring packages ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
(Reading database ... 70305 files and directories currently installed.)
Preparing to replace gs-common 0.3.11 (using .../gs-common_8.62.dfsg.1-3_all.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
dpkg: error processing /var/cache/apt/archives/gs-common_8.62.dfsg.1-3_all.deb (--unpack):
 there is no script in the new version of the package - giving up
dpkg: considering removing gs-common in favour of ghostscript ...
dpkg: yes, will remove gs-common in favour of ghostscript.
Unpacking ghostscript (from .../ghostscript_8.62.dfsg.1-3_i386.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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: error processing /var/cache/apt/archives/ghostscript_8.62.dfsg.1-3_i386.deb (--unpack):
 subprocess pre-removal script returned error exit status 2
Preparing to replace cupsys-common 1.2.7-4etch3 (using .../cupsys-common_1.3.7-9_all.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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: error processing

Last edited by Cyberman; 08-09-2008 at 10:57 PM.
 
Old 08-09-2008, 10:57 PM   #3
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 218

Original Poster
Rep: Reputation: 17
THIS IS A CONTINUATION FROM APT-GET -F DIST-UPGRADE

Code:
/var/cache/apt/archives/cupsys-common_1.3.7-9_all.deb (--unpack):
 subprocess pre-removal script returned error exit status 2
dpkg: considering removing cupsys-common in favour of cups-common ...
dpkg: yes, will remove cupsys-common in favour of cups-common.
Unpacking cups-common (from .../cups-common_1.3.7-9_all.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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: error processing /var/cache/apt/archives/cups-common_1.3.7-9_all.deb (--unpack):
 subprocess pre-removal script returned error exit status 2
Unpacking openssl-blacklist (from .../openssl-blacklist_0.4.2_all.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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: error processing /var/cache/apt/archives/openssl-blacklist_0.4.2_all.deb (--unpack):
 subprocess pre-removal script returned error exit status 2
Unpacking ssl-cert (from .../ssl-cert_1.0.22_all.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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: error processing /var/cache/apt/archives/ssl-cert_1.0.22_all.deb (--unpack):
 subprocess pre-removal script returned error exit status 2
Preparing to replace cupsys-bsd 1.2.7-4etch3 (using .../cupsys-bsd_1.3.7-9_all.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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: error processing /var/cache/apt/archives/cupsys-bsd_1.3.7-9_all.deb (--unpack):
 subprocess pre-removal script returned error exit status 2
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
Preparing to replace cupsys-client 1.2.7-4etch3 (using .../cupsys-client_1.3.7-9_all.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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: error processing /var/cache/apt/archives/cupsys-client_1.3.7-9_all.deb (--unpack):
 subprocess pre-removal script returned error exit status 2
dpkg: considering removing cupsys-client in favour of cups-client ...
dpkg: yes, will remove cupsys-client in favour of cups-client.
Unpacking cups-client (from .../cups-client_1.3.7-9_i386.deb) ...
De-configuring cupsys-bsd, to allow removal of cupsys-client ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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: error processing /var/cache/apt/archives/cups-client_1.3.7-9_i386.deb (--unpack):
 subprocess pre-removal script returned error exit status 2
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
Preparing to replace update-inetd 4.27-0.5 (using .../update-inetd_4.30_all.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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: error processing /var/cache/apt/archives/update-inetd_4.30_all.deb (--unpack):
 subprocess pre-removal script returned error exit status 2
dpkg: considering removing cupsys-bsd in favour of cups-bsd ...
dpkg: yes, will remove cupsys-bsd in favour of cups-bsd.
Unpacking cups-bsd (from .../cups-bsd_1.3.7-9_i386.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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: error processing /var/cache/apt/archives/cups-bsd_1.3.7-9_i386.deb (--unpack):
 subprocess pre-removal script returned error exit status 2
Preparing to replace net-tools 1.60-17 (using .../net-tools_1.60-19_i386.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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: error processing /var/cache/apt/archives/net-tools_1.60-19_i386.deb (--unpack):
 subprocess pre-removal script returned error exit status 2
Preparing to replace libslp1 1.2.1-6.2 (using .../libslp1_1.2.1-7.3_i386.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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: error processing /var/cache/apt/archives/libslp1_1.2.1-7.3_i386.deb (--unpack):
 subprocess pre-removal script returned error exit status 2
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
Preparing to replace poppler-utils 0.4.5-5.1etch3 (using .../poppler-utils_0.8.4-1.1_i386.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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: error processing /var/cache/apt/archives/poppler-utils_0.8.4-1.1_i386.deb (--unpack):
 subprocess pre-removal script returned error exit status 2
Preparing to replace procps 1:3.2.7-3 (using .../procps_1%3a3.2.7-8_i386.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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: error processing /var/cache/apt/archives/procps_1%3a3.2.7-8_i386.deb (--unpack):
 subprocess pre-removal script returned error exit status 2
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Setting kernel variables...done.
Preparing to replace cupsys 1.2.7-4etch3 (using .../cupsys_1.3.7-9_all.deb) ...
Stopping Common Unix Printing System: cupsd.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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: error processing /var/cache/apt/archives/cupsys_1.3.7-9_all.deb (--unpack):
 subprocess pre-removal script returned error exit status 2
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Starting Common Unix Printing System: cupsd.
dpkg: considering removing cupsys in favour of cups ...
dpkg: yes, will remove cupsys in favour of cups.
dpkg: considering removing cupsys-bsd in favour of cups ...
dpkg: yes, will remove cupsys-bsd in favour of cups.
Unpacking cups (from .../archives/cups_1.3.7-9_i386.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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: error processing /var/cache/apt/archives/cups_1.3.7-9_i386.deb (--unpack):
 subprocess pre-removal script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/gs-common_8.62.dfsg.1-3_all.deb
 /var/cache/apt/archives/ghostscript_8.62.dfsg.1-3_i386.deb
 /var/cache/apt/archives/cupsys-common_1.3.7-9_all.deb
 /var/cache/apt/archives/cups-common_1.3.7-9_all.deb
 /var/cache/apt/archives/openssl-blacklist_0.4.2_all.deb
 /var/cache/apt/archives/ssl-cert_1.0.22_all.deb
 /var/cache/apt/archives/cupsys-bsd_1.3.7-9_all.deb
 /var/cache/apt/archives/cupsys-client_1.3.7-9_all.deb
 /var/cache/apt/archives/cups-client_1.3.7-9_i386.deb
 /var/cache/apt/archives/update-inetd_4.30_all.deb
 /var/cache/apt/archives/cups-bsd_1.3.7-9_i386.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/poppler-utils_0.8.4-1.1_i386.deb
 /var/cache/apt/archives/procps_1%3a3.2.7-8_i386.deb
 /var/cache/apt/archives/cupsys_1.3.7-9_all.deb
 /var/cache/apt/archives/cups_1.3.7-9_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
universe:/home/workstation#
 
Old 08-16-2008, 11:19 AM   #4
teamanx
LQ Newbie
 
Registered: Sep 2007
Posts: 8

Rep: Reputation: 0
I had the same problem, and googling found the following, that worked to me:

(from http://b.tessarotto.net/dblog/)
Quote:
this is caused by a conflict between different perl versions (5.8.8 for debian etch, 5.10 for lenny)

the solution was to download and install by hand some packages:

perl_5.10.0-11_amd64.deb
perl-base_5.10.0-11_amd64.deb
perl-modules_5.10.0-11_all.deb

also, changed by hand the following:
cd /usr/lib
mv perl5 _perl5
ln -s perl/5.10 perl5
Hope it is helpful. Best regards.
 
  


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
Lenny dist-upgrade aftermath... tuffstuff Debian 10 04-22-2008 07:41 AM
Dist-Upgrade from the Current Lenny to Sid Zaskar Debian 2 08-28-2007 04:05 PM
apt-get dist-upgrade to lenny error 2Pacalypse Debian 2 07-03-2007 10:56 AM
after dist-upgrade usbmice ain't working jabka Linux - Newbie 0 07-26-2006 02:52 AM
dist-upgrade not working Codegen Ubuntu 2 02-17-2006 04:37 PM

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

All times are GMT -5. The time now is 11:22 PM.

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