PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > apt-get failed to install anything
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

apt-get failed to install anything

Réponse
 
LinkBack Outils de la discussion
Vieux 17/08/2007, 18h10   #1
Siwei Zhang
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut apt-get failed to install anything

Hi there,



I found out one of our machine have problems to install anything using
apt-get.

The following are the errors. Could someone please? Thanks.



Kevin SZ



root@web3-eqix-sjo:/var/cache/apt/archives# more /etc/debian_version

3.1





root@web3-eqix-sjo:/var/cache/apt/archives# apt-get install libc6-dev

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:

libc6-dev: Depends: libc6 (= 2.3.2.ds1-22sarge6) but 2.3.2.ds1-22 is
to be installed

Depends: linux-kernel-headers but it is not going to be
installed

locales: Depends: glibc-2.3.2.ds1-22sarge6

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).

root@web3-eqix-sjo:/var/cache/apt/archives# apt-get -f install

Reading Package Lists... Done

Building Dependency Tree... Done

Correcting dependencies... Done

The following extra packages will be installed:

libc6

Suggested packages:

glibc-doc

The following packages will be upgraded:

libc6

1 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.

1 not fully installed or removed.

Need to get 0B/4886kB of archives.

After unpacking 233kB disk space will be freed.

Do you want to continue? [Y/n] Y

(Reading database ... 15001 files and directories currently installed.)

Preparing to replace libc6 2.3.2.ds1-22 (using
.../libc6_2.3.2.ds1-22sarge6_i386.deb) ...

Unpacking replacement libc6 ...

dpkg: error processing
/var/cache/apt/archives/libc6_2.3.2.ds1-22sarge6_i386.deb (--unpack):

trying to overwrite `/usr/share/zoneinfo/Africa/Algiers', which is also
in package tzdata

dpkg-deb: subprocess paste killed by signal (Broken pipe)

Errors were encountered while processing:

/var/cache/apt/archives/libc6_2.3.2.ds1-22sarge6_i386.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

root@web3-eqix-sjo:/var/cache/apt/archives#







  Réponse avec citation
Vieux 17/08/2007, 21h00   #2
Siwei Zhang
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut apt-get install problem

Hi there,



I have some problems. The attached are the errors. Could someone ?
Thank you very much.



Regards,



Kevin SZ



root@mediaswitch2-eqix-sjo:~# apt-get install -f

Reading Package Lists... Done

Building Dependency Tree... Done

The following extra packages will be installed:

devfsd

The following packages will be upgraded:

devfsd

1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.

83 not fully installed or removed.

Need to get 0B/52.1kB of archives.

After unpacking 41.0kB of additional disk space will be used.

Do you want to continue? [Y/n] Y

Preconfiguring packages ...

(Reading database ... 11696 files and directories currently installed.)

Preparing to replace devfsd 1.3.25-16 (using
.../devfsd_1.3.25-19_i386.deb) ...

Unpacking replacement devfsd ...

Error: the current /etc/modules.conf is not automatically generated.

dpkg: warning - old post-removal script returned error exit status 1

dpkg - trying script from the new package instead ...

Error: the current /etc/modules.conf is not automatically generated.

dpkg: error processing /var/cache/apt/archives/devfsd_1.3.25-19_i386.deb
(--unpack):

subprocess new post-removal script returned error exit status 1

Error: the current /etc/modules.conf is not automatically generated.

dpkg: error while cleaning up:

subprocess post-removal script returned error exit status 1

Errors were encountered while processing:

/var/cache/apt/archives/devfsd_1.3.25-19_i386.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

root@mediaswitch2-eqix-sjo:~#



  Réponse avec citation
Vieux 17/08/2007, 21h00   #3
Siwei Zhang
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut apt-get install problem

Hi there,



I have some problems. The attached are the errors. Could someone ?
Thank you very much.



Regards,



Kevin SZ



root@mediaswitch2-eqix-sjo:~# apt-get install -f

Reading Package Lists... Done

Building Dependency Tree... Done

The following extra packages will be installed:

devfsd

The following packages will be upgraded:

devfsd

1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.

83 not fully installed or removed.

Need to get 0B/52.1kB of archives.

After unpacking 41.0kB of additional disk space will be used.

Do you want to continue? [Y/n] Y

Preconfiguring packages ...

(Reading database ... 11696 files and directories currently installed.)

Preparing to replace devfsd 1.3.25-16 (using
.../devfsd_1.3.25-19_i386.deb) ...

Unpacking replacement devfsd ...

Error: the current /etc/modules.conf is not automatically generated.

dpkg: warning - old post-removal script returned error exit status 1

dpkg - trying script from the new package instead ...

Error: the current /etc/modules.conf is not automatically generated.

dpkg: error processing /var/cache/apt/archives/devfsd_1.3.25-19_i386.deb
(--unpack):

subprocess new post-removal script returned error exit status 1

Error: the current /etc/modules.conf is not automatically generated.

dpkg: error while cleaning up:

subprocess post-removal script returned error exit status 1

Errors were encountered while processing:

/var/cache/apt/archives/devfsd_1.3.25-19_i386.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

root@mediaswitch2-eqix-sjo:~#



  Réponse avec citation
Vieux 18/08/2007, 03h10   #4
manphiz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apt-get failed to install anything

Siwei Zhang wrote:
> root@web3-eqix-sjo:/var/cache/apt/archives# more /etc/debian_version
>
> 3.1


You are using sarge, but your apt repository is pointing to current
stable "etch", which makes your apt unusable. You should follow
sarge->etch upgrade guide first by refering to etch release note:
http://www.debian.org/releases/etch/...rading.en.html


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 04h18.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13569 seconds with 12 queries