LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   dpkg error code 1 (https://www.linuxquestions.org/questions/linux-newbie-8/dpkg-error-code-1-a-826645/)

Nicoj 08-16-2010 09:08 PM

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...

AlucardZero 08-16-2010 09:16 PM

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


All times are GMT -5. The time now is 09:57 PM.