[opensuse] smart howto handle dependencies?
ref: opensuse 10.3 smart: 0.51 Q: if you have many packages to upgrade but few are dependent of a library that is not available for example, how can you install upgrades that are OK and leave the ones that are not?. I have been doing it one by one but that is not good. What I am missing. example: I have many upgrades and I get the following error. <<<<<<<<<< file /usr/lib64/libmtp.so.6 from install of libmtp7-0.2.3-0.pm.1 conflicts with file from package libmtp-0.2.1-10 file /usr/share/hal/fdi/information/20thirdparty/10-usb-music-players-libmtp.fdi from install of libmtp7-0.2.3-0.pm.1 conflicts with file from package libmtp-0.2.1-10
>>>>
How can I skip this error and continue upgrading the rest of the packages? TIA -=terrry=- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 2007-10-30 at 06:20 -0600, Teruel de Campo MD wrote:
ref: opensuse 10.3 smart: 0.51
Q: if you have many packages to upgrade but few are dependent of a library that is not available for example, how can you install upgrades that are OK and leave the ones that are not?. I have been doing it one by one but that is not good. What I am missing.
example:
I have many upgrades and I get the following error.
<<<<<<<<<< file /usr/lib64/libmtp.so.6 from install of libmtp7-0.2.3-0.pm.1 conflicts with file from package libmtp-0.2.1-10 file /usr/share/hal/fdi/information/20thirdparty/10-usb-music-players-libmtp.fdi from install of libmtp7-0.2.3-0.pm.1 conflicts with file from package libmtp-0.2.1-10
>>>>>
How can I skip this error and continue upgrading the rest of the packages?
TIA
-=terrry=-
# smart remove libmtp This dependency problem also exists with yast2 -- Regards, Aniruddha Please adhere to the OpenSUSE_mailing_list_netiquette http://en.opensuse.org/OpenSUSE_mailing_list_netiquette -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* Teruel de Campo MD
ref: opensuse 10.3 smart: 0.51
Q: if you have many packages to upgrade but few are dependent of a library that is not available for example, how can you install upgrades that are OK and leave the ones that are not?. I have been doing it one by one but that is not good. What I am missing.
example:
I have many upgrades and I get the following error.
<<<<<<<<<< file /usr/lib64/libmtp.so.6 from install of libmtp7-0.2.3-0.pm.1 conflicts with file from package libmtp-0.2.1-10 file /usr/share/hal/fdi/information/20thirdparty/10-usb-music-players-libmtp.fdi from install of libmtp7-0.2.3-0.pm.1 conflicts with file from package libmtp-0.2.1-10
>>>>>
How can I skip this error and continue upgrading the rest of the packages?
w/o removing the libtmp.so.6 smart upgrade --update --explain --stepped upgrade upgrades installed packages - --update updates the package database - --stepped allows installation of singular packages including their dependencies Y/N - --explain denotes the dependencies/requirements this information is all available in the man pages/docs and/or from the commandline, ie: smart upgrade --help smart install --help smart --help ..... <rant> One of our biggest contunual gripes is the "lack of"/"poor quality of" documentation. We should at least try the documentation as some of it makes sense even to me :^) </rant> - -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn4472 (GNU/Linux) iD8DBQFHJy/DClSjbQz1U5oRAhZAAJ9H9SEDHGAKiVkYxXxH0NxYtikWHwCgmKIl 2JQh5lWDo8y7L/eVrL6zza8= =y45x -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Dienstag, 30. Oktober 2007 13:20:56 schrieb Teruel de Campo MD:
ref: opensuse 10.3 smart: 0.51
Q: if you have many packages to upgrade but few are dependent of a library that is not available for example, how can you install upgrades that are OK and leave the ones that are not?. I have been doing it one by one but that is not good. What I am missing.
IIRC smart can lock such packages, so that they won't be affected by the upgrade → no dependency problem (at least for the moment, the rest of the upgrade should went through without disruption). I can't tell you what the exact command syntax was, but afaik it was something with smart flag .... Greetings Michael
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* Michael Skiba
Am Dienstag, 30. Oktober 2007 13:20:56 schrieb Teruel de Campo MD:
ref: opensuse 10.3 smart: 0.51
Q: if you have many packages to upgrade but few are dependent of a library that is not available for example, how can you install upgrades that are OK and leave the ones that are not?. I have been doing it one by one but that is not good. What I am missing.
IIRC smart can lock such packages, so that they won't be affected by the upgrade → no dependency problem (at least for the moment, the rest of the upgrade should went through without disruption).
I can't tell you what the exact command syntax was, but afaik it was something with smart flag ....
smart flag --set lock <package-name>
smart flag --help
smart flag --set lock "libpoppler2 = 0.6.1-3.1@i586"
smart flag --[set remove] lock
participants (4)
-
Aniruddha
-
Michael Skiba
-
Patrick Shanahan
-
Teruel de Campo MD