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 > Re: have I messed up package management?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

Re: have I messed up package management?

Réponse
 
LinkBack Outils de la discussion
Vieux 26/02/2007, 01h30   #1
Steve Kleene
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: have I messed up package management?

References: <200702252114.QAA20605@syrano.acb.uc.edu> <20070225215152.GD11378@santiago.connexer.com> <45E2072D.80704@cox.net>

On Sun Feb 25 16:15:46 2007, I wrote:

> What I did was to put in alsa-base 1.0.14-rc1 from Debian experimental and
> alsa-lib and alsa-driver 1.0.14rc2 from source. I made deb files of these
> two but couldn't install them that way because of conflicts. I tried
> checkinstall from unstable as well as dpkg -i.
> ...
> Am I likely to have a mess on my hands upgrading any of the packages
> involved? Thanks.


On Sun Feb 25 16:20:22 2007, Roberto C. Sanchez replied:

> That depends. If you provide the exact error messages from dpkg when
> you try to install with 'dpkg -i', then we can probably suggest how to
> rebuild your .debs so that they will work with your setup.


and on Sun Feb 25 16:27:56 2007, Ron Johnson said:

> Getting your packages installed will/should solve that, though.
>
> What error messages were you getting?


Here are the only errors I got with the deb files I made:

dpkg -i alsa-lib_1.0.14rc2-1_i386.deb ->
dpkg: error processing alsa-lib_1.0.14rc2-1_i386.deb (--install): trying to
overwrite `/usr/bin/nm', which is also in package binutils
dpkg -i alsa-driver_1.0.14rc2-1_i386.deb ->
dpkg: error processing alsa-driver_1.0.14rc2-1_i386.deb (--install):
trying to overwrite `/lib/modules/2.6.18-3-686/modules.isapnpmap', which
is also in package linux-image-2.6.18-3-686

However, I also listed all the files my deb files would install (with
dpkg-deb --contents *.deb). For lib, there were 80 files that already had
versions installed, most but not all from libasound2. For driver, there were
13 files that already had versions installed, all from
linux-image-2.6.18-3-686. As I said, I ran "make install" anyway but now
wonder what will happen if I try to upgrade libasound2, for example.

Thanks again.


--
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 26/02/2007, 01h50   #2
Ron Johnson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: have I messed up package management?

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

On 02/25/07 18:46, Steve Kleene wrote:
> References: <200702252114.QAA20605@syrano.acb.uc.edu> <20070225215152.GD11378@santiago.connexer.com> <45E2072D.80704@cox.net>
>
> On Sun Feb 25 16:15:46 2007, I wrote:
>
>> What I did was to put in alsa-base 1.0.14-rc1 from Debian experimental and
>> alsa-lib and alsa-driver 1.0.14rc2 from source. I made deb files of these
>> two but couldn't install them that way because of conflicts. I tried
>> checkinstall from unstable as well as dpkg -i.
>> ...
>> Am I likely to have a mess on my hands upgrading any of the packages
>> involved? Thanks.

>
> On Sun Feb 25 16:20:22 2007, Roberto C. Sanchez replied:
>
>> That depends. If you provide the exact error messages from dpkg when
>> you try to install with 'dpkg -i', then we can probably suggest how to
>> rebuild your .debs so that they will work with your setup.

>
> and on Sun Feb 25 16:27:56 2007, Ron Johnson said:
>
>> Getting your packages installed will/should solve that, though.
>>
>> What error messages were you getting?

>
> Here are the only errors I got with the deb files I made:
>
> dpkg -i alsa-lib_1.0.14rc2-1_i386.deb ->
> dpkg: error processing alsa-lib_1.0.14rc2-1_i386.deb (--install): trying to
> overwrite `/usr/bin/nm', which is also in package binutils
> dpkg -i alsa-driver_1.0.14rc2-1_i386.deb ->
> dpkg: error processing alsa-driver_1.0.14rc2-1_i386.deb (--install):
> trying to overwrite `/lib/modules/2.6.18-3-686/modules.isapnpmap', which
> is also in package linux-image-2.6.18-3-686
>
> However, I also listed all the files my deb files would install (with
> dpkg-deb --contents *.deb). For lib, there were 80 files that already had
> versions installed, most but not all from libasound2. For driver, there were
> 13 files that already had versions installed, all from
> linux-image-2.6.18-3-686. As I said, I ran "make install" anyway but now
> wonder what will happen if I try to upgrade libasound2, for example.


One way to find out... :\

Note that in any "install your own s/w" situation, there will always
be issues when you upgrade conflicting packages. You've just got to
reinstall.

For example, I manually installed the nvidia binary driver, so
whenever apt upgrades xorg, it installs it's own libglx.so into
/usr/lib/xorg/modules/extensions, so I have to manually recreate a
symlink from libglx.so.1.0.NNNN to libglx.so.

BTW, why wouldn't alsa-source 1.0.14~rc1-1 from experimental solve
your problem?




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF4jrAS9HxQb37XmcRAgmqAJ9YYsd0YVaDMkOALmdxic RoztR41wCg2JNY
XYBx9b/2+xxjF6dADjb0emc=
=xmA8
-----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
Vieux 26/02/2007, 03h30   #3
Roberto C. Sanchez
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: have I messed up package management?

On Sun, Feb 25, 2007 at 07:46:40PM -0500, Steve Kleene wrote:
>
> Here are the only errors I got with the deb files I made:
>
> dpkg -i alsa-lib_1.0.14rc2-1_i386.deb ->
> dpkg: error processing alsa-lib_1.0.14rc2-1_i386.deb (--install): trying to
> overwrite `/usr/bin/nm', which is also in package binutils


This is really bad. How did /usr/bin/nm get into your package?

> dpkg -i alsa-driver_1.0.14rc2-1_i386.deb ->
> dpkg: error processing alsa-driver_1.0.14rc2-1_i386.deb (--install):
> trying to overwrite `/lib/modules/2.6.18-3-686/modules.isapnpmap', which
> is also in package linux-image-2.6.18-3-686
>
> However, I also listed all the files my deb files would install (with
> dpkg-deb --contents *.deb). For lib, there were 80 files that already had
> versions installed, most but not all from libasound2. For driver, there were
> 13 files that already had versions installed, all from
> linux-image-2.6.18-3-686. As I said, I ran "make install" anyway but now
> wonder what will happen if I try to upgrade libasound2, for example.
>

How did you build this package?

Regards,

-Roberto

--
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFF4lIA1snWssAFC08RAlaxAJ9K8xMwlL5pzfblnqKjIf ynPaHtxQCfbq2Q
3Nv6dGIKWhqrwsXj1z3CcRE=
=v7C9
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 26/02/2007, 10h00   #4
Mathias Brodala
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: have I messed up package management?

Hello Roberto.

Roberto C. Sanchez, 26.02.2007 04:20:
> On Sun, Feb 25, 2007 at 07:46:40PM -0500, Steve Kleene wrote:
>> Here are the only errors I got with the deb files I made:
>>
>> dpkg -i alsa-lib_1.0.14rc2-1_i386.deb ->
>> dpkg: error processing alsa-lib_1.0.14rc2-1_i386.deb (--install): trying to
>> overwrite `/usr/bin/nm', which is also in package binutils

>
> This is really bad. How did /usr/bin/nm get into your package?


This a (at least to me) known bug of Checkinstall. It sometimes includes sytem
binaries like the above, gcc and such in the package. Don’t ask me why.


Regards, Mathias

--
debian/rules


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

iD8DBQFF4q65YfUFJ3ewsJgRAlYAAJ9AWClsCRTmHlv4QmwnCa +KypXe4ACfQosE
WhpzaNqFG6e8wMtEfYE7Atw=
=HP7m
-----END PGP SIGNATURE-----

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


É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,65732 seconds with 12 queries