Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-28-2009, 04:24 PM
|
#1
|
|
Member
Registered: Jul 2005
Location: Columbia, MD
Distribution: Slackware 10.2 / 11.0 / 12.0
Posts: 38
Rep:
|
Accidentally used installpkg instead of upgradepkg; any recourse?
<britney>Oops, I did it again</britney>
Like the title says, I accidentally used installpkg to put a bunch of patches onto my system, instead of using upgradepkg. Is there any clean way of undoing this, or would it be less trouble just to live with it this time?
Thanks,
GL
|
|
|
|
11-28-2009, 05:08 PM
|
#2
|
|
Senior Member
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 3,645
|
You could use pkgtool to remove the unwanted patches and then use slackpkg to install, upgrade your unit.
|
|
|
1 members found this post helpful.
|
11-28-2009, 07:13 PM
|
#3
|
|
Member
Registered: Jul 2005
Location: Columbia, MD
Distribution: Slackware 10.2 / 11.0 / 12.0
Posts: 38
Original Poster
Rep:
|
I think I'll give it a shot. I've always managed Slackware systems manually in the past, downloading and upgrading in two separate steps. The "slackpkg upgrade" command looks like what I want.
Thanks,
GL.
|
|
|
|
11-28-2009, 07:29 PM
|
#4
|
|
Member
Registered: May 2007
Posts: 276
Rep:
|
There isn't really a need to undo it, just do a removepkg using the full package name of the old version which includes the version, arch, and revision:
$ removepkg fullpackage-name-2.4-i686-1
Look in /var/log/packages to figure out what names you need to use.
If you feel that the patch package wasn't installed cleanly, then reinstall again:
$ upgradepkg --reinstall patch-2.5-i686-1.txz
Last edited by the3dfxdude; 11-28-2009 at 07:30 PM.
|
|
|
1 members found this post helpful.
|
11-28-2009, 11:43 PM
|
#5
|
|
Member
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: fedora, slackware, suse
Posts: 447
Rep:
|
There are times when it might be necessary to have two versions of one package. I have at times found it necessary to support a particular software version that depends on old libraries, but need the new package for other software. It does not always work to ln -s ...so.n ../so.(n-1). (did I actually tell people I do that?). In any case, an install over an upgrade can be cleaned up if you want and have the time, but is not usually a disaster. The next upgrade should recover any wasted disk space.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:44 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|