SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
so when i open up pkgtool and go down to "remove" and hit enter, it goes directly to a screen that says:
Quote:
PACKAGE REMOVAL COMPLETE
The packages have been removed. A
complete log of the files that
were removed has been created in
/var/log/setup/tmp:
PKGTOOL.REMOVED.
PKGTOOL.REMOVED contains:
Quote:
No such package: /var/log/setup/tmp/rmscript:. Can't remove.
No such package: line. Can't remove.
No such package: 1:. Can't remove.
No such package: /usr/bin/dialog:. Can't remove.
No such package: Argument. Can't remove.
No such package: list. Can't remove.
No such package: too. Can't remove.
No such package: long. Can't remove.
i googled this problem and found something at http://www.slacky.eu/forum/viewtopic...0408d41d632b5b that looks very similar to my problem. however, it's in italian. i used freetranslate.com but i couldn't really make any sense of it. also, in that thread, it looks like the guys "removepkg" function doesn't work. mine does. so maybe it's different.
i've been using linux for about 4 days now, so i'm pretty new to it, but i am gaining a much bigger understanding of it and like to think that i'm pretty good with computers.
DESCRIPTION
pkgtool is the standard package maintenance tool provided with the
Slackware Linux distribution. It allows the user to install, remove,
or view software packages through an interactive menu system. Pkgtool
can also be used to re-run the menu-driven scripts normally executed at
the end of a Slackware installation. This is useful for doing basic
reconfiguration (like changing the mouse type).
OPTIONS
Most users will not want to use any options when running pkgtool.
These are generally used only when pkgtool is run during the initial
system installation. Feel free to try them, but be careful.
What packages have you installed as user that you want to remove? If system packages then you must be root to remove anything. You can use 'su' or setup your 'sudo'.
Quote:
SU(1) SU(1)
NAME
su - change user ID or become super-user
SYNOPSIS
su [-] [username [args]]
DESCRIPTION
su is used to become another user during a login session. Invoked with-
out a username, su defaults to becoming the super user. The optional
argument - may be used to provide an environment similiar to what the
user would expect had the user logged in directly.
Additional arguments may be provided after the username, in which case
they are supplied to the user´s login shell. In particular, an argument
of -c will cause the next argument to be treated as a command by most
command interpreters. The command will be executed by the shell speci-
fied in /etc/passwd for the target user.
The user will be prompted for a password, if appropriate. Invalid pass-
words will produce an error message. All attempts, both valid and
invalid, are logged to detect abuses of the system.
As you can see from the above the 'su' should be used with caution. Allows you to become another user but you will need to know the password of that user. Be root or anyone else.
You should use 'man' to find out about commands. You could look at Linux Newbie Admin Guide to get a good reference.
i'm pretty sure i already was root, because i can't even start pkgtool if i'm not root.
i think i might have something to do with installing gnome. i was trying to get it to work from gnome slackbuild, but it was going crazy so i uninstalled it and now pkgtool works fine.
I saw someone reporting this problem awhile back -exactly after installing gnome. It's not a problem with gnome, but that the list of packages is too long. If you 'decode' the error message it gave you taking just the second field:
/var/log/setup/tmp/rmscript: line 1: /usr/bin/dialog: Argument list too long. I supposed that the problem had been addressed as it seemed that it might begin to show up even with a standard installation (now that X is nearly 300 packages).
Yeah, I just found the thread here: http://www.linuxquestions.org/questi...kgtool-576207/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.