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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-31-2005, 04:35 PM
|
#1
|
|
Member
Registered: Jan 2005
Location: B.C, Canada
Distribution: SuSE 10 Eval
Posts: 130
Rep:
|
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.
|
|
|
|
07-31-2005, 04:57 PM
|
#2
|
|
Member
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513
Rep:
|
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
|
|
|
|
07-31-2005, 07:37 PM
|
#3
|
|
Member
Registered: Jan 2005
Location: B.C, Canada
Distribution: SuSE 10 Eval
Posts: 130
Original Poster
Rep:
|
OH, My most sincere apologies, I probably should have realized that was why there was an asterisk.
stupid me
|
|
|
|
07-31-2005, 09:26 PM
|
#4
|
|
Member
Registered: Jan 2005
Location: B.C, Canada
Distribution: SuSE 10 Eval
Posts: 130
Original Poster
Rep:
|
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?
|
|
|
|
07-31-2005, 09:33 PM
|
#5
|
|
Member
Registered: Jan 2005
Location: B.C, Canada
Distribution: SuSE 10 Eval
Posts: 130
Original Poster
Rep:
|
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.
|
|
|
|
08-01-2005, 04:45 AM
|
#6
|
|
LQ Newbie
Registered: Nov 2003
Distribution: slackware fedora core gentoo debian free bsd
Posts: 29
Rep:
|
sounds to me that the rpm databse is still open for viewing thats the error that you get when it cant access the database
|
|
|
|
08-01-2005, 05:05 AM
|
#7
|
|
Member
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513
Rep:
|
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.
|
|
|
|
08-01-2005, 05:05 AM
|
#8
|
|
Member
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513
Rep:
|
Oh and if it is actually installed then you can run it by going
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:21 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|