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 > How to find package name for files
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

How to find package name for files

Réponse
 
LinkBack Outils de la discussion
Vieux 02/12/2006, 09h40   #1 (permalink)
Timothy Wu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut How to find package name for files

Hi,

I am trying to upgrade libstdc++.so.6.0.8 to a newer version in the /usr/lib
directory. I used aptitude to install libstdc++6-dev package. But the
/usr/lib so file is still not updated. I suspect that's not the package for
it.

Given an existing file, Is there any method to find out which package the
file comes from? If I can find out which package the file is from, maybe I
can guess the name of the newer package.

Timothy

  Réponse avec citation
Vieux 02/12/2006, 09h50   #2 (permalink)
David Hart
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to find package name for files

On Sat 2006-12-02 17:37:29 +0800, Timothy Wu wrote:

> Given an existing file, Is there any method to find out which package the
> file comes from? If I can find out which package the file is from, maybe I
> can guess the name of the newer package.


dpkg -S /path/to/file

--
David Hart <debian@tonix.org>


--
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
Vieux 02/12/2006, 10h20   #3 (permalink)
éÌØÑ óÔÒÕËÏ×
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to find package name for files

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Timothy Wu wrote:
> Hi,
>
> I am trying to upgrade libstdc++.so.6.0.8 to a newer version in the
> /usr/lib directory. I used aptitude to install libstdc++6-dev
> package. But the /usr/lib so file is still not updated. I suspect
> that's not the package for it.
>
> Given an existing file, Is there any method to find out which
> package the file comes from? If I can find out which package the
> file is from, maybe I can guess the name of the newer package.
>
> Timothy

apt-get install apt-file
apt-file update
apt-file search

man apt-file
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFcU1eGayQCPNwwHsRAl/TAJ9r5U5Hk8QtUzqsyOZ5N5RkBtdw5wCfYJLx
gxW22ist2wSYKgab/FKPndA=
=QtIM
-----END PGP SIGNATURE-----


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


Édité par : vBulletin® version 3.7.2
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
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08185 seconds with 11 queries