LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-09-2021, 08:29 PM   #1
deretsigernu
Member
 
Registered: May 2007
Distribution: Slackware 14.2/-current
Posts: 172

Rep: Reputation: 13
"You have a broken /var/log/packages..."


Hi, I am running slackpkg upgrade-all and it returns this:

Quote:
bash-4.3# slackpkg upgrade-all

Checking local integrity... DONE
You have a broken /var/log/packages - with two versions of the same package.
The list of packages duplicated in your machine are shown below, but don't
worry about this list - when you select your action, slackpkg will show a
better list:

glibc-solibs-2.23-x86_64-4_slack14.2
glibc-solibs-2.23_multilib-x86_64-4alien
I installed the multilib to get a Brother printer to work. Is what I have here with the two versions of solibs really a problem?
 
Old 06-09-2021, 08:45 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,627

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
Quote:
glibc-solibs-2.23-x86_64-4_slack14.2
That is not an official Slackware64 14.2 package name.

You only need the 'glibc-solibs-2.23_multilib-x86_64-4alien' package. It is a superset of the official package.
 
Old 06-09-2021, 09:08 PM   #3
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 2,933

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Probably not a big deal. They're the same version. The files from the non-multilib package were probably overwritten anyway.

You can run "removepkg glibc-solibs-2.23-x86_64-4_slack14.2" and it will leave everything from the other package in place, but will remove the double entry.
 
Old 06-09-2021, 10:17 PM   #4
Pithium
Member
 
Registered: Jul 2014
Location: Vancouver, WA
Distribution: Slackware 14.2/current
Posts: 88

Rep: Reputation: Disabled
You should probably re-read the README for the multilib package repository.
http://www.slackware.com/~alien/multilib/


This paragraph in particular is of interest to you:
Quote:
In more detail:

The following packages are replacements for - not additions to - standard
Slackware packages. You use the "upgradepkg" program to upgrade to my
multilib versions of gcc and glibc. You will need these in order to run,
and build, 32-bit software on your 64-bit Slackware computer:
For packages that are replaced by multilib you either need to blacklist the originals or use slackpkg+. glibc-solibs is one of those packages, and this is all explained in the README so I suggest going through it again.
 
1 members found this post helpful.
Old 06-10-2021, 12:33 AM   #5
truepatriot76
Member
 
Registered: Apr 2014
Location: California, USA
Distribution: slackware64-current
Posts: 123

Rep: Reputation: 84
To solve this, I add the following to /etc/slackpkg/greylist

Code:
[0-9]+alien
This will leave the 12 replacement packages to the official slackware64 repo unchecked during "upgrade-all" (as well as any package in alienbob's repos). I simply leave those 12 official packages unchecked and check all alienbob's packages that need to be upgraded.

Last edited by truepatriot76; Yesterday at 11:31 PM.
 
2 members found this post helpful.
Old 06-10-2021, 03:08 PM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,260

Rep: Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845
Quote:
Originally Posted by allend View Post
Quote:
glibc-solibs-2.23-x86_64-4_slack14.2
That is not an official Slackware64 14.2 package name.
?? Yeah, it is.

Code:
Wed Aug  9 20:23:16 UTC 2017
--snip--
patches/packages/glibc-solibs-2.23-x86_64-4_slack14.2.txz:  Rebuilt.
OP just did an installpkg instead of an upgradepkg when they installed multilib.
 
3 members found this post helpful.
Old 06-10-2021, 04:31 PM   #7
deretsigernu
Member
 
Registered: May 2007
Distribution: Slackware 14.2/-current
Posts: 172

Original Poster
Rep: Reputation: 13
bassmadrigal, I was kind of stumped by allend's comment. I haven't done much to this machine since reinstalling 14.2 a couple of months ago, so there wouldn't have been many, if any 3rd party packages. No foul though. I just uninstalled the slack14.2.

You are right, I used installpkg. I did not know that the -alien version was considered an update. I thought it was something... parallel? Anyway, I obviously didn't realize the slack14.2 was something to remove once I got the -alien version. Fixed now.

@truepatriot, I'm guessing you mean blacklist and not greylist? I updated the blacklist. That was something I meant to do, but had forgotten. Thanks for the reminder.
 
Old 06-11-2021, 04:36 AM   #8
truepatriot76
Member
 
Registered: Apr 2014
Location: California, USA
Distribution: slackware64-current
Posts: 123

Rep: Reputation: 84
Quote:
Originally Posted by deretsigernu View Post
@truepatriot, I'm guessing you mean blacklist and not greylist? I updated the blacklist. That was something I meant to do, but had forgotten. Thanks for the reminder.
I'm sorry, I incorrectly assumed you were using slackpkgplus which is an extension of slackpkg. You will have a greylist in addition to a blacklist if you chose to go that route.
 
Old Yesterday, 07:43 AM   #9
bitfuzzy
Member
 
Registered: Nov 2003
Posts: 282

Rep: Reputation: 65
Quote:
Originally Posted by deretsigernu View Post
I installed the multilib to get a Brother printer to work.

I'm curious...

I've got two different Brother printers working just fine under 3 14.1-64 systems and 2 Current-64 (W/O Multilib)

What model Brother are you trying to setup?

What Connection method are you using (USB / P-Port / Ethernet)

Are you using Cups?
 
Old Today, 09:14 AM   #10
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,627

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
Quote:
?? Yeah, it is.
Doh. Forgot to check the patches directory. Thanks for the correction.
 
  


Reply

Tags
glibc, slackpkg


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] Installed two LibreOffice helppacks. Now slackpkg thinks I have a broken /var/log/packages. luvr Slackware 12 01-06-2019 10:53 AM
[SOLVED] iptables troubleshooting icmp and best place to log /var/log/messages or /var/log/iptables JockVSJock Linux - Security 18 02-12-2016 12:31 AM
how to fix "Please have a look at the log file for details: /var/log/jockey.log" harisuciha Linux - Hardware 3 04-29-2012 12:59 PM
Can Samhain log my entries in /var/log/secure and /var/log/mesage to a central server abefroman Linux - Software 2 04-13-2008 04:13 PM
/var/log/packages and /var/log/setup sunny_5252 Slackware 4 05-17-2007 08:17 PM

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

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