LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2005, 10:32 PM   #1
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Rep: Reputation: 30
rpm help


Im having problem installing an RPM file. when i first tried to install it i couldn't find my FC3 cd#4 which it was asking for. So i canceled the install till i could find the cd i brought it back up to install it and it tells me that it is already installed. Is there a way i can remove this partial installation?
 
Old 05-14-2005, 10:58 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
What package are you trying to install. You can check whether it has been installed by doing,
Code:
#rpm -qa | grep -i packagename
You may be better off using APT/SYNAPTIC to install packages. You can get apt for Fedora Core from the fedoraproject.
 
Old 05-15-2005, 01:44 AM   #3
mohit dhawan
Member
 
Registered: Mar 2005
Posts: 92

Rep: Reputation: 15
rpm -e <package_name_without_ rpm_extension>

well i find rpm the easiest .
sometimes with all those dependencies not going ur way u could use yum...
 
Old 05-15-2005, 12:16 PM   #4
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
Trying to use apt-get but cant find Gdesklets

Do you know if i could install gdesklets from apt-get?
 
Old 05-15-2005, 01:22 PM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You need to add extra repositories like that of the fedoraprojet and dag.
 
Old 05-15-2005, 02:19 PM   #6
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
So i can add repositories to apt-get just like yum?
 
Old 05-15-2005, 02:25 PM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Thats exactly what my last post meant. The procedure is similar but you have to read up on the Fedora project or dags website for the exact details.
 
Old 05-15-2005, 02:41 PM   #8
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
Ok, next problem

I have got dag repositories up and working. It has removed my half installed gdesklets file. However, im now getting the following when i try apt-get install gdesklets

Quote:

[root@localhost sources.list.d]# apt-get install gdesklets-clock
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
gdesklets-clock: Depends: gdesklets but it is not going to be installed
E: Broken packages
does that mean i should try to remove the package gnome-python?
 
Old 05-15-2005, 02:57 PM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Ok, if you have broken packages do "apt-get --fix-broken" as root or use the option in synaptic.
 
Old 05-15-2005, 03:18 PM   #10
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
Quote:
[root@localhost sources.list.d]# apt-get --fix-broken
apt 0.5.15cnc7 for linux i386 compiled on Mar 28 2005 13:42:58
Usage: apt-get [options] command
apt-get [options] install|remove pkg1 [pkg2 ...]
apt-get [options] source pkg1 [pkg2 ...]

apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.

Commands:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages (pkg is libc6 not libc6.rpm)
remove - Remove packages
source - Download source archives
build-dep - Configure build-dependencies for source packages
dist-upgrade - Distribution upgrade, see apt-get(8)
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies
mirror-select - Select repositories and mirrors for use with apt

Options:
-h This help text.
-q Loggable output - no progress indicator
-qq No output except for errors
-d Download only - do NOT install or unpack archives
-s No-act. Perform ordering simulation
-y Assume Yes to all queries and do not prompt
-f Attempt to continue if the integrity check fails
-m Attempt to continue if archives are unlocatable
-u Show a list of upgraded packages as well
-b Build the source package after fetching it
-D When removing packages, remove dependencies as possible
-V Show verbose version numbers
-c=? Read this configuration file
-o=? Set an arbitary configuration option, eg -o dir::cache=/tmp
See the apt-get(8), sources.list(5) and apt.conf(5) manual
pages for more information and options.
This APT has Super Cow Powers.
[root@localhost sources.list.d]#
Thats what i get, i tried to specify the package also but it tells me thats an invalid option.
 
Old 05-15-2005, 03:55 PM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Run synaptic -> edit -> fix broken packages and the problem should be sorted.
 
Old 05-17-2005, 09:53 PM   #12
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
Quote:
Run synaptic -> edit -> fix broken packages and the problem should be sorted.

sorry but how do i run that? if thats part of apt so far i only have the terminal command version?


sorry but I'm new to this
 
Old 05-18-2005, 08:41 AM   #13
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Thats the gui for apt. If you don't have it installed, do "apt-get install synaptic" as root.
 
Old 05-19-2005, 10:30 AM   #14
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
I have installed synaptic and when i look for the package gnome-python2-gconf it is not in the list. I tried to install it and it gave me this error

Quote:
Package gnome-python2-gconf has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
E: Package gnome-python2-gconf has no installation candidate
I tried fixing broken on anything that had to do with gnome-python2 and still no go.

Should i try to remove it and re-install it? if so how can i do this?

thanks
 
Old 05-21-2005, 11:34 AM   #15
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
Well i fixed the problem i was having but it has led me into another problem


Quote:
[root@localhost studentx]# gdesklets --help
Error in sys.excepthook:
Traceback (most recent call last):
File "/dar/tmp/gdesklets-0.34.3-1.1.fc3.rf-root/usr/share/gdesklets/utils/__init__.py", line 23, in _pretty_excepthook
File "/dar/tmp/gdesklets-0.34.3-1.1.fc3.rf-root/usr/share/gdesklets/utils/ErrorFormatter.py", line 77, in format
File "/dar/tmp/gdesklets-0.34.3-1.1.fc3.rf-root/usr/share/gdesklets/utils/vfs.py", line 102, in exists
NameError: global name 'gnomevfs' is not defined

Original exception was:
Traceback (most recent call last):
File "/usr/bin/gdesklets", line 4, in ?
from main.DisplayList import DisplayList
File "/dar/tmp/gdesklets-0.34.3-1.1.fc3.rf-root/usr/share/gdesklets/utils/ErrorFormatter.py", line 119, in _new_imp
File "/dar/tmp/gdesklets-0.34.3-1.1.fc3.rf-root/usr/share/gdesklets/main/DisplayList.py", line 4, in ?
File "/dar/tmp/gdesklets-0.34.3-1.1.fc3.rf-root/usr/share/gdesklets/utils/ErrorFormatter.py", line 119, in _new_imp
File "/dar/tmp/gdesklets-0.34.3-1.1.fc3.rf-root/usr/share/gdesklets/utils/vfs.py", line 120, in ?
NameError: name 'exists_urllib2' is not defined
is there something else i need to install?

thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 05:24 PM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
Suggestions requested on upgrading a stock RH rpm with a third-party rpm obarney Linux - Software 5 05-21-2003 05:07 PM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 04:55 PM


All times are GMT -5. The time now is 05:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration