LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-29-2006, 03:55 PM   #1
oliverhbailey
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Rep: Reputation: 0
Slackpkg left system almost useless!


Hello everyone,
I'm trying to upgrade slackware from 10.1 to 10.2 using Slackpkg. The problem is that after about 30 minutes slackpkg ended with an error that stated there was a problem with the /tmp folder and I probably didn't have user access. Well I do have user access as I am logged on as root. After that alomst all the linux commands appear to be missing (rm, cat, mkdir, etc.). I cannot find anything anywhere that actually discusses this error and offers a solution. XWindows works fine as do all the KDE associated commands. It seems to be limited to the command line commands in terminal mode. I have not rebooted for fear of something terrible happening. Can anyone help.

Thank You
Oliver
 
Old 07-29-2006, 08:37 PM   #2
Habu
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: Fedora, Suse
Posts: 108

Rep: Reputation: 15
If it's at all possible, install slack 10.2 fresh. I've never had much luck with upgrades.
 
Old 07-30-2006, 10:34 AM   #3
oliverhbailey
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Original Poster
Rep: Reputation: 0
I have about 2 gigabytes of development that I cannot afford to lose. I just need to get these utilities back up and running. If there were better documentation on what I need to back up it would not be an issue. But I have Kylix 3, C++ Builder 3, CbuilderX, and CBuilder 2005 all installed, plus many support utilities. Can anyone offer a suggestion other than a "fresh install".

Thank you.
Oliver
 
Old 07-30-2006, 12:10 PM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
For every release of Slackware, there is a file called UPGRADE.TXT that gives exceedingly explicit instructions on how to upgrade from one version to the next. I would download the ISO for 10.2, mount it and follow the instructions.
 
Old 07-30-2006, 01:19 PM   #5
oliverhbailey
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Problem with Slackpkg

Hello Everyone,
My first post must not have been clear, so I will ask again. I ran Slackpkg to upgrade Slackware from 10.1 to 10.2 and it ended with an error that it had a problem with /tmp and when it was done none of the built in command line commands seem to work (car, rm, mkdir, df, etc.). KDE still works fine and my gigabytes for development software all still work and are intact.

My question is:

Has anyone else experienced this problem with Slackpkg, and if so, what causes the problem with the /tmp folder? This was run as root and there does seem to be plenty of disk space so my question is very specific. I am more than willing to invest the time to repair the current installation, so if you have answers to this specific question please reply. Since this was run to update some specific packages and since I have no problem working with the config files, I would like to take the steps to manually fix this.

Thanks again,
Oliver
 
Old 07-31-2006, 07:24 AM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
To be honest, I've used slackpkg pretty extensively and never had a problem with it. That said, I've never used it (or any other automated system) to upgrade from one version to the next as there are almost always issues that slackpkg isn't going to resolve.

If you have a working KDE, the first thing I would try to do is to back up your important files to CD or another computer. Not having the usual commands availble isn't good and it may prevent you from backing out of this gracefully, so you want to prepare for a possible re-install before you do anything else.
Also, please post the exact error message you're seeing. It could help pinpoint what is going wrong.

I would first have a look at the 10.2 UPGRADE.TXT and start working through any potential issues. That may get 10.2 functional.

I'm going to ask the moderators to move this thread to the Slackware forum. There are some very, very knowledgeable people there who can almost certainly help.
 
Old 07-31-2006, 10:58 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Moved: This thread is more suitable in the Slackware Forum and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 07-31-2006, 03:49 PM   #8
shadin
Member
 
Registered: Jun 2006
Posts: 44

Rep: Reputation: 15
Sounds like you may need to reinstall coreutils and util-linux from the /a directory of the first Slackware CD. Those two packages hold most of the command line functions.

Did you run out of disk space on /tmp? I've never experienced an issue with slackpkg, but you have to be careful. All it does is use the included package tools, but it assumes that you know exactly why and how you want each package updated.
 
Old 07-31-2006, 07:17 PM   #9
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
It sounds to me more like you've hosed glibc by trying to upgrade it with slackpkg (bad move - this should never really be updated with any automated tool).

slackpkg is really only useful for tracking -current, or grabbing the odd package or two you've missed.

If you are going from one release to the next, you should really follow Pat's instructions on UPGRADE.TXT (as Hangdog42 has already mentioned).
 
Old 08-01-2006, 07:51 AM   #10
oliverhbailey
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thatnks reddazz, this is my first time using this site and I was unaware that a slackware area existed. I also want to thank everyone who is responding. I've accepted that I will probably have to treinstall slackware but does anyone know what folders I should backup to keep my development environment intact. Everthing has been installed in a folder under the /usr folder. I've scanned the Internet and have been unable to find any information on how to back up the development folders.

Thanks,
Oliver
 
Old 08-01-2006, 08:06 AM   #11
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
There are a couple of things to think about here, the programs and the data. The data bit should be easy if you've been saving things in a known set of directories. You'll just need to back those up. You'll probably want to back up your /home/oliverybailey directory as well. A lot of the personal configuration will be saved in directories there. The programs may be a different matter. If you know what directories you've got them in, you could back those up and put them back after the re-install. Just don't do a wholesale copy of /usr.
 
Old 08-01-2006, 09:05 AM   #12
drumz
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 907

Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
You could try booting off of a 10.2 CD and then use removepkg to remove any packages you think are corrupted. Then use "upgradepkg --install-new" to upgrade/reinstall all packages. Remember to use the ROOT variable so they get installed to the right place. See the man pages for removepkg and upgradepkg.
Code:
# ROOT=/mnt/whatever removepkg bad_packages
# ROOT=/mnt/whatever upgradepkg --install-new all_packages
If you have multiple partions mounted, say hda1 is / and hda2 is usr/, then mount them before beginning, for example, mount hda1 to /mnt/temproot and hda2 to /mnt/temproot/usr.
 
  


Reply



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
Slackpkg extensions dunric Slackware 4 07-02-2006 02:37 AM
Warning! Slackpkg walkingbeard Slackware 6 09-18-2005 09:17 PM
up2date left the system with errors during next update jomy Linux - Networking 1 03-24-2005 08:43 PM
swaret or slackpkg ? frochet Slackware 8 06-11-2004 01:08 PM
Hard Disk hangs if system left on for 2-3 hours jdsahota Linux - General 1 07-13-2003 07:29 AM

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

All times are GMT -5. The time now is 10:23 AM.

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