LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   APT on redhat (https://www.linuxquestions.org/questions/linux-software-2/apt-on-redhat-74703/)

jon_k 07-21-2003 07:33 PM

APT on redhat
 
OK... i got apt-0.5.5cnc6-fr1.i386.rpm

and I get the following when I try and install

To make sure it wasnt some BS error -- I tried apt get even after trying to rpm this ... but still cmd not found..

NOTE: I have no user or group named dude -- I don't know who that is, and I never met them in my life! NO IDEA WHO/WHAT/WHY it is
Code:

[root@localhost .gnome-desktop]# rpm -ivh apt-0.5.5cnc6-fr1.src.rpm
warning: apt-0.5.5cnc6-fr1.src.rpm: V3 DSA signature: NOKEY, key ID e42d547b
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
  1:apt                    ########################################### [100%]
[root@localhost .gnome-desktop]#

As I said above... I tried APT even after I had tried installing with all the bogus dude crap

Code:

[root@localhost .gnome-desktop]# apt-get --help
bash: apt-get: command not found
[root@localhost .gnome-desktop]# apt get --help
bash: apt: command not found
[root@localhost .gnome-desktop]# apt-get update
bash: apt-get: command not found
[root@localhost .gnome-desktop]# apt get update
bash: apt: command not found
[root@localhost .gnome-desktop]#


ranger_nemo 07-21-2003 07:49 PM

From the [100%], it looks like it installed. Try the following command...

apt-get update

If it works, it will update the list of packages it can install. From there, you can...

apt-get install packagename

...replacing packagename, of course. Or...

apt-get upgrade

...will upgrade all already-installed packages to the latest versions.

jon_k 07-21-2003 08:30 PM

Nope...
Code:

[jon@localhost jon]$ apt-get update
bash: apt-get: command not found
[jon@localhost jon]$ su
Password:
[root@localhost jon]# apt-get update
bash: apt-get: command not found
[root@localhost jon]# locate apt-get
[root@localhost jon]#

I don't understand. Who the hell is dude?!
:Pengy: :Pengy: :Pengy: :Pengy: :Pengy:

jon_k 07-21-2003 08:36 PM

Far far away on this forum somewhere... this guy was trying to install something (not related to apt at all) and he got the same error (the dude user group error)

a guy replied with
well it means what it says... the user and group that the rpm is set to install under doesn't exist. either you're using dodgy rpms or maybe you've been playing with your own system configuration too much? add an extra "v" to that set of options and see if you can see what the group and user actually is.

I don't think this is the case on my part -- I haven't played around with any "SYSTEM" config only played with configuration with indvidual programs (and even in that case -- only after checking out the manual / how-to / documentation)

That can't be my problem... err...

Still open for suggestions. (Err. desperate!!)

BigNate 07-21-2003 08:42 PM

Where did you get the rpm?

BigNate 07-21-2003 08:44 PM

Actually I am going to bed but go to my web site and click favorite linux links and click apt.freshrms.net and d/l the one for RH9 and rpm it in and see if that works. Post back and I'll check in the morning

jon_k 07-21-2003 08:58 PM

Hillariously I got it from

http://ftp.freshrpms.net/pub/freshrp...c6-fr1.src.rpm
I also tried the first rpm (too lazy to hit the foreward button or my current post in this text field will be deleted) at http://ftp.freshrpms.net/pub/freshrpms/redhat/9/apt/ which gave me some other FUBAR error too --

eventually if i can't find help... i'll ask freshrpms via email or something i guess... i don't know

BigNate 07-21-2003 09:03 PM

I have used that rpm myself for my RH9 box and never had a problem with it. Prehaps it became corrupted during d/l. What are you using to d/l it?

jon_k 07-21-2003 10:57 PM

Yep... ok I downloaded the RPM for redhat 8.0 and i get the same error UGH ... POS... Is there a version i can compile myself?

BigNate 07-22-2003 05:19 AM

It sounds like there is something afoot with your system not the rpm.

BigNate 07-22-2003 05:20 AM

too see if did install try
$whereis apt

Mega Man X 07-22-2003 06:12 AM

That user "dude" is quite spooky. Lol... well, you don't have any user on your computer have you? Only root for what I've understood. Perhaps ( although.... I don't think so) it's an apt-get bug.

Try adding an user to your machine with

Code:

adduser -d <user name here>
Then make a password to him/her, just for fun :)

Code:

passwd <user name here>
Download again the package to your user home. Try to install from there... If still does not work, something went really really bad with your system and I've no idea what it could be....

Mega Man X 07-22-2003 06:14 AM

Or add a "dude" user... hehe, j/k, trying to cheer you up a little ;)

phragment 07-22-2003 10:23 AM

rpm command
 
have you tried "rpm -Uvh apt-0.5.5cnc6-fr1.i386.rpm"

not "rpm -ivh apt-0.5.5cnc6-fr1.i386.rpm"?

ps...I am a noob....:confused:

jon_k 07-22-2003 02:27 PM

ROFLMAO ROFLMAOROFLMAO ROFLMAOROFLMAO ROFLMAOROFLMAO ROFLMAOROFLMAO ROFLMAOROFLMAO ROFLMAOROFLMAO ROFLMAOROFLMAO ROFLMAOROFLMAO ROFLMAOROFLMAO ROFLMAO:jawa: :newbie: :confused: :eek: :cool: :rolleyes: :mad:

THE HELL

I added user/group dude like megaman said and then used the rpm -Uvh tag and i got that ============%100 crap and then it sat for about half a minute doing nothing (figured it was waiting to conger up a bs error) and then it quit

I tryed apt-get and it gave me the help msg for apt

THANKS EVERYONE WHO REPLIED AND GAVE IMPUT -- HELL EYAH ;-)


All times are GMT -5. The time now is 02:08 PM.