LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't install kdepim (https://www.linuxquestions.org/questions/linux-newbie-8/cant-install-kdepim-320523/)

drkimusa 05-05-2005 04:55 PM

Can't install kdepim
 
I installed kde-3.4.0-0.fc3.i386 from rpms but am unable to install kdepim. I get the following error: public key not available for kdepim-3.4.0-4.i386.rpm.

I tried importing gpg key:
[root@localhost Kimberly]# sudo rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora
warning: cannot get exclusive lock on /var/lib/rpm/Packages

I tried adding repo list from apt.kde-redhat.org/apt/kde-redhat/fedora/kde-redhat.repo to etc/yum.conf and got a Cannot find a valid baseurl for repo: kde-redhat-stable error.
I tried editing repo list to add baseurl

apt.kde-redhat.org/apt/kde-redhat/fedora/3.91/i386/stable/mirrors/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Thu, 05 May 2005 19:58:41 GMT
Server: Apache/2.0.40 (Red Hat Linux)
Vary: accept-language
Accept-Ranges: bytes
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1
Trying other mirror.
Cannot open/read repomd.xml file for repository: kde-redhat-stable
failure: repodata/repomd.xml from kde-redhat-stable: [Errno 256] No more mirrors to try.

I removed the repo list and tried running yum without gpgcheck

[root@localhost Kimberly]# yum install /home/Kimberly/kdepim-3.4.0-0.fc3.0.i386.rpm gpgcheck=0
Setting up Install Process
Setting up repositories
development 100% |=========================| 1.1 kB 00:00
extras-development 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Parsing package install arguments
Examining /home/Kimberly/kdepim-3.4.0-0.fc3.0.i386.rpm: kdepim - 6:3.4.0-0.fc3.0.i386
Marking /home/Kimberly/kdepim-3.4.0-0.fc3.0.i386.rpm to be installed
Traceback (most recent call last):
File "/usr/bin/yum", line 15, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 72, in main
result, resultmsgs = do()
File "/usr/share/yum-cli/cli.py", line 412, in doCommands
return self.installPkgs()
File "/usr/share/yum-cli/cli.py", line 779, in installPkgs
mypkg = self.returnPackageByDep(arg)
File "__init__.py", line 1217, in returnPackageByDep
ValueError: need more than 1 value to unpack
[root@localhost Kimberly]#

I'm out of ideas. Can anyone help?
:newbie:

jsutton 05-06-2005 11:19 AM

Re: Can't install kdepim
 
Quote:

Originally posted by drkimusa
I tried importing gpg key:
[root@localhost Kimberly]# sudo rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora
warning: cannot get exclusive lock on /var/lib/rpm/Packages
This usually occurs if you have another instance of rpm running (when you run rpm, it creates a lock file that signals to other possible instances that it is running, and possibly writing information to the RPM database). You can assertain whether there are any more rpm processes running by running:

Code:

sudo /sbin/pidof rpm
If there are any running (it will return a PID number(s) if there are), you can run:

Code:

sudo killlall rpm
.

If there are not any other rpm processes running (running pidof doesn't return any PIDs), try this:

Code:

sudo rm -f /var/lock/rpm/transaction
And then try to run your command again. ;)

drkimusa 05-07-2005 09:49 AM

Thanks that helped. Unfortunately, it wasn't the key I needed. I was able to import the correct key using the key manager and then got an error saying the package was unsigned. If I set checksig=0, then I got (the now famous) ValueError: need more than 1 value to unpack.

I finally got it installed by updating up2date and running from the command line:
up2date install kdepim

Who knew?

Thanks again for the help


All times are GMT -5. The time now is 04:30 PM.