LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-31-2019, 01:42 PM   #16
cesarsj
Member
 
Registered: Mar 2019
Location: Patos de Minas, MG, Brazil
Distribution: Slackware
Posts: 141

Rep: Reputation: Disabled
Question There is no /var/lib/packages in Slackware 14.1 or Slackware 14.2.


Quote:
Originally Posted by USUARIONUEVO View Post
current have a symlink /var/log/packages to /var/lib/packages

Im not sure if need reinstall base , or slackpkg ... no remember what pacakge do the symlink to the correct /var/lib

if you have var/lib/packages with files ..only delete /var/log/packages and symlink to var/lib
There is no /var/lib/packages in Slackware 14.1 or Slackware 14.2. Did you see this path in Slackware Current?
 
Old 10-31-2019, 02:03 PM   #17
0XBF
Member
 
Registered: Nov 2018
Location: Winnipeg
Distribution: Slackware
Posts: 310

Rep: Reputation: 280Reputation: 280Reputation: 280
Yes he's talking about slackware-current, just has the path confused. /var/log/packages is linked as follows:
Code:
[bob@slackbook~] $ readlink -f /var/log/packages
/var/lib/pkgtools/packages
 
Old 10-31-2019, 02:09 PM   #18
Patrick59
Member
 
Registered: Apr 2007
Location: North France
Distribution: Slackware since 7.0
Posts: 65

Rep: Reputation: 14
Hi,

Maybe /var/log/scripts can help a little bit as some packages have post install scripts.
 
Old 10-31-2019, 03:18 PM   #19
cesarsj
Member
 
Registered: Mar 2019
Location: Patos de Minas, MG, Brazil
Distribution: Slackware
Posts: 141

Rep: Reputation: Disabled
Question

Quote:
Originally Posted by Patrick59 View Post
Hi,

Maybe /var/log/scripts can help a little bit as some packages have post install scripts.
/var/log/scripts also only has glibc-zoneinfo-2019c-noarch-1_slack14.1 and ntp-4.2.8p13-x86_64-1_slack14.1, which are the last packages I updated. The last one was ntp. What happened? Did upgrading ntp remove all the others in / var / log / packages and / var / log / scripts? This is very strange.

Could I take the package files (noting if it's the same version installed), contained in / var / log / packages, from another Slackware 14.1 server, and copy it to this problem?
 
Old 10-31-2019, 03:20 PM   #20
cesarsj
Member
 
Registered: Mar 2019
Location: Patos de Minas, MG, Brazil
Distribution: Slackware
Posts: 141

Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by 0XBF View Post
Yes he's talking about slackware-current, just has the path confused. /var/log/packages is linked as follows:
Code:
[bob@slackbook~] $ readlink -f /var/log/packages
/var/lib/pkgtools/packages
I cannot switch Slackware 14.1 to Slackware Current. My boss would give me more scolding. We only have stable systems with stable packages. Upgrading the kernel in a production environment just with good planning first as well.

But I will install Slackware Current on a test VM just to kill some curiosities ...
 
Old 10-31-2019, 05:00 PM   #21
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,890

Rep: Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141
Quote:
I really hate drag and drop for that reason and I always advise people to use copy/cut and paste instead.
Good advice. Sadly there is no way to avoid an inadvertent drag-and-drop event.

Quote:
I use X File Explorer that prompts on drag and drop
I'm familiar with XFE. Will have to take another look. I wish XFE supported multiple tabs (in addition to dual pane) and had a way to configure bookmarks with friendly names rather than full paths only.
 
Old 10-31-2019, 05:15 PM   #22
0XBF
Member
 
Registered: Nov 2018
Location: Winnipeg
Distribution: Slackware
Posts: 310

Rep: Reputation: 280Reputation: 280Reputation: 280
@cesarsj

I was not advocating for you to switch to using slackware-current. I was just clarifying where the package lists are stored in the slackware-current setup.

I'm not sure how to fix your problem with the missing /var/log/packages files. On 14.1 that is the correct location. You could put some of it back together from PACKAGES.TXT and MANIFEST, since that is the information contained in /var/log/packages, but that will only cover what comes from a stock slackware install. Any third party packages would be missing from that method.
 
Old 10-31-2019, 05:36 PM   #23
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,148

Rep: Reputation: Disabled
Quote:
Originally Posted by TheRealGrogan View Post
Yes, it is. I really hate drag and drop for that reason and I always advise people to use copy/cut and paste instead. Especially Windows Exploder (on-site technician here and I have to deal with a lot of Windows users)

However, I use X File Explorer that prompts on drag and drop. It asks in a little menu if I want to move, copy, link or cancel if anything is dragged. (there are dialog settings for confirmation prompts for pretty much everything). Drag and drop is safe and useful when I get to decide what, if anything, is going to happen.
I accidentally deleted a system file with D.A.D and had to dig in a backup to get just one file. I also witnessed the same thing of losing my packages and had to do a clean install. Now I backup twice a week just to be safe. I know I'm wearing the hell out of my SSD. Lesson learned..
 
Old 10-31-2019, 09:31 PM   #24
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,748

Rep: Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085
Quote:
Originally Posted by crts View Post
If you have shaky hands or suffer from "mouse-arm" you might want to give trackballs a try:
https://www.logitech.com/en-us/produ...rackball-mouse
https://www.logitech.com/en-us/produ...trackball-m570

Since I started to use one of above linked trackballs instead of a classic mouse I have not experienced any mouse related pain. It might also help with shaky hands. You can shake as much as you want, if you are not touching the trackball then the mouse will not move.

PS:
I am not affiliated with logitech.
Trackballs are great with a messy desk as well.

I've found that my thumb after a shitload of coffee is not as accurate as moving my entire arm after said shitload of coffee. I could drink less coffee, but I'm afraid my heart might stop.
 
Old 10-31-2019, 09:40 PM   #25
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,748

Rep: Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085
Quote:
Originally Posted by cesarsj View Post
/var/log/scripts also only has glibc-zoneinfo-2019c-noarch-1_slack14.1 and ntp-4.2.8p13-x86_64-1_slack14.1, which are the last packages I updated. The last one was ntp. What happened? Did upgrading ntp remove all the others in / var / log / packages and / var / log / scripts? This is very strange.

Could I take the package files (noting if it's the same version installed), contained in / var / log / packages, from another Slackware 14.1 server, and copy it to this problem?
Do you have a mount point that isn't mounted for some reason? If /var/log/packages was supposed to mounted on something (a logical volume or a partition) but that didn't happen, you wouldn't see the stuff that's in the missing mountpoint.

If you have another Slackware64 14.1 server that you know has the same set of packages that your damaged server should have, you can copy the contents of the "good" server's /var/log/packages directory. You should also copy over the contents of /var/log/scripts as well. Follow that by doing your normal update procedures to make the damaged machine current.
 
Old 10-31-2019, 09:53 PM   #26
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64
Posts: 760

Rep: Reputation: 292Reputation: 292Reputation: 292
Quote:
Originally Posted by Richard Cranium View Post
Trackballs are great with a messy desk as well.

I've found that my thumb after a shitload of coffee is not as accurate as moving my entire arm after said shitload of coffee. I could drink less coffee, but I'm afraid my heart might stop.
I ended up switching to my left hand for the mouse. I had no idea at the time why my right hand was getting hard to control but it turned out to be Parkinson's Disease. Anyway, a couple of days and I got quite used to a left-hand mouse. Wish they made more mice that fit the left hand.

Oh, 3 mugs of coffee starts my day
 
Old 11-01-2019, 12:22 AM   #27
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 3,531

Rep: Reputation: 3424Reputation: 3424Reputation: 3424Reputation: 3424Reputation: 3424Reputation: 3424Reputation: 3424Reputation: 3424Reputation: 3424Reputation: 3424Reputation: 3424
Ummm guys... FWIW default Dolphin always asks "Move here?, Copy here?, Link here? Cancel" on drag 'n drop. Polish and intelligent refinement is why I prefer KDE most of the time, although I do wish they weren't so cavalier about dropping good apps with no replacement or substitute, one of which was the v3 of KPackage which is an extremely useful GUI for manipulating /var/log/packages and Slackware's pkgtool aware as well. I have been installing it's dependencies in a KDE3 directory in /opt for years now in both 14.2 and -Current. A few other dropped kde apps are more troublesome.

The mention of moving the /var/log/packages to another location with -Current now has me wondering why v3 KPackage still works. I'll have to look into this. Thankfully Dolphin still does not assume a "Move Here".

Last edited by enorbet; 11-01-2019 at 12:29 AM.
 
Old 11-01-2019, 01:22 AM   #28
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,748

Rep: Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085
Quote:
Originally Posted by enorbet View Post
The mention of moving the /var/log/packages to another location with -Current now has me wondering why v3 KPackage still works. I'll have to look into this. Thankfully Dolphin still does not assume a "Move Here".
There's a symlink from /var/log/packages to the new -current location.
 
Old 11-01-2019, 04:59 AM   #29
GazL
LQ Veteran
 
Registered: May 2008
Posts: 5,800

Rep: Reputation: 3714Reputation: 3714Reputation: 3714Reputation: 3714Reputation: 3714Reputation: 3714Reputation: 3714Reputation: 3714Reputation: 3714Reputation: 3714Reputation: 3714
Quote:
Originally Posted by Richard Cranium View Post
Trackballs are great with a messy desk as well.

I've found that my thumb after a shitload of coffee is not as accurate as moving my entire arm after said shitload of coffee. I could drink less coffee, but I'm afraid my heart might stop.
I bought one of these https://www.amazon.co.uk/Kensington-.../dp/B00009KH63 in a black friday sale a couple of years back. It's great for point and click, but drag and drop can be a little awkward for any buttons other than button 1.
 
Old 11-01-2019, 10:32 AM   #30
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,890

Rep: Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141
Quote:
Dolphin always asks "Move here?, Copy here?, Link here? Cancel" on drag 'n drop
Does this happen all the time or only across different file systems?
 
  


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
/var/log/messages is empty, and also dmesg shows nothing beagle2 Linux - General 5 11-08-2005 08:12 AM
/var/log/packages vanished Idle Slackware 3 09-19-2005 12:57 PM
/var/log/messages empty Phathead Slackware 5 12-13-2004 11:43 AM
/var/log/packages gone! PurpleMotion Slackware 1 10-02-2004 03:04 PM
accidently deleted /var/log/packages lennard Slackware 8 06-21-2004 02:15 AM

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

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