LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-15-2010, 03:53 AM   #1
orbit
Member
 
Registered: Sep 2006
Location: Australia
Distribution: Slackware
Posts: 176

Rep: Reputation: 30
Power Outage ... Now I have a problem..


Hi All,

While I was installing some packages, the power in my street went out (uncleanly killing my system) ... unfortunately Kpackage was open at the time of the power outage.

Now when I try to use KPackage, I get "Login Problem, Please Login Manually" ... which does not allow me to login using either the root or user's password.

I have rebooted my computer many times and have even run a 'reiserfsck /dev/*** --fix-fixable' on my system, which did not repair the problem.

I have researched this error, but have only found responses that people suggest changing the KPackage behaviour from 'su' to 'sudo' ... ; while this does work, it feels like a 'putting-a-band-aid-over-a-warning-light-so-I-can't-see-the-warning-light-anymore' kind of 'fix?' which isn't good as it would enable anyone using the system to add or remove packages without thought or consequence.

What I would prefer to do is actually fix the problem so that proper root password entering is again required to add or remove packages, so my question is:

1. Does anyone know if KPackage 'locks' out a file(s) on the system which may be preventing me from logging into the program correctly, and if so what and where the file(s) may be?

2. Can I delete any kpackage (profile?) file to gain normal login behaviour again?

3. Is this a permissions error?, has something in users/groups? been broken that I can look into?

4. Can anyone offer any other suggestions or files I can look at on how I may be able to properly repair this KPackage login problem on my system?


Thanks very much, I'll look forward to hearing from you.

Cheers

p.s. I'm on Slackware 12.2
 
Old 08-15-2010, 04:13 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,296

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I vaguely remember kpackage. With Slackware, you can run this command on any package you like

upgradepkg --reinstall somepkg which simply installs over, and throws the config file in as .new. Try it.
 
Old 08-15-2010, 04:19 AM   #3
orbit
Member
 
Registered: Sep 2006
Location: Australia
Distribution: Slackware
Posts: 176

Original Poster
Rep: Reputation: 30
Hi business_kid,

Thanks, Yes I know about upgradepkg, but I'm not sure I understand what it is you are trying to tell me about fixing KPackage?

What Package would you suggest I re-install?
 
Old 08-15-2010, 06:52 AM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
I don't know offhand but if there is a lock (or some other) file throwing it off it's probably an idea to quit kde, clean out /tmp and also have a look in /var/run perhaps.
 
Old 08-15-2010, 10:05 AM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
I'd also look for kpackage directories in your ~/.kde directory to see what's in there.
 
Old 08-15-2010, 11:27 AM   #6
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
AFAIK kpackage doesnt work with Slackware packages (at least the version included in KDE4, dont know about KDE3).
Also kpackage has been removed from recent KDE versions completely due to the fact that it was unmaintained.

Last edited by sahko; 08-15-2010 at 11:28 AM.
 
Old 08-15-2010, 11:36 AM   #7
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
AFAIK kpackage doesnt work with Slackware packages (at least the version included in KDE4, dont know about KDE3).
Also kpackage has been removed from recent KDE versions completely due to the fact that it was unmaintained.
Whilst I wouldn't recomend using Kpackage in Slackware - it did work in KDE3 as the OP is running with Slackware 12.2.
 
  


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
Power Outage Monitoring?? Biggen Linux - Server 5 07-31-2009 04:58 PM
power outage blackmamba11 Linux - Server 1 12-03-2007 11:51 AM
Network card problem after power outage robrecc Slackware 13 06-11-2006 12:12 AM
power outage jbzy3000 Linux - General 2 02-24-2005 09:11 PM
Power Outage notslim General 30 08-28-2003 03:47 AM

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

All times are GMT -5. The time now is 09:53 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