LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-16-2010, 10:08 PM   #1
Nicoj
LQ Newbie
 
Registered: Aug 2010
Posts: 1

Rep: Reputation: 0
dpkg error code 1


I was triyng to install Debian on a AMD K6-2. I use debootstrap, and installed Lenny, with a kernel linux-image-2.6.26-2-486.

After that apt-get update and apt-get upgrade and I get:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
apt apt-utils aptitude bash cron debianutils dhcp3-client dhcp3-common diff gcc-4.3-base gnupg gpgv grub grub-common info iproute
iptables libdevmapper1.02.1 libgcc1 libpam-modules libpam-runtime libsasl2-2 libstdc++6 libxapian15 sysv-rc update-inetd
The following packages will be upgraded:
udev
1 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
Need to get 0B/466kB of archives.
After this operation, 651kB of additional disk space will be used.
Do you want to continue [Y/n]? y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "es_AR.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
tar: ./postinst: time stamp 2010-07-12 00:55:56 is 331831940.455229731 s in the future
tar: ./preinst: time stamp 2010-07-12 00:55:56 is 331831940.45086437 s in the future
tar: ./control: time stamp 2010-07-12 00:55:56 is 331831940.44801289 s in the future
tar: ./templates: time stamp 2010-07-12 00:55:50 is 331831934.443520977 s in the future
tar: ./md5sums: time stamp 2010-07-12 00:55:57 is 331831941.440125572 s in the future
tar: ./postrm: time stamp 2010-07-12 00:55:56 is 331831940.43705898 s in the future
tar: ./prerm: time stamp 2010-07-12 00:55:56 is 331831940.434337684 s in the future
tar: ./conffiles: time stamp 2010-07-12 00:55:56 is 331831940.431327524 s in the future
tar: .: time stamp 2010-07-12 00:55:57 is 331831941.42852158 s in the future
(Reading database ... 11741 files and directories currently installed.)
Preparing to replace udev 0.125-7+lenny3 (using .../archives/udev_160-1_i386.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "es_AR.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory


Since release 150, udev requires that support for the CONFIG_SYSFS_DEPRECATED
feature is disabled in the running kernel.

Please upgrade your kernel before or while upgrading udev.

AT YOUR OWN RISK, you can force the installation of this version of udev
WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM
AT THE NEXT REBOOT by creating the /etc/udev/kernel-upgrade file.
There is always a safer way to upgrade, do not try this unless you
understand what you are doing!


dpkg: error processing /var/cache/apt/archives/udev_160-1_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "es_AR.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 = "es_AR.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Errors were encountered while processing:
/var/cache/apt/archives/udev_160-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

And similar messages appears trying to install xfce4...
 
Old 08-16-2010, 10:16 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
.. are you booted into 2.6.26?
Also, fix your clock, and install the locales package and generate es_AR.UTF-8.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Sub-Process /usr/bin/dpkg returned an error code (1) Bookspoppa Debian 39 11-12-2013 02:21 PM
Input/Output Error; dpkg sub-process /usr/bin/dpkg returned and error code (2) NosLycn Linux - Software 7 12-12-2011 03:50 AM
SOLVED: Upgrade error: Sub-process /usr/bin/dpkg returned an error code (1) jlb0057 Debian 3 03-11-2011 09:37 AM
Can't remove an app: error code 3 for DPKG vargadanis Ubuntu 5 11-17-2007 05:32 AM
dpkg returned an error code (1) Segmentation fault questionman Debian 6 11-02-2004 01:04 AM


All times are GMT -5. The time now is 12:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration