LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-02-2012, 09:57 AM   #1
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,834

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Problems removing multilib packages.


As the title says, I am having problems removing multi-lib. This is 13.37 stable 64 bit system.

I had multi-lib installed, and working correctly. I did a system update with slackpkg. I ran the command 'slackpkg clean-system' after update, install-new, and upgrade-all. I though I had blacklisted the correct packages to prevent multi-lib from being removed. I did not, pressed enter, and watched the system remove a lot of multi-lib stuff. I know I messed it up, still learning package management.

O.K. I have looked over my system, and the only package I can find that is 32 bit that I currently need ( or wanted ) was Google Earth. As far as I can tell, it is still only available as a 32 bit package.
I use it much less these days, and I have a copy on XP that I run in V-box. So, I decided to remove multi-lib, at least in the short term.

I ran this command successfully. 'multilibpkg --uninstall @WorldWide-13.37'. I had to re-install multilibpkg, it must have been one of the things removed by my mistake.

The problem. I ran the command 'compat32pkg --remove all' ( as root ) and it fails. The output.

Code:
root@duelie:/home/cliff/multilib/13.37# compat32pkg --remove all

compat32pkg ver. 1.4.110408 (stable)

(ERROR) The command 'convertpkg-compat32' is not installed on your system. Please install it before running compat32pkg.
I'm also missing what ever gives me convertpkg-compat32. I have not been able to figure out how to re-install it. I did a locate command, it is not anywhere on my system.

I have been through the doc, on Aliens site, Sourceforge, etc. I'm confused at this point. How do I reinstall the missing stuff, so I can remove the whole 32 bit layer?

I think this package is what is missing -
Quote:
compat32-tools-2.1-noarch-11alien.tgz
I can't find it. Is there a link to download it from?

Last edited by camorri; 07-02-2012 at 10:52 AM. Reason: added info on what I think is wrong.
 
Old 07-02-2012, 12:17 PM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,834

Original Poster
Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Found and installed compat32-tools-2.1-noarch-11alien.tgz.

Ran the command 'compat32pkg --remove all' with the following result.

Quote:
compat32pkg --remove all

compat32pkg ver. 1.4.110408 (stable)

(INFO) No default mirror was defined in configuration's script /etc/compat32pkg/compat32pkg.conf
[--remove] Started on Mon 02 Jul 2012 01:12:52 PM EDT
[--remove] Local system is Slackware/x86_64 version 13.37.0
[--remove] Configuration file for "layer-32" : /etc/compat32pkg/multilib-32bit-packages.lst version 1.4.110522

[--remove] 13 package(s) were found (0,045 sec.)

[ package ] [ remove status ]
curl-compat32-7.21.4-x86_64-1 OK
e2fsprogs-compat32-1.41.14-x86_64-1 OK
dbus-compat32-1.4.1-x86_64-1 OK
cairo-compat32-1.10.2-x86_64-2 OK
atk-compat32-1.32.0-x86_64-1 OK
dbus-glib-compat32-0.88-x86_64-1 OK
cups-compat32-1.4.6-x86_64-1 OK
bzip2-compat32-1.0.6-x86_64-1 OK
aaa_elflibs-compat32-13.37-x86_64-7 OK
cyrus-sasl-compat32-2.1.23-x86_64-1 OK
audiofile-compat32-0.2.7-x86_64-1 OK
cxxlibs-compat32-6.0.14-x86_64-1 OK
esound-compat32-0.2.41-x86_64-1 OK

[--remove] Ended on Mon 02 Jul 2012 01:13:15 PM EDT
Does this look like I have removed everything for Multi-lib?
 
Old 07-02-2012, 09:33 PM   #3
drumz
Member
 
Registered: Apr 2005
Location: Scottsdale, AZ, USA
Distribution: Slackware
Posts: 188

Rep: Reputation: 33
Examine the output of
Code:
ls /var/log/packages | grep compat32
Code:
ls /var/log/packages | grep multilib
and use removepkg for what still needs to be removed.

EDIT: Actually the multilib packages are gcc and glibc so you should use upgradepkg to replace them with the stock Slackware packages.

Last edited by drumz; 07-02-2012 at 09:35 PM.
 
Old 07-03-2012, 03:53 AM   #4
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 283

Rep: Reputation: 162Reputation: 162
Hello,
Quote:
Originally Posted by camorri View Post
The problem. I ran the command 'compat32pkg --remove all' ( as root ) and it fails. The output.

Code:
root@duelie:/home/cliff/multilib/13.37# compat32pkg --remove all

compat32pkg ver. 1.4.110408 (stable)

(ERROR) The command 'convertpkg-compat32' is not installed on your system. Please install it before running compat32pkg.
Good catch ! this bug will be fixed in the next compat32pkg.

Quote:
Originally Posted by camorri View Post
Ran the command 'compat32pkg --remove all' with the following result.

Code:
compat32pkg --remove all

compat32pkg ver. 1.4.110408 (stable)

(INFO) No default mirror was defined in configuration's script /etc/compat32pkg/compat32pkg.conf
[--remove] Started on Mon 02 Jul 2012 01:12:52 PM EDT
[--remove] Local system is Slackware/x86_64 version 13.37.0
[--remove] Configuration file for "layer-32" : /etc/compat32pkg/multilib-32bit-packages.lst version 1.4.110522

[--remove] 13 package(s) were found (0,045 sec.)

[ package ] [ remove status ]
curl-compat32-7.21.4-x86_64-1 OK
e2fsprogs-compat32-1.41.14-x86_64-1 OK
dbus-compat32-1.4.1-x86_64-1 OK
cairo-compat32-1.10.2-x86_64-2 OK
atk-compat32-1.32.0-x86_64-1 OK
dbus-glib-compat32-0.88-x86_64-1 OK
cups-compat32-1.4.6-x86_64-1 OK
bzip2-compat32-1.0.6-x86_64-1 OK
aaa_elflibs-compat32-13.37-x86_64-7 OK
cyrus-sasl-compat32-2.1.23-x86_64-1 OK
audiofile-compat32-0.2.7-x86_64-1 OK
cxxlibs-compat32-6.0.14-x86_64-1 OK
esound-compat32-0.2.41-x86_64-1 OK

[--remove] Ended on Mon 02 Jul 2012 01:13:15 PM EDT
Does this look like I have removed everything for Multi-lib?
That seems ok. You can check this as explained by drumz. Anyway, I don't understand why compat32pkg has only
processed 13 packages. There should be more than 100, but this may be related to the "slackpkg clean-system"
you've done. Can you post the content of /var/log/compat32pkg.log and /var/log/multilibpkg.log ?

thanks

--
SeB

Last edited by phenixia2003; 07-03-2012 at 03:54 AM.
 
Old 07-03-2012, 06:57 AM   #5
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,834

Original Poster
Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Thank-you both for your interest.

drumz, the two ls commands;

Code:
ls /var/log/packages | grep multilib
-rw-r--r--  1 root root    1394 Jul  2 09:37 multilibpkg-1.1.110412-noarch-1_SeB
root@duelie:/var/log# ls /var/log/packages | grep compat32
-rw-r--r--  1 root root     962 Jul  2 13:12 compat32-tools-2.1-noarch-9alien
-rw-r--r--  1 root root    1645 Jul  2 09:58 compat32pkg-1.4.110408-noarch-1_SeB
This is much less than I expected. Not sure what is going on here.

phenixia2003,

As requested, I have tried to upload the two logs. As I remember, I thought there should be many more compat32 packages. 13 doesn't seem to be enough. Only other comment I have right now is the system seems stable. I have not found any other problems.

I did some pocking around and found I still have the directories,

Quote:
ls /usr/slack32-compat-packages
total 32
drwxr-xr-x 8 root root 4096 Apr 21 2011 ./
drwxr-xr-x 27 root root 4096 Jul 2 13:13 ../
drwxr-xr-x 2 root root 4096 Apr 21 2011 a-compat32/
drwxr-xr-x 2 root root 4096 Apr 21 2011 ap-compat32/
drwxr-xr-x 2 root root 4096 Apr 21 2011 d-compat32/
drwxr-xr-x 2 root root 4096 Apr 21 2011 l-compat32/
drwxr-xr-x 2 root root 4096 Apr 21 2011 n-compat32/
drwxr-xr-x 2 root root 4096 Apr 21 2011 x-compat32/
All the install packages are in these dir's. Would it be a good idea to do a removepkg for each package ? I would rather ask first, than bork the system.
Attached Files
File Type: log multilibpkg.log (17.1 KB, 3 views)
File Type: log compat32pkg.log (42.3 KB, 2 views)

Last edited by camorri; 07-03-2012 at 10:02 AM. Reason: adding a question.
 
Old 07-03-2012, 01:41 PM   #6
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 283

Rep: Reputation: 162Reputation: 162
Quote:
Originally Posted by camorri View Post

Code:
ls /var/log/packages | grep multilib
-rw-r--r--  1 root root    1394 Jul  2 09:37 multilibpkg-1.1.110412-noarch-1_SeB
root@duelie:/var/log# ls /var/log/packages | grep compat32
-rw-r--r--  1 root root     962 Jul  2 13:12 compat32-tools-2.1-noarch-9alien
-rw-r--r--  1 root root    1645 Jul  2 09:58 compat32pkg-1.4.110408-noarch-1_SeB
This is much less than I expected. Not sure what is going on here.
Unless you want to re-install the multilib later, you can uninstall these packages, as below :
Code:
$ removepkg multilibpkg compat32-tools compat32pkg

Quote:
Originally Posted by camorri View Post
As requested, I have tried to upload the two logs. As I remember, I thought there should be many more compat32 packages. 13 doesn't seem to be enough.
For 13.37, there's more than 100 compat32-packages. I guess compat32pkg has only removed 13 packages because you have run
"slackpkg clean-system" before. But as this could be a bug in compat32pkg, I need more information. In your first post, you said :
Quote:
"I ran the command 'slackpkg clean-system' ... and watched the system remove a lot of multi-lib stuff".
  • Have you waited the end of the "clean-system" or have you stopped it (CTRL+C) ?
  • Can you post the contents of the following files (if they're always present on your system) :
    /var/lib/compat32pkg/include.pat
    /var/lib/compat32pkg/exclude.pat
    /var/lib/compat32pkg/compat32-packages.inf

Quote:
Originally Posted by camorri View Post
Only other comment I have right now is the system seems stable. I have not found any other problems.
You have successfully reverted your system from "multilib" to "pure 64-bit". There's no reason to worry.

Quote:
Originally Posted by camorri View Post
I did some pocking around and found I still have the directories,

Code:
ls /usr/slack32-compat-packages
total 32
drwxr-xr-x 8 root root 4096 Apr 21 2011 ./
drwxr-xr-x 27 root root 4096 Jul 2 13:13 ../
drwxr-xr-x 2 root root 4096 Apr 21 2011 a-compat32/
drwxr-xr-x 2 root root 4096 Apr 21 2011 ap-compat32/
drwxr-xr-x 2 root root 4096 Apr 21 2011 d-compat32/
drwxr-xr-x 2 root root 4096 Apr 21 2011 l-compat32/
drwxr-xr-x 2 root root 4096 Apr 21 2011 n-compat32/
drwxr-xr-x 2 root root 4096 Apr 21 2011 x-compat32/
All the install packages are in these dir's. Would it be a good idea to do a removepkg for each package ? I would rather ask first, than bork the system.
The packages in these directories are not installed on your system. You can simply remove the folder "/usr/slack32-compat-packages".


--
SeB
 
Old 07-03-2012, 03:58 PM   #7
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,834

Original Poster
Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
My plan is to leave the system alone, ( run it ) for a week or so, just to make sure there are no hidden problems. Then I will run
Quote:
removepkg multilibpkg compat32-tools compat32pkg
if no problems show up.

Quote:
Have you waited the end of the "clean-system" or have you stopped it (CTRL+C) ?
I waited to the end of clean system, I let it run.

I'm attaching these files :
Quote:
/var/lib/compat32pkg/include.pat
/var/lib/compat32pkg/exclude.pat
/var/lib/compat32pkg/compat32-packages.inf

Last edited by camorri; 07-03-2012 at 04:01 PM. Reason: For some reason, the attachments are not working.
 
Old 07-03-2012, 04:04 PM   #8
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,834

Original Poster
Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Include.pat.

Code:
cat include.pat                                                                                     
.*
Exclude.pat.
Code:
cat exclude.pat                                                                                     
extra/source/.*
isolinux/.*
kernels/.*
pasture/source/.*
patches/source/.*
source/.*
testing/source/.*
usb-and-pxe-installers/.*
aaa_base
etc
glibc.*
gcc.*
kernel.*
lilo
loadlin
grub
Still can not get slack32-packages.txt to upload.

I gzip'ed the file. It is less than the 256k limit now.

I give up. I can not upload this file, even though its gziped, less than 256k.

Is there some other way to get the file on this thread?

I renamed it, seems you can not upload a file ending in .gz.
Attached Files
File Type: txt slack32-packages.txt (45.0 KB, 1 views)

Last edited by camorri; 07-03-2012 at 04:27 PM.
 
Old 07-04-2012, 04:41 AM   #9
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 283

Rep: Reputation: 162Reputation: 162
Hello,

I checked the files you have sent and I didn't find anything wrong.

Quote:
Originally Posted by camorri View Post
I waited to the end of clean system, I let it run
So, "slackpkg clean-system" has left the 13 compat32-packages that have been removed later when you have
ran "compat32pkg --remove all". Therefore, there's definitely no problem with "compat32pkg --remove". Why
"slackpkg clean-system" has left these packages ? I don't know, and I guess this will remain a mystery.

--
SeB
 
Old 07-04-2012, 08:20 AM   #10
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,834

Original Poster
Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Thank-you for your help. I'm going to mark this thread solved.
 
  


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
[SOLVED] Upgrading multilib packages ADX Slackware 7 08-09-2011 12:41 AM
Compiling MySql-workbench, MultiLib packages. Maris-S Slackware 2 12-16-2010 03:51 PM
[SOLVED] compat32-packages for Slackware64 13.1 multilib integrale16 Slackware 4 10-03-2010 01:32 PM
Problems Removing rpm packages Isuru Divarathne Linux - Software 3 11-04-2009 02:03 AM
fc3 problems removing installed packages. gSalsero Fedora 4 12-13-2004 09:53 AM


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