Find the answer to your Linux question:
Results 1 to 8 of 8
Ok; a few dumb newbie questions before I try this. When removing a package; do I need to be in that Directory? I tried to removepkg lprng;removepkg apsfilter and it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2005
    Location
    cedar hill,tx
    Posts
    23

    CUPS Install


    Ok; a few dumb newbie questions before I try this.
    When removing a package; do I need to be in that Directory? I tried to

    removepkg lprng;removepkg apsfilter
    and it could not find the directory.

    I did and it seems it did not put a "D" at the beggining of the permissions ??
    chmod 755 /etc/rc.d/rc.cups

    i got no directory when i tried
    /etc/rc.d/rc.cups start

    I have the instructions, i must be missing something simple.
    Slack 10.1 4cd set W/ the book
    KDE 3.3.2
    HP Officejet (MULTI-FUNCTION) K80xi (usb) 2nd onboard usb port.
    my keyboard is USB so I know thats not the prob. Thanks in advance.
    dyn0myt3

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    You just have to be root to remove packages. Regularly installed packages will be 'known' by pkgtools, so it will be able to track them down when you want to remove them.

    What do you mean by 'D at the beginning of the permissions'?

    and /etc/rc.d/rc.cups start will start the cups service...

    First of all, do an # updatedb, and afterwards $ locate rc.cups. Check in the results if the file you're looking for is in there.
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  3. #3
    Just Joined!
    Join Date
    Jul 2005
    Location
    cedar hill,tx
    Posts
    23
    "D" for directory when you are looking at the permissions.
    i was in as root; maybe I typed it wrong
    I was reading right off the instructions.
    i will try updatedb.
    thanks.

    dyn0myt3

    root@slackdragon:~# updatedb
    warning: updatedb: could not open database: /var/lib/slocate/slocate.db: No such file or directory

    ERROR. im such a noob.

  4. #4
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    What do you need about directories? Change to a directory or change the settings on a directory?

    Changing ownership is done like this:
    # chown [your username] /etc/rc.d/

    Changing permissions of system directories is not recommended though. Normally the default permissions will work fine.
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  5. #5
    Just Joined!
    Join Date
    Jul 2005
    Location
    cedar hill,tx
    Posts
    23
    Just do i need to be in that directory to REMOVE a package or install cups; for example.
    since i got "no directory found" but i browse to it and its there
    i swear i thought i typed it right, as it sounds like nothing else is afooot.

  6. #6
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    Not at all - as I said, pkgtools keeps track of the installed .tgz packages.They are installed in default directories.

    How are you suing into root? Try $ su - instead of just $ su.

    Can you put the stuff from the terminal here? Your commands, and their output.
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  7. #7
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    I think that's pretty easy. It's not installed. Just fire up pkgtool, and select 'remove packages' - it will create a list of everything that's installed on your system. Then you should check if cups and stuff like that is amongst it.

    Possible also you're checking for packages that don't exist - I mean, you might be using the wrong names, of course, removepkg won't find them then.
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  8. #8
    Just Joined!
    Join Date
    Jul 2005
    Location
    cedar hill,tx
    Posts
    23
    http://hpinkjet.sourceforge.net/install.php#setup_env
    not slackware specific; can anyone tell me the slackware equivalent of this?
    my printer was listed so thats a little progress.
    i unpacked the driver and then did a ./configure i got this error.

    configure: error: cannot find net-snmp support (or --disable-network-build)

    can i just turn this off? i am ona network with my dad; like 2 feet away but he's got his own printer
    i have been wading thru this for over a week now.

    thanks
    dyn0myt3

Posting Permissions

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