Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
pkgtool
Results 1 to 10 of 10

Thread: pkgtool

  1. #1

    pkgtool

    What do you know? 12 hours into running Slack, and I already have a little problem. Apache 1.3... Why httpd.conf listed /usr as the serverroot (not document root) I have no idea. I couldn't find squat in /usr concerning apache... Anyways... The last time I ran Slack, I could not get the webserver to work. It started correctly, I configured it, but when I tried to access the page, I was slapped with a forbidden access error. So, what I decided to do was upgrade to Apache 2.0.
    I was reading the Slackware documentation from their site, and they said that .tar.gz packages and .tgz packages are the same, but just named differently due to personal preference. So, if I download a .tar.gz file, I should just be able to rename it to .tgz, and the pkgtool will be able to handle it?
    I assumed that the above was true, so I downloaded apache2.tar.gz (not the exact name, but the extension was .tar.gz). I ran "upgradepkg apache1.3%apache2" and let it go. All it ended up doing was deleting some files (according to standard out) then said that it was upgraded. I tried to run httpd or apache, no luck. I tried to FIND apache or httpd, no luck. I opened the pkgtool, and it said that httpd2 was installed, but it did not have a description, unlike all of the other packages. It was like the package wasn't there. So, to avoid confusion, and possible litter files all over the system, I removed httpd2 via package tool (who knows if it were even on the system...) and deleted any reference to apache or httpd. I will start over, and install apache 2.
    Asus A8V Deluxe Mobo
    AMD Athlon64 X2 4400 -939
    2GB Crucial DDR3200 Dual-Channel
    ATi AiW 9800 Pro 128DDR
    Audigy2 ZS
    Sony DRU-810 DVD+RW DL
    3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 120Gb 16Mb Cache

  2. #2

    Re:pkgtool

    if I remove something with the package tool, will it's respective entries for startup be removed? I need to remove httpd from the startup, as I no longer have it installed. rc.httpd? I am not yet familiar with the whole startup script process... obviously...
    Asus A8V Deluxe Mobo
    AMD Athlon64 X2 4400 -939
    2GB Crucial DDR3200 Dual-Channel
    ATi AiW 9800 Pro 128DDR
    Audigy2 ZS
    Sony DRU-810 DVD+RW DL
    3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 120Gb 16Mb Cache

  3. #3

    Re:pkgtool

    okay, here's what happened... when I upgradepkg'd from apache 1.3 to apache2, it simply deleted a few of the 1.3 files (I still had to delete alot of them manually, modules, conf, etc.) but THEN it SAID that it installed apache2, but what it really did was simply untar the .tar.gz file into a httpd2 directory in /. So, am I correct in assuming, by this behavior, that just because a file is in .tar.gz format doesn't necessarily make it Slackware ready? I just figured that with if it were, then upgradepkg would have done more than simply untar the archive...
    Asus A8V Deluxe Mobo
    AMD Athlon64 X2 4400 -939
    2GB Crucial DDR3200 Dual-Channel
    ATi AiW 9800 Pro 128DDR
    Audigy2 ZS
    Sony DRU-810 DVD+RW DL
    3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 120Gb 16Mb Cache

  4. #4
    Senior Member
    Join Date
    Nov 2001
    Posts
    304

    Re:pkgtool

    Ok, to run apache try this:

    /usr/sbin/apachectl start

    .tgz is just an abbreviation for .tar.gz, BUT that does NOT mean that every .tar.gz / .tgz you can download can be installed by pkgtool. pkgtool handles slackware packages only. You must use pkgtool to remove your old apache, then do a source install "./configure && make && make install" of apache 2 if you want that.

    Personally, I'd reinstall the apache that came with slack, and use that instead

  5. #5

    Re:pkgtool

    Is there any particular reason you would do that? I don't know... It was just really odd, having the same error I did last time, and not being able to find anything online about it. I found some things, but either they didn't apply, or they were greek to me (and I felt that the reason wasn't the problem, only because I have a simple op going here, nothing special)
    Asus A8V Deluxe Mobo
    AMD Athlon64 X2 4400 -939
    2GB Crucial DDR3200 Dual-Channel
    ATi AiW 9800 Pro 128DDR
    Audigy2 ZS
    Sony DRU-810 DVD+RW DL
    3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 120Gb 16Mb Cache

  6. #6
    Senior Member
    Join Date
    Nov 2001
    Posts
    304

    Re:pkgtool

    I'd reinstall the apache that came with because it will be easier to grab it from your CD with pkgtool :P

    Seriously, after you reinstall the deleted files, run "/usr/sbin/apachectl start" then tell us what your errors are from there.

  7. #7

    Re:pkgtool

    One last quesiton before I go to the airport...

    How would you delete something installed by makeinstall? Would you simply delete it's installation directory and be done, or is there a log of the files it installed and where it put them, and you just chase all of the files down and get rid of them?
    Asus A8V Deluxe Mobo
    AMD Athlon64 X2 4400 -939
    2GB Crucial DDR3200 Dual-Channel
    ATi AiW 9800 Pro 128DDR
    Audigy2 ZS
    Sony DRU-810 DVD+RW DL
    3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 120Gb 16Mb Cache

  8. #8
    Senior Member
    Join Date
    Nov 2001
    Posts
    304

    Re:pkgtool

    Well... I know there is a way to determine what files went where without looking at the "install" line in each Makefile, but I can't remember how it's done. If you NEED to uninstall something, then you can always resort to looking at the "install" line in the Makefile in the root of the src tree for that program and see what files are copied where

  9. #9
    Senior Member
    Join Date
    Nov 2001
    Posts
    304

    Re:pkgtool

    Oh... one more thing... some Makefile's include an "uninstall" section, so running "make uninstall" (or in my case: "sudo make uninstall") should work.... might check for that as well...

  10. #10

    Re:pkgtool

    This is a package database for Slackware if you don't feel like compiling everything. http://www.linuxpackages.net/
    AMD Athlon 2200+ 1.8Ghz
    1280MB PC-3200 CAS2.5 RAM
    ATI Radeon 9600 Pro 128MB AGP
    Western Digital WDC WD2500JB-00FUA0 250GB 7200 rpm ATA/133
    Seagate ST3200822A 200GB 7200 rpm ATA/133
    Western Digital WDC WD1200BB-00CAA1 120GB 7200 rpm ATA/133
    Western Digital WDC WD800BB-00CAA1 80GB 7200 rpm ATA/133
    Maxtor OneTouch 2HA43R32 1TB 7200 rpm USB 2.0
    D-Link DFE-530TX+ 10/100 NIC
    D-Link DWL-G520 Rev.A
    Debian 5.0r1 Lenny

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •