Mailinglist Archive: opensuse (1185 mails)
| < Previous | Next > |
[opensuse] Re: rpm v. zypper: package list should be same? yes? How to sync?
- From: Linda Walsh <suse@xxxxxxxxx>
- Date: Sat, 01 May 2010 19:50:46 -0700
- Message-id: <4BDCE886.7000504@xxxxxxxxx>
Carlos E. R. wrote:
Yeppers...I do things like that to myself. But it is related, its
not really new topic but a push down on the stack...
That's why I changed the subject line...for now, my locale
problem has become an rpm v. zypper package inconsistency problem.
The package (from below xorg.x11-libx11) is the one that contains the locale
files. Zypper thinks it is installed. rpm thinks it is not. bash and locale
agree with rpm (i.e. they give errors saying the locale can't be set to
utf8 --- as though files from xorg.x11-libx11 are missing). At least it's
the only one that had en_US.UTF-8 files in it...can't find any others
with that filename in my filename list.
Sorry...red herring. Just happens to be a package dir I'm
in, but it is not what is being referred to in the rpm or zypper commands.
No chroot...(it's the dir where I keep rpm packages -- like a 'repo'
dir, but not directly 'repo'able -- but I use it to get lists of files
from all the RPMS into files-by-arch subfiles where I can search by filename
for missing files and get pack packagenames that own those files.
That makes loads of sense to me...
Why then does the first command "zypper in xorg-x11-libx11" return that
is is already installed when rpm says it is not? That's where I'm a bit
stumped. Note -- the rpm command on my system can be executed by normal
users for 'queries' -- only needs to be root for install, so it doesn't
matter in my command line above whether I have a sudo before it or not.
Does the same thing:
rpm doesn't think it is installed (so, of course, won't verify it),
but zypper won't install it because it thinks it is installed.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
-----BEGIN PGP SIGNED MESSAGE--------
Hash: SHA1
On Saturday, 2010-05-01 at 17:52 -0700, Linda Walsh wrote:
I found the beginnings of the problem.
Of your “locale xxx.utf8?” problem? You are hijacking your own email! >:-)
Yeppers...I do things like that to myself. But it is related, its
not really new topic but a push down on the stack...
---
(I read it top to bottom, trying to find where your locale problem was
found... but no, it is an rpm problem now.)
That's why I changed the subject line...for now, my locale
problem has become an rpm v. zypper package inconsistency problem.
The package (from below xorg.x11-libx11) is the one that contains the locale
files. Zypper thinks it is installed. rpm thinks it is not. bash and locale
agree with rpm (i.e. they give errors saying the locale can't be set to
utf8 --- as though files from xorg.x11-libx11 are missing). At least it's
the only one that had en_US.UTF-8 files in it...can't find any others
with that filename in my filename list.
---
Does this make sense?
Ishtar:/suse11.2> sudo zypper in xorg-x11-libx11
Loading repository data...
Reading installed packages...
'xorg-x11-libX11' is already installed.
Resolving package dependencies...
What directory is "/suse11.2"? Do you have a chroot install, perhaps?
Sorry...red herring. Just happens to be a package dir I'm
in, but it is not what is being referred to in the rpm or zypper commands.
No chroot...(it's the dir where I keep rpm packages -- like a 'repo'
dir, but not directly 'repo'able -- but I use it to get lists of files
from all the RPMS into files-by-arch subfiles where I can search by filename
for missing files and get pack packagenames that own those files.
---
Nothing to do.
Ishtar:/suse11.2> rpm -V xorg-x11-libx11
package xorg-x11-libx11 is not installed
Ishtar:/suse11.2> rpm -q xorg-x11-libx11
package xorg-x11-libx11 is not installed
rpm -qa | grep -i xorg-x11
I don't see an option to zypper to syncrhonize it with rpm or
for it to verify packages on disk. Anyone know how to get it
to do either?
No, zypper has to ask rpm for the list of installed packages, and to do
the real install.
That makes loads of sense to me...
Why then does the first command "zypper in xorg-x11-libx11" return that
is is already installed when rpm says it is not? That's where I'm a bit
stumped. Note -- the rpm command on my system can be executed by normal
users for 'queries' -- only needs to be root for install, so it doesn't
matter in my command line above whether I have a sudo before it or not.
Does the same thing:
rpm doesn't think it is installed (so, of course, won't verify it),
but zypper won't install it because it thinks it is installed.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |