LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-14-2004, 11:04 AM   #1
Jmeindl
LQ Newbie
 
Registered: Jan 2004
Posts: 16

Rep: Reputation: 0
Apt-Get (RPM Install Issues)


Ok.....I've got fed up with searching for file dependencies, and then finding file dependences for the files dependences. So I am trying ot install Apt-get. I am running RH9 and have the RPM of Apt-get. . . however how can I tell if it's installed correctly? I tried running a few apt-get commands in shell and keep getting the error message "command not found". Any idea where to start?
 
Old 01-14-2004, 11:10 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
ok well first :
what rpm did you get?
what command did you use to install it?
what command do you type to run it ?
 
Old 01-14-2004, 11:17 AM   #3
Jmeindl
LQ Newbie
 
Registered: Jan 2004
Posts: 16

Original Poster
Rep: Reputation: 0
apt-0.5.5cnc6-0.fdr.8.rh90.i386.rpm is the rpm package I used to install. I did not how ever do a command line install, instaed I used (in kde) right click - install packages. . . gives me the little progress windows as it install. I get no error messages until I try and run it.
 
Old 01-14-2004, 11:18 AM   #4
Jmeindl
LQ Newbie
 
Registered: Jan 2004
Posts: 16

Original Poster
Rep: Reputation: 0
command i used to test to try and run it was apt-get -h <the help command>
 
Old 01-14-2004, 12:30 PM   #5
Jmeindl
LQ Newbie
 
Registered: Jan 2004
Posts: 16

Original Poster
Rep: Reputation: 0
I ran the rpm -qlp <package name>

warning: apt-0.5.5cnc6-0.fdr.8.rh90.i386.rpm: V3 DSA signature: NOKEY, key ID 8df56d05
/etc/apt
/etc/apt/apt.conf
/etc/apt/apt.conf.d
/etc/apt/gpg
/etc/apt/gpg/gpg-pubkey-897da07a-3c979a7f
/etc/apt/gpg/gpg-pubkey-8df56d05-3e828977
/etc/apt/gpg/gpg-pubkey-db42a60e-37ea5438
/etc/apt/preferences
/etc/apt/rpmpriorities
/etc/apt/sources.list
/etc/apt/sources.list.d
/etc/apt/sources.list.d/macromedia.list
/etc/apt/vendors.list
/etc/apt/vendors.list.d
/usr/bin/apt-cache
/usr/bin/apt-cdrom
/usr/bin/apt-config
/usr/bin/apt-get
/usr/bin/apt-shell
/usr/bin/genbasedir
/usr/bin/genpkglist
/usr/bin/gensrclist
/usr/lib/apt
/usr/lib/apt/methods
/usr/lib/apt/methods/bzip2
/usr/lib/apt/methods/cdrom
/usr/lib/apt/methods/copy
/usr/lib/apt/methods/file
/usr/lib/apt/methods/ftp
/usr/lib/apt/methods/gpg
/usr/lib/apt/methods/gzip
/usr/lib/apt/methods/http
/usr/lib/apt/methods/rsh
/usr/lib/apt/methods/ssh
/usr/lib/apt/scripts
/usr/lib/apt/scripts/gpg-checker.lua
/usr/lib/apt/scripts/gpg-import.lua
/usr/lib/apt/scripts/kernel-upgrade.lua
/usr/lib/apt/scripts/preserve-conf.lua
/usr/lib/libapt-pkg-libc6.3-5.so.0
/usr/lib/libapt-pkg-libc6.3-5.so.0.0.0
/usr/share/doc/apt-0.5.5cnc6
/usr/share/doc/apt-0.5.5cnc6/ABOUT-NLS
/usr/share/doc/apt-0.5.5cnc6/AUTHORS
/usr/share/doc/apt-0.5.5cnc6/AUTHORS.RPM
/usr/share/doc/apt-0.5.5cnc6/COPYING
/usr/share/doc/apt-0.5.5cnc6/COPYING.GPL
/usr/share/doc/apt-0.5.5cnc6/TODO
/usr/share/doc/apt-0.5.5cnc6/contrib
/usr/share/doc/apt-0.5.5cnc6/contrib/apt-files
/usr/share/doc/apt-0.5.5cnc6/contrib/apt-files/README
/usr/share/doc/apt-0.5.5cnc6/contrib/apt-files/apt-files.conf
/usr/share/doc/apt-0.5.5cnc6/contrib/apt-files/apt-files.lua
/usr/share/doc/apt-0.5.5cnc6/contrib/apt-files/convert.py
/usr/share/doc/apt-0.5.5cnc6/contrib/apt-rpm
/usr/share/doc/apt-0.5.5cnc6/contrib/apt-rpm/apt-rpm
/usr/share/doc/apt-0.5.5cnc6/contrib/apt-rpm/apt-rpm.1
/usr/share/doc/apt-0.5.5cnc6/examples
/usr/share/doc/apt-0.5.5cnc6/examples/apt.conf
/usr/share/doc/apt-0.5.5cnc6/examples/configure-index
/usr/share/doc/apt-0.5.5cnc6/examples/sources.list
/usr/share/locale/de_DE/LC_MESSAGES/apt.mo
/usr/share/locale/es_ES/LC_MESSAGES/apt.mo
/usr/share/locale/it_IT/LC_MESSAGES/apt.mo
/usr/share/locale/pt_BR/LC_MESSAGES/apt.mo
/usr/share/locale/ru/LC_MESSAGES/apt.mo
/usr/share/man/man5/apt.conf.5.gz
/usr/share/man/man5/apt_preferences.5.gz
/usr/share/man/man5/sources.list.5.gz
/usr/share/man/man5/vendors.list.5.gz
/usr/share/man/man8/apt-cache.8.gz
/usr/share/man/man8/apt-cdrom.8.gz
/usr/share/man/man8/apt-config.8.gz
/usr/share/man/man8/apt-get.8.gz
/usr/share/man/man8/apt.8.gz
/var/cache/apt
/var/cache/apt/archives
/var/cache/apt/archives/partial
/var/cache/apt/genpkglist
/var/cache/apt/gensrclist
/var/state/apt
/var/state/apt/lists
/var/state/apt/lists/partial

Ok, so i go over to /usr/bin and issue the command. . . and still get command not found, i even tried ./apt-get -h still no luck
 
Old 01-14-2004, 12:46 PM   #6
dishawjp
Member
 
Registered: Dec 2003
Location: Central New York
Distribution: RH/Fedora/SUSE
Posts: 64

Rep: Reputation: 15
A couple of things...

First, you must be root to run apt-get. If, for some reason /usr/bin is not in your path, try the command:

# /usr/bin/apt-get update

to see what happens. If you're online, you should see your computer connect to whatever apt repositories you have in your /etc/apt/sources.list file. If this doesn't happen, send in the error output you get from the terminal window and maybe I can figure out what's going on from that. If the update command is successful, then issue the command

# /usr/bin/apt-get upgrade

and if that's successful do a:

#apt-get install synaptic

which will give you a GUI interface to run apt from.

It does appear to be installed from what you've sent in, so if the error message is "command not found" I can only guess that it's a path issue.

[edit]

Doh!!

I just reread your post and it's not a path issue, and the "apt-get -h" command is, I believe, a valid command. Just try the "apt-get update" as root. Also maybe "man apt-get" or "man apt" since you should now have the man pages installed.

Jim Dishaw

Last edited by dishawjp; 01-14-2004 at 12:54 PM.
 
Old 01-14-2004, 01:23 PM   #7
Jmeindl
LQ Newbie
 
Registered: Jan 2004
Posts: 16

Original Poster
Rep: Reputation: 0
first off thanks for your reply!

[root@dhcphost164 bin]# /usr/bin/apt-get update
bash: /usr/bin/apt-get: No such file or directory

[root@dhcphost164 root]# man apt-get
No manual entry for apt-get
[root@dhcphost164 root]# man apt
No manual entry for apt
[root@dhcphost164 root]#


Is this looking like a path issue?
 
Old 01-14-2004, 02:43 PM   #8
dishawjp
Member
 
Registered: Dec 2003
Location: Central New York
Distribution: RH/Fedora/SUSE
Posts: 64

Rep: Reputation: 15
No, that does not appear to be a path issue. That's just plain weird.

Ok, this is a lousy way to approach things, but I would do a removal and a reinstallation of apt-get.

# rpm -e apt

then "cd" to where you have the original apt*.rpm file stored and

#rpm -Uvh apt-0.5.5cnc6-0.fdr.8.rh90.i386.rpm

Or better yet, go to http://apt.freshrpms.net

and download

apt-0.5.5cnc6-fr1.i386.rpm

and use that one instead. That's the one that I have used successfully several times and know that it works well.

Wish I had a better answer...

I have been using apt4rpm since RH 6.2 and use it instead of up2date, yum, current, redcarpet or any of those other updaters.

Wait, just had a last thought. You don't have redcarpet from Ximian installed, do you? Redcarpet and apt do not play well together. Once I actually ended up doing a reinstall of RH9 because of that. About the only time I've ever had to do a Linux reinstall, it almost made me feel like a Windows user

Jim Dishaw
 
Old 01-14-2004, 03:11 PM   #9
Jmeindl
LQ Newbie
 
Registered: Jan 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Jim:

it worked!!!!!! I dwn the rpm u suggested....thanks alot
 
Old 01-15-2004, 07:21 AM   #10
dishawjp
Member
 
Registered: Dec 2003
Location: Central New York
Distribution: RH/Fedora/SUSE
Posts: 64

Rep: Reputation: 15
Glad I was able to help!

Enjoy!

Jim Dishaw
 
  


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
How to install rpm from local directory using apt-get? Miro1 Linux - Software 6 07-11-2013 11:34 PM
GTK+ and rpm install and compile issues Mandrake 10.0 keflavich Linux - Newbie 3 08-27-2004 07:39 PM
attempt to install APT RPM FC2 Slyder42 Linux - Software 1 08-16-2004 10:52 PM
I can't install apt RPM no application associated yeehi Fedora - Installation 1 05-25-2004 04:11 AM
2 issues regarding AfterStep RPM install Jongi Linux - Newbie 1 08-27-2003 02:23 PM


All times are GMT -5. The time now is 01:54 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration