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 07-20-2019, 09:14 PM   #1
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Empty "/KEEP" directory created by several multilib packages on -current


Hi, odd observation on one of my desktops running slackware -current...

Just noticed a random directory named /KEEP.

Code:
root@darkstar:~# ls -la /KEEP/
total 8
drwxr-xr-x  2 root root 4096 Jun 12 21:41 ./
drwxr-xr-x 25 root root 4096 Jul 18 21:08 ../
Edit; Appears to be created by the following multilib packages:

Curious what this might be... whether it's from a broken package or something. Has anyone else seen this appear on their system?

I did try to use slackpkg file-search, although this isn't that useful as it doesn't seem to be matching the root directory.


Code:
$ slackpkg  file-search "/KEEP"

Looking for KEEP in package list. Please wait... DONE

The list below shows the packages that contains "KEEP" file.

[ Status           ] [ Repository               ] [ Package                                  ]
   installed               multilib                     Mako-compat32-1.0.12-x86_64-1compat32     
   installed               multilib                     cups-filters-compat32-1.25.0-x86_64-1compat32  
   installed               multilib                     curl-compat32-7.65.1-x86_64-1compat32     
   installed               multilib                     e2fsprogs-compat32-1.45.2-x86_64-1compat32  
   installed               multilib                     glib2-compat32-2.60.4-x86_64-1compat32    
   installed               multilib                     gnutls-compat32-3.6.8-x86_64-1compat32    
   installed               multilib                     harfbuzz-compat32-2.5.1-x86_64-1compat32  
   installed               multilib                     libgphoto2-compat32-2.5.23-x86_64-1compat32  
   installed               multilib                     libunwind-compat32-1.3.1-x86_64-2compat32  
   installed               multilib                     openssl-compat32-1.1.1c-x86_64-1compat32  
   installed               multilib                     openssl-solibs-compat32-1.1.1c-x86_64-1compat32  
   installed               multilib                     speexdsp-compat32-1.2.0-x86_64-1compat32  

You can search specific packages using "slackpkg search package".
(see this post; https://www.linuxquestions.org/quest...5/#post6017108 )

Last edited by coralfang; 07-20-2019 at 09:48 PM.
 
Old 07-20-2019, 09:26 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
I can find no such directory on my 14.2 system.

I think you can learn the creation date as follows:

Code:
$ ls -la --time-style=full /
 
Old 07-20-2019, 09:36 PM   #3
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836

Original Poster
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Follow up; Just looked over those packages on alienbobs mirror for multilib;

Appears to be those packages do contain "/KEEP" for example; Mako-compat32-1.0.12-x86_64-1compat32.txz extract the contents from there, you will see /KEEP.

Code:
$ tar -xvf Mako-compat32-1.0.12-x86_64-1compat32.txz 
./
usr/

..
..
..

usr/lib/python2.7/site-packages/mako/compat.py
usr/lib/python2.7/site-packages/mako/cmd.pyc
install/
install/slack-desc
KEEP/
Appears to be all of the packages listed in the above post. I am assuming this is an error in packaging?

Last edited by coralfang; 07-20-2019 at 09:42 PM. Reason: fix link
 
1 members found this post helpful.
Old 07-20-2019, 10:53 PM   #4
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,534

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Huh, I have this, as well with Mako on slackware-current. I don't remember having it on 14.2, though. I figured I screwed up somewhere installing something, but haven't deleted it, because I didn't know if something were actually using it.
 
Old 07-20-2019, 11:30 PM   #5
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Several packages here have it.

Code:
/var/log/packages/FAudio-compat32-19.06.07-x86_64-1_SBocompat32:KEEP/
/var/log/packages/dbus-compat32-1.12.16-x86_64-1compat32:KEEP/
/var/log/packages/glib2-compat32-2.60.4-x86_64-1compat32:KEEP/
/var/log/packages/gnutls-compat32-3.6.8-x86_64-1compat32:KEEP/
/var/log/packages/harfbuzz-compat32-2.5.1-x86_64-1compat32:KEEP/
/var/log/packages/libdrm-compat32-2019.07.03_331e51e_master-x86_64-1_gitcompat32:KEEP/
/var/log/packages/libnl3-compat32-3.4.0-x86_64-2compat32:KEEP/
/var/log/packages/libpcap-compat32-1.9.0-x86_64-1compat32:KEEP/
/var/log/packages/libunwind-compat32-1.3.1-x86_64-2compat32:KEEP/
/var/log/packages/llvm-compat32-8.0.1-x86_64-1compat32:KEEP/
/var/log/packages/openssl-compat32-1.1.1c-x86_64-1compat32:KEEP/
/var/log/packages/vulkan-sdk-compat32-1.1.108.0-x86_64-1_SBocompat32:KEEP/
/var/log/packages/wxGTK3-compat32-3.0.4-x86_64-2_SBocompat32:KEEP/
Edit: This is created by convertpkg-compat32 and only conditionally removed from created packages.

Code:
if [ $(find KEEP/ | wc -l) -gt 1 ];
then
  rsync -a KEEP/ ./
  rm -rf KEEP
fi

Last edited by orbea; 07-20-2019 at 11:34 PM.
 
Old 07-20-2019, 11:40 PM   #6
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
I think this should fix it correctly.

Code:
--- convertpkg-compat32.orig    2019-07-20 21:39:15.707079303 -0700
+++ convertpkg-compat32 2019-07-20 21:40:09.557619807 -0700
@@ -349,8 +349,8 @@
 if [ $(find KEEP/ | wc -l) -gt 1 ];
 then
   rsync -a KEEP/ ./
-  rm -rf KEEP
 fi
+rm -rf KEEP
 
 # Keep documentation we might be required to keep, or is just polite:
 if [ -d usr/doc ]; then
 
3 members found this post helpful.
Old 07-21-2019, 05:15 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I fixed it and uploaded a completely fresh set of 'compat32' packages.
The best you can do is download all the packages below https://slackware.nl/people/alien/mu...re64-compat32/ and run "upgradepkg --reinstall --install-new" on them so that you can be certain you have all of them installed at the correct release.
Code:
# lftp -c "open https://slackware.nl/people/alien/multilib/current/ ; mirror slackware64-compat32"
# upgradepkg --reinstall --install-new slackware64-compat32/*compat32/*.t?z
 
8 members found this post helpful.
Old 07-21-2019, 09:06 AM   #8
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,534

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
OK to remove the KEEP directory?
 
Old 07-21-2019, 12:27 PM   #9
akimmet
Member
 
Registered: Jul 2018
Location: NW Ohio, USA
Distribution: Slackware64 -current
Posts: 62

Rep: Reputation: 62
Yes, it is safe to delete the /KEEP directory if you have it.
 
Old 07-21-2019, 03:06 PM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
If you still have it, it must still be part of one of the installed packages.
Check /var/log/packages to find out which package installed it, and re-download that from a multilib repository, or re-generate it using the latest compat32-tools.
 
1 members found this post helpful.
Old 07-27-2019, 10:59 AM   #11
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
I'm erroring out with Alien Bob's "lftp" line above with the slackware.nl address. I get ...

Code:
 mirror: Fatal error: certificate verification: self signed certificate in certificate chain 13:5C....<really long number>
What's the best fix?
 
Old 07-27-2019, 11:09 AM   #12
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by enorbet View Post
What's the best fix?
Probably this: https://alien.slackbook.org/blog/add...our-slackware/
 
Old 07-27-2019, 02:39 PM   #13
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Thank you, Eric.
 
  


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
LXer: Microsoft has created its own FreeBSD. Repeat. Microsoft has created its own FreeBSD LXer Syndicated Linux News 0 06-09-2016 11:42 AM
[SOLVED] Cannot delete a recently created directory in Lubuntu, or files in that directory l33y Linux - Newbie 26 06-07-2014 05:49 AM
Formating FAT32, but linux created FAT32 is not like win created FAT32?? Difference? boki15 Linux - Newbie 19 07-21-2010 04:41 AM
Creating random numbers from shell with /dev/random khermans Linux - General 1 07-13-2004 12:12 PM

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

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

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