Page 2 of 3

Re: Some x86_64 packages present

Posted: 16. Nov 2015, 14:42
by gapan
So what did you do to get those packages there? They didn't get installed by themselves.

Code: Select all

sudo spkg -d /var/log/packages/*x86_64*
from the command line to remove them all.

Re: Some x86_64 packages present

Posted: 16. Nov 2015, 15:13
by rsal
Actually, this is not showing any packages:

Code: Select all

# spkg -d /var/log/packages/*x86_64*
ERROR: Package not found. (/var/log/packages/*x86_64*)
Grep is also not showing any such packages in /var/log/packages:

Code: Select all

$ ls -l /var/log/packages/ |  grep x86_64
cardio[~]$ 
Why is then Gslapt showing these packages? See: http://i.imgur.com/OP2Lyey.png

Re: Some x86_64 packages present

Posted: 16. Nov 2015, 15:37
by gapan
Because you're lying and the slapt-getrc you posted is not the one you actually have. Or had when you took that screenshot.

Re: Some x86_64 packages present

Posted: 16. Nov 2015, 17:08
by rsal
I am not lying but I had been experimenting with this installation. I have started using it recently after a period of about 2 years. At that time I do not remember if I had installed 64bit version and tried to change over to 32 bit packages later on. Recently, I changed sources from 14.0 to 14.1 and updated it. Moreover, I recently also tried to install pkgsrc on this partition using http://pbraun.nethence.com/unix/sysutil ... kgsrc.html and http://wiki.netbsd.org/pkgsrc/how_to_us ... _on_linux/ ! Obviously this is a messed up installation though it is working all right, including shutting down properly. Anyway, I will reinstall SalixOS again.

Re: Some x86_64 packages present

Posted: 16. Nov 2015, 19:47
by gapan
Well, "lying" might have been too strong a word. But the slapt-getrc you are posting does not correspond to that screenshot. Unless of course you forgot to refresh the package cache after changing the slapt-getrc, but I was blidnly guessing you did. Didn't you?

Re: Some x86_64 packages present

Posted: 17. Nov 2015, 01:24
by laprjns
rsal wrote:Why is then Gslapt showing these packages? See: http://i.imgur.com/OP2Lyey.png
Regarding your screenshot, first all the packages have a package name ending in _rlw which means that at some time you added Robby Workman's repo to your slapt-getrc file. Second, it show that those packages are locked out from being installed, which is consistent with the slapt-getrc you posted showing that the x86_64 packages are excluded. And third, it shows that the packages are not installed. If they were installed, then the boxes would be shaded blue. So are you really sure that those package are installed? I don't and I don't believe it even possible to have multiple versions of the same package installed if you are only using Salix provided package tools (slapt-get, slapt-src, spi, and spkg).

To check to see which versions of libreoffce is installed do this:

Code: Select all

sudo spkg -l libreoffice

Re: Some x86_64 packages present

Posted: 17. Nov 2015, 01:47
by rsal
Yes, I had recently added 2 repositories to slapt-getrc and updated Gslapt. Following is my current file:

Code: Select all

$ cat /etc/slapt-get/slapt-getrc
WORKINGDIR=/var/slapt-get
EXCLUDE=^aaa_elflibs,^aaa_base,^devs,^glibc.*,^kernel-.*,^udev,^rootuser-settings,^zzz-settings.*,^R*
SOURCE=http://salix.hostingxtreme.com/i486/14.1/:PREFERRED
SOURCE=http://salix.hostingxtreme.com/i486/slackware-14.1/:OFFICIAL
SOURCE=http://salix.hostingxtreme.com/i486/slackware-14.1/extra/:OFFICIAL
SOURCE=http://rlworkman.net/pkgs/14.1/
SOURCE=http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86/
So the packages are not installed. Thats a relief. And this explains Gslapt listing. But why are 64 bit packages shown on a 32 bit system?

Re: Some x86_64 packages present

Posted: 17. Nov 2015, 02:35
by ChuangTzu
I suspect that in addition to adding Robby's repo you also added Alien Bobs multilib either through installpkg or slapt-get or using another method like connies list etc...you must have added this as it is not the default setup, probably did it so long ago that you forgot. Its happened to me before :)

Re: Some x86_64 packages present

Posted: 17. Nov 2015, 03:02
by ChuangTzu
Is this your post on Slackware forum?

https://www.linuxquestions.org/question ... 175558905/

Re: Some x86_64 packages present

Posted: 17. Nov 2015, 08:08
by rsal

Code: Select all

# spkg -l libreoffice
libreoffice-3.6.3-i686-1gv
libreoffice-5.0.1-i686-1dj
I think I should remove version 3.6.3
Only libreoffice 5 is shown in the menu and only that runs on selecting it.

What command should I use to selectively remove libreoffice-3.6.3? Will following work?

Code: Select all

spkg -d  libreoffice-3.6.3