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 - 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, 09: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, 09:16 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

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


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:11 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