LinuxQuestions.org
Help answer threads with 0 replies.
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 09-19-2012, 12:31 AM   #1
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,240

Rep: Reputation: 196Reputation: 196
was: `invalid slackpkg data base'; is: `overheating problem'


Something wrong happened to my slackpkg data base. During the work of ‘slackpkg update’ command the machine halted because of the overheat. When I started ‘slackpkg update’ for the next time the program displayed the information that the ChangeLog.txt didn’t changed since my last update. Unfortunately the command ‘slackpkg upgrade-all’ downloads the files and immediately after the downloading removes the *.txz files leaving *.asc files alone. After the first pass that command starts to download all the packages anew removing them immediately after the downloading, etc. As a result I can’t update the system.

How can I repair the slackpkg data base in order to install the patches in the system?

Last edited by w1k0; 09-19-2012 at 11:02 AM.
 
Old 09-19-2012, 01:00 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Hi,

in a similar case I deleted all files in /var/lib/slackpkg/ and ran
Code:
slackpkg update
again (which rebuilds the database).

But be sure that the packagelist /var/log/packages isn't damaged.

Markus
 
1 members found this post helpful.
Old 09-19-2012, 10:57 AM   #3
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,240

Original Poster
Rep: Reputation: 196Reputation: 196
You meant of course /var/lib/slackpkg and /var/cache/packages/patches/packages.

There’s something wrong with my secondary machine. It isn’t able to finish ‘slackpkg update’. It breaks the work reaching the critical temperature (from 93°C to 95°C) and shuts down. I copied the above directories from the primary to the secondary machine in order to skip ‘slackpkg update’ command and the packages downloading. Unfortunately my secondary machine is unable to finish ‘slackpkg upgrade-all’ as well. It reaches the critical temperature and shuts down.

I can upgrade the packages installing them manually one by one but now it isn’t my biggest problem. The real problem is the overheating machine. Either old fan became inefficient or the silicon paste dried up.

Anyway thank you for the tip. The problem with upgrading the packages is solved. In the meantime the problem concerning the overheating arose.
 
Old 09-19-2012, 11:09 AM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
Originally Posted by w1k0 View Post
You meant of course /var/lib/slackpkg and /var/cache/packages/patches/packages.
...
No, I meant only the files in /var/lib/slackpkg/ because these are the files which are renewed with "slackpkg update". Afterwards the issues due to a broken run of "slackpkg update" should be solved.

Markus

BTW: check if the ventilation is working correctly! Is the cooling disabled by some dust? I had this issue once with a laptop.

Last edited by markush; 09-19-2012 at 11:13 AM.
 
1 members found this post helpful.
Old 09-19-2012, 06:05 PM   #5
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,240

Original Poster
Rep: Reputation: 196Reputation: 196
It’s ThinkPad T40 that I bought a few years ago as a secondhand machine. According to Lenovo website it was released January 19, 2005. A few months ago the fan started to make a noise so I cleaned and oiled it. That machine works usually as a server. When I started Window Maker on it the CPU and the GPU temperatures seemed reasonable as well as the fan speed. But when I ran a few applications and started intensive browsing with Firefox the CPU temperature approached dangerously to 90°C. Maybe it wasn’t good idea to install Slackware 13.37 and the current Firefox on that machine. It seems it’ll be better to use it as a server only as I did so far.
 
Old 09-19-2012, 07:29 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,515
Blog Entries: 2

Rep: Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018
Which software you run on it is irrelevant, the cooling system should have been designed (and on IBM/Lenovo usually is) to keep the temperature in a reasonable range even when the CPU is working at 100%.
I would strongly recommend to check the cooling system.
 
1 members found this post helpful.
Old 09-19-2012, 07:39 PM   #7
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,240

Original Poster
Rep: Reputation: 196Reputation: 196
Thank you. I will.
 
Old 09-20-2012, 07:50 AM   #8
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 173

Rep: Reputation: 50
I suggest you replace the thermal pad on the integrated graphics chip. The rubber pad.

If the laptop has been manufactured in 2005, it has dried out in the 7 years that followed.

90° are definitely too high.

I think this one would fit: http://www.ebay.de/itm/30x-15mm-15mm...item3f13a36f1f

If you look further, you maybe find a cheaper alternative. But don't use the red ones, they only make it more worse.

Last edited by schmatzler; 09-20-2012 at 07:52 AM.
 
1 members found this post helpful.
Old 09-20-2012, 12:12 PM   #9
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,240

Original Poster
Rep: Reputation: 196Reputation: 196
@ markush, TobiSGD, schmatzler,

Taking into consideration your suggestions I’ll refresh the entire cooling system. My problem has a broader perspective. I use three ThinkPad machines (in the post #5 I apparently misinterpreted the date of the release of my oldest ThinkPad):

1. T40 made August, 2003.

2. T60 made June, 2007.

3. X60s made May, 2007.

I bought all of them secondhand.

The T40 is well designed machine apart of the location of the fan that heats the left palm.

The T60 had two years of warranty when I bought it. During these two years the service replaced broken fan two times. So it seems the fans are the Achilles’ heel of T60 ThinkPads.

The X60s is a very small laptop. The parts inside are stuffed tightly. As a result it’s hot all the time especially from below and under the right palm.

That year the fans in all of these machines started to fail. I cleaned up and oiled the fans in T40 and T60. The T40 fan works silently now. The T60 fan produces some noise. As for X60s – the machine I like the most despite of the flaws of the design – I didn’t decide to disassemble it completely in order to clean and oil the fan so I put it away till I’ll buy a brand new fan.

The last year all these machines started to shutdown randomly when I don’t use them (at night). I couldn’t determine the cause of these shutdowns though I suspected the overheating. I confirmed that hypothesis trying to upgrade the packages on T40 and seeing the message about reaching the critical temperature. The /var/log/messages file registers only shutdown in such a case:

Code:
Sep 19 04:17:42 home logger: ACPI group processor / action CPU0 is not defined
Sep 19 04:17:53 home shutdown[10852]: shutting down for system halt
Sep 19 04:17:53 home logger: ACPI group thermal_zone / action THM0 is not defined
Sep 19 04:17:53 home init: Switching to runlevel: 0
Sep 19 04:17:53 home logger: ACPI group processor / action CPU0 is not defined
The other log files don’t register any relevant information.

The bottom line is I should refresh the entire cooling systems in all my machines. It’ll be expensive taking into consideration the prices of the secondhand ThinkPads but I don’t see the alternative.

The modern machines – including ThinkPads – don’t meet my demands. Old ThinkPads have three strong points: non-reflective 4:3 size screen, keyboard layout similar to the traditional keyboard, and very precise TrackPoint. All modern machines have so called “wide screens” and only some Dell Precision models offer the traditional keyboard including TrackPoint. (The modern ThinkPads in the best case have Insert key in a wrong place.)

Thank you guys for your kind assistance.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Debian lenny: texlive-latex-base, W: invalid date kaz2100 Debian 0 11-07-2008 09:09 PM
Data base C# archShade Programming 3 05-08-2007 01:35 PM
Gnome-pilot Base Directory Invalid Error (Ubuntu) tanstaafl4y Linux - Software 1 11-22-2006 04:02 AM
Data base programmin mola Programming 1 06-05-2005 03:31 AM
Invalid SSL/TLS toolkit base dir error while compiling Apache 2 basse- Linux - Software 2 03-20-2004 12:23 PM


All times are GMT -5. The time now is 06:04 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration