LinuxQuestions.org
Visit Jeremy's Blog.
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 07-31-2005, 04:35 PM   #1
trempel
Member
 
Registered: Jan 2005
Location: B.C, Canada
Distribution: Mint 17.3
Posts: 131

Rep: Reputation: 15
installing apt, the command doesn't seem to work


I was reading the LQ.org wiki on installing apt and synaptic for fedora.
It says:

"Download apt for Fedora. You might ifnd it by choosing your Fedora Core version from this page: [[3] (http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/)]. Otherwise try freshrpms (http://apt.freshrpms.net/)
After downloading, browse to the RPM file and execute:
1. rpm -Uvh apt-get* "

I have changed my working directory to the directory in which the rpm file resides, and then I entered the command (without the number, thats a step number). the terminal returns:
error: File not found by glob: apt-get*

The command is suposed to install apt, as far as I can tell. As a noob, i'm not sure what's going wrong with the command. Any help would be greatly appreciated. Thanks.
 
Old 07-31-2005, 04:57 PM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
Try putting the individual rpm filename(s) on the command line after rpm -Uvh, thus:

Code:
rpm -Uvh apt-get-1.2.3.4.rpm
 
Old 07-31-2005, 07:37 PM   #3
trempel
Member
 
Registered: Jan 2005
Location: B.C, Canada
Distribution: Mint 17.3
Posts: 131

Original Poster
Rep: Reputation: 15
OH, My most sincere apologies, I probably should have realized that was why there was an asterisk.
stupid me
 
Old 07-31-2005, 09:26 PM   #4
trempel
Member
 
Registered: Jan 2005
Location: B.C, Canada
Distribution: Mint 17.3
Posts: 131

Original Poster
Rep: Reputation: 15
I just tried it:

Code:
[travis@localhost temp]$ rpm -Uvh apt-0.5.15cnc6-1.1.fc3.fr.i386.rpm
warning: apt-0.5.15cnc6-1.1.fc3.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: can't create transaction lock
[travis@localhost temp]$
Any more ideas?
 
Old 07-31-2005, 09:33 PM   #5
trempel
Member
 
Registered: Jan 2005
Location: B.C, Canada
Distribution: Mint 17.3
Posts: 131

Original Poster
Rep: Reputation: 15
sometimes my inadequacy startles even me. When I was reading about how to install this stuff it said to first check and see if it's already there by looking on the applications menu. Of course it wasn't there.

but I just remembered a command I used a while ago

Code:
[travis@localhost temp]$ rpm -qa | grep apt
synaptics-0.13.5-5
So, Now that I know it's installed, I still don't know how to actually run it. Sorry for the stupoid questions. You can ignore that last post.
 
Old 08-01-2005, 04:45 AM   #6
thegoalie
LQ Newbie
 
Registered: Nov 2003
Distribution: slackware fedora core gentoo debian free bsd
Posts: 29

Rep: Reputation: 15
sounds to me that the rpm databse is still open for viewing thats the error that you get when it cant access the database
 
Old 08-01-2005, 05:05 AM   #7
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
Quote:
Originally posted by trempel
I just tried it:

Code:
[travis@localhost temp]$ rpm -Uvh apt-0.5.15cnc6-1.1.fc3.fr.i386.rpm
warning: apt-0.5.15cnc6-1.1.fc3.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: can't create transaction lock
[travis@localhost temp]$
Any more ideas?

This is usually because you're not root. Try running the command as root.
 
Old 08-01-2005, 05:05 AM   #8
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
Oh and if it is actually installed then you can run it by going

Code:
synaptic &
 
  


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
why wont the emerge command work when i am installing gentoo? mdpniesta Linux - Software 1 11-27-2004 02:16 AM
apt-get query command? bruno buys Debian 1 07-14-2004 08:31 AM
How do you run a command before and after running apt-get? haimeltjnfg Debian 2 05-30-2004 09:10 PM
"make" command won't work in Fedora...installing Nvidia Ethernet drv's help Ge|atinousFury Linux - Hardware 24 01-22-2004 04:42 PM
apt-get error installing xlibs 4.2.1-14, apt-get won't work at all now pib Debian 1 12-10-2003 11:39 PM


All times are GMT -5. The time now is 04:51 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