DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a problem with apt-get: when I try to install any package it says that the "extra" package 'gawk'needs to be install aswell, however when I accept this, it downloads both package (the one that I intented to install and the gawk) but it cant install gwak, and consequently it can install the other package. So now, I cannot install anything!
What is even more strange is that gwak is already installed in my box, and when I try to remove it (apt-get remove gawk) it says that I need to reinstall it first and then remove it.
Have you tried yet "apt-get -f install"? If that doesn't help, type (as root) "dpkg -i --force-overwrite /var/cache/apt/archives/gawk*". That should do the trick.
Do you mean that you still don't have gawk installed? Or do you mean that gawk is now installed but the package that depends on gawk still refuses to install?
What kind of error messages did these commands produce?
What repos (stable/testing/unstable/experimental) do you have in /etc/apt/sources.list?
I mean that even though gawk is installed in my box, apt-get try to install it every time I want to install a different package, and it cant install both of them.
This are the logs (im sorry but the are in spanish):
Preparando para reemplazar gawk 1:3.1.3-2 (usando .../gawk_1%3a3.1.4-1_i386.deb) ...
/var/lib/dpkg/info/gawk.prerm: line 5: 7214 Violación de segmento install-info --quiet --remove gawk
dpkg: aviso - script de `pre-removal' antiguo devolvió código de error 139
dpkg - probando el script del nuevo paquete en su lugar...
/var/lib/dpkg/tmp.ci/prerm: line 5: 7216 Violación de segmento install-info --quiet --remove gawk
dpkg: error al procesar /var/cache/apt/archives/gawk_1%3a3.1.4-1_i386.deb (--unpack):
el subproceso script pre-removal nuevo devolvió el código de salida de error 139
/var/lib/dpkg/info/gawk.postinst: line 4: 7218 Violación de segmento install-info --quiet --section "General Commands" "General Commands" /usr/share/info/gawk.info.gz
dpkg: error al reorganizar:
el subproceso post-installation script devolvió el código de salida de error 139
Se encontraron errores al procesar:
/var/cache/apt/archives/gawk_1%3a3.1.4-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
with "dpkg -i --force-overwrite /var/cache/apt/archives/gawk*" i got the same that above.
Hmm... the error messages don't say much to me (I don't speak Spanish).
Do you have a Debian box or are you using some Debian derivative distro (Knoppix, etc.)? I'm asking this because your current gawk version (1:3.1.3-2) seems a bit strange -- Woody has 1:3.1.0-3 while both testing and unstable use 1:3.1.4-1.
I tried installing gawk in my own box (Debian Sid) and it installed without any hiccups, so (provided you're using official Debian repos) there's nothing wrong with the gawk package itself. To tell you the truth, I'm out of further suggestions at this time.
"Hmm... the error messages don't say much to me (I don't speak Spanish)."
You didn't miss much Dead Parrot.
saltas: Knoppix is NOT Debian, it has different sources.lists so different packages can be installed by the knoppix people.
But, for a user, is pure hell, you either use it as is, or install MEPIS or KANOTIX, both of whom are based on Sid alone, and will behave like a regular Debian/sid.
As for locales, do:
#dpkg-reconfigure locales
select all the en_US and es_ES, on the next screen for your environment, choose the es_ES with Euro, utf-8 get out, reboot and your locales will show perfectly in spanish.
Woody is currently the "stable" Debian release, but it's over two years old. Sarge will become the next stable release, hopefully during this year.
The Debian Wiki page here at LinuxQuestions.org explains why "stable", "testing", and "unstable" branches in Debian have such nicknames as Woody, Sarge, and Sid:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.