LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-29-2006, 02:45 AM   #1
Bobocop
LQ Newbie
 
Registered: May 2006
Posts: 6

Rep: Reputation: 0
Package Inst./Upgrade Problem


Hi.
I just made another new Slackware 10.2 Install and this time my static IP works

Anyway I'm having a problem upgrading or Installing anything.
I downloaded Apache2.2, php5, mysql-5 and slap-get.
all packages are .tgz and they downloaded to default (desktop)

I login to root and I type "installpkg slap-get-0.9.11d-i386-1.tgz"
and I get a message saying that the package does not end In .tgz
Then I tried to type "apache2-2.0.55-i486-1jim.tgz"
and I get an error saying package not found
Same with the others.

Then I tried to extract them and that didn't work
then I tried to leave the .tgz out when I typed to upgrade and that didn't work.

The packages were downloaded from linuxpackages (thats the only place that I could find Slackware packages)

Can anyone tell me what I'm doing wrong ?
Thanks.

Last edited by Bobocop; 05-29-2006 at 02:59 AM.
 
Old 05-29-2006, 03:26 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi,

And welcome to LQ!

And what's the name of the actual file on the command-line?


Cheers,
Tink
 
Old 05-29-2006, 03:47 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119
Quote:
Originally Posted by Bobocop
The packages were downloaded from linuxpackages (thats the only place that I could find Slackware packages)
Links to several more Slackware package repositories can be found on the following page: http://slackworld.berlios.de/links.html

Eric
 
Old 05-29-2006, 04:20 AM   #4
Bobocop
LQ Newbie
 
Registered: May 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Tinkster
Hi,

And welcome to LQ!

And what's the name of the actual file on the command-line?


Cheers,
Tink
Thanks for your reply Tinkster
I'm new at this, If you mean the name of the file I downloaded, I'ts "apache2-2.0.55-i486-1jim.tgz"
and thats what I typed, The error message that comes back Is "./apache2-2.0.55-i486-1jim.tgz not found"

Right now I have apache 1.3 that came with Slackware and I'm trying to upgrade to apache 2

One other question If you don't mind.
Do I need to keep rebooting from KDE to get to the root prompt ?
or Is there some place In KDE that I can type these commands to Install or upgrade programs.
It sucks to type a command then startx to see if It's there and If not reboot again to get back to the root prompt and try again

EDITED: Thanks for the link Alien Bob
Maybe It could be the package Itself

I just tried upgrading mysql and It upgradeded with no problem, I made a mistake on the typing the first time, I put a 1 Instaed of an i.
But I can't get apache to upgrade

Last edited by Bobocop; 05-29-2006 at 04:32 AM.
 
Old 05-29-2006, 05:03 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
So you did cd into the directory where the files are?
Do an "ls -l" in the location where you try installpkg


Cheers,
Tink
 
Old 05-29-2006, 05:27 AM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119
Quote:
Do I need to keep rebooting from KDE to get to the root prompt ?
or Is there some place In KDE that I can type these commands to Install or upgrade programs.
It sucks to type a command then startx to see if It's there and If not reboot again to get back to the root prompt and try again
If you run X via the "startx" command, then you just have to select "End Session" in KDE to return to the prompt. No need to reboot all the way back to that prompt!

Eric
 
Old 05-29-2006, 05:45 AM   #7
Bobocop
LQ Newbie
 
Registered: May 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks Alien Bob
I just tried that and It makes It alot easier then booting all the time
Thanks again.

And I figured out how to Install apache.
I tried to uninstall apache 1.3 first then I Installed 2.2 and It worked.
I guess you can't upgrade (I couldn't anyway) you need to remove one to Install the other.

Thanks for your time guys/girls

EDITED: I also noticed (from another post) that If you type
" upgradepkg *.tgz " It will Install all your packages at a time (for those that don't know)
I typed It In and It installed apache, slap-get and php5 all at ounce

Last edited by Bobocop; 05-29-2006 at 05:50 AM.
 
Old 05-29-2006, 06:34 AM   #8
joe83
Member
 
Registered: Sep 2003
Location: Kennesaw GA
Distribution: Slackware-current , Slack81Zip, Smoothwall v2
Posts: 427

Rep: Reputation: 31
Quote:
Originally Posted by Alien Bob
If you run X via the "startx" command, then you just have to select "End Session" in KDE to return to the prompt. No need to reboot all the way back to that prompt!

Eric
You can also Ctrl+Alt F1-F6 (one not currently in use)
and that will take you to a command prompt. Then Alt+F7 to return to X. Also, you can run a shell in X using Konsole.

Last edited by joe83; 05-29-2006 at 06:35 AM.
 
  


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
Will 'aptitude upgrade or dist-upgrade' downgrade manually installed deb package? Akhran Debian 3 03-14-2006 03:40 PM
wmaker.inst and deb package beebelo Debian 4 01-22-2006 08:05 PM
Problem compiling programs using ncurses library (gcc 3.2.2 and RH9 default inst.) jclark7777 Linux - Newbie 1 07-20-2004 02:59 PM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 07:12 PM
Red Hat Upgrade - Overwrite or Fresh Inst. ? OldBob Linux - Newbie 2 07-22-2003 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:07 PM.

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
Open Source Consulting | Domain Registration