LinuxQuestions.org
Help answer threads with 0 replies.
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 06-17-2014, 12:12 PM   #1
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Rep: Reputation: 0
Upgrade of packages list


Was wanting to upgrade and saw this.

bash-4.2$ sudo 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:

fglrx-14.10.1006.1001-x86_64-1
fglrx-14.20-x86_64-1

You can (B)lacklist, (R)emove, or (I)gnore these packages.
Select your action (B/R/I):

What I had done originally was install the 64-bit beta driver along with the x86 driver. I installed both and everything works well enough, except for some lag in games on Steam. I wanted to upgrade and saw the above, not sure how to proceed and any information is appreciated.
 
Old 06-17-2014, 12:21 PM   #2
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 564

Rep: Reputation: Disabled
Quote:
fglrx-14.10.1006.1001-x86_64-1
fglrx-14.20-x86_64-1
Those are both 64 bit drivers. You may be able to leave both installed, but I would remove one of them if I were in that situation.
Regards,
Bill
 
Old 06-17-2014, 12:27 PM   #3
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TSquaredF View Post
Those are both 64 bit drivers. You may be able to leave both installed, but I would remove one of them if I were in that situation.
Regards,
Bill
Huh, well amd.com listed them as different architectures. Will uninstall one.
 
Old 06-17-2014, 12:45 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Quote:
Originally Posted by Pinonoir View Post
What I had done originally was install the 64-bit beta driver along with the x86 driver.
Actually you installed two versions of the x86-64 driver: one stable and one beta.
Quote:
I installed both
Actually, when you installed the second one it just overrode the files wearing the same name from the already installed package so you don't really have the two packages installed. That's not clean and that's exactly what reports slackpkg.

What you should have done is either run upgradepkg on the second package or (in case upgradepkg failed because the two software don't' *seem* to be two versions of the same package because of differences in the packages' naming schemes), just run removepkg on the first then installpkg on the new.

Quote:
Not sure how to proceed
Type R when asked by slackpkg to remove these packages, check that they are actually removed (output of "ls /var/log/packages/fglrx*" should be empty), if one remains remove it with removepkg, then use installpkg to install the beta version.

Oh, and don't use sudo for these commands, that's not needed on Slackware: become root with "su" instead.

TIP: to know which files were installed on your system typing "installpkg <package_name>" (in other words check the content of a package), just type "less /var/log/package/<package_name>" (q to quit).

Oh, and to actually understand how the Slackware tools work, you won't loose your time reading their respective manual page. You have man pages for explodepkg, installpkg, makepkg, pkgtool, removepkg, slackpkg, slackpkg.conf and upgradepkg, e.g. type "man slackpkg".

Last edited by Didier Spaier; 06-17-2014 at 01:14 PM.
 
Old 06-17-2014, 12:47 PM   #5
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Didier Spaier View Post
Actually you installed two versions of the s86-64 driver: one stable and one betaActually, when you installed the second one it just overrode the files wearing the same name from the already installed package so you don't really have the two packages installed. That's not clean and that's exactly what reports slackpkg.

What you should have done is either run upgradepkg on the second package or (in case upgradepkg failed because the two software don't' *seem* to be two versions of the same package because of differences in the packages' naming schemes), just run removepkg on the first then installpkg on the new.

Type R when asked by slackpkg to remove these packages, check that they are actually removed (output of "ls /var/log/packages/fglrx*" should be empty), if one remains remove it with removepkg, then use installpkg to install the beta version.

Oh, and don't use sudo for these commands, taht's not needed on Slackware: become root with "su" instead.

TIP: to know which files were installed on your system typing "installpkg <package_name>" (in other words check the content of a package), just type "less /var/log/package/<package_name>" (q to quit).
I've always used sudo, just wondering what is different than using su?
 
Old 06-17-2014, 01:04 PM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Quote:
Originally Posted by Pinonoir View Post
I've always used sudo, just wondering what is different than using su?
Typing "man su" and "man sudo" will tell you.

Last edited by Didier Spaier; 06-17-2014 at 01:06 PM.
 
Old 06-17-2014, 02:04 PM   #7
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
Now when I run steam I receive this

You are missing the following 32-bit libraries, and Steam may run:
libc.so.6
I looked around and read that it might have had something to to with glibc which I reinstalled. Not too sure what is going on.
 
Old 06-17-2014, 02:14 PM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Quote:
Originally Posted by Pinonoir View Post
I looked around and read that it might have had something to to with glibc which I reinstalled
Probably as this symlink is made when installing glibc or glic-solibs. Please show full output of
Code:
ls -1 /var/log/{packages,scripts}/glibc*
PS This is to confirm my guess that you didn't install (or more probably removed) the 32 bit compatibility package for glibc or at least glibc-solibs, hence my question.

Last edited by Didier Spaier; 06-17-2014 at 02:23 PM.
 
Old 06-17-2014, 02:23 PM   #9
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
bash-4.2$ ls -1 /var/log/{packages,scripts}/glibc*
/var/log/packages/glibc-2.17-x86_64-7
/var/log/packages/glibc-i18n-2.17-x86_64-7
/var/log/packages/glibc-profile-2.17-x86_64-7
/var/log/packages/glibc-solibs-2.17-x86_64-7
/var/log/packages/glibc-zoneinfo-2013d-noarch-7
/var/log/scripts/glibc-2.17-x86_64-7
/var/log/scripts/glibc-solibs-2.17-x86_64-7
/var/log/scripts/glibc-zoneinfo-2013d-noarch-7
 
Old 06-17-2014, 02:28 PM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Quote:
Originally Posted by Pinonoir View Post
bash-4.2$ ls -1 /var/log/{packages,scripts}/glibc*
/var/log/packages/glibc-2.17-x86_64-7
/var/log/packages/glibc-i18n-2.17-x86_64-7
/var/log/packages/glibc-profile-2.17-x86_64-7
/var/log/packages/glibc-solibs-2.17-x86_64-7
/var/log/packages/glibc-zoneinfo-2013d-noarch-7
/var/log/scripts/glibc-2.17-x86_64-7
/var/log/scripts/glibc-solibs-2.17-x86_64-7
/var/log/scripts/glibc-zoneinfo-2013d-noarch-7
So yes you are missing the multilib packages for glibc*.

PS As you were able to run the Steam engine before, you probably mistakenly removed them.

Last edited by Didier Spaier; 06-17-2014 at 02:31 PM.
 
Old 06-17-2014, 02:29 PM   #11
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Didier Spaier View Post
So yes you are missing the multilib packages for glibc*.
Ah, so would that just mean to reinstall the lib32 compatability libraries?
 
Old 06-17-2014, 02:30 PM   #12
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Quote:
Originally Posted by Pinonoir View Post
Ah, so would that just mean to reinstall the lib32 compatability libraries?
Of course.
 
Old 06-17-2014, 02:48 PM   #13
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
It worked. Strange, The lib32 folder exists on my desktop which I deleted at one point because I thought it wasn't needed after the packages had been installed, that might have had something to do with it.
 
Old 06-17-2014, 03:06 PM   #14
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Quote:
Originally Posted by Pinonoir View Post
that might have had something to do with it.
No. But maybe, if you didn't remove these packages with either removepkg or slackpkg remove, maybe you typed slackpkg clean-system? If you typed that command these packages have been proposed for removal as they are not official Slackware packages (unless you have blacklisted them in file /etc/slackpkg/blacklist).

Last edited by Didier Spaier; 06-17-2014 at 03:07 PM.
 
Old 06-17-2014, 03:23 PM   #15
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
uhh, actually it was on the xfce desktop. I just right-clicked delete, heh.
 
  


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
how to save a list of installed packages and install these packages later mandavi Ubuntu 5 09-07-2009 11:36 AM
Problem with packages - local list doesn't list all packages from a mirror simopal6 Debian 2 09-01-2008 04:44 AM
apt-get upgrade stopped, how can I remove packages before continuing upgrade? [KIA]aze Linux - Newbie 4 05-31-2007 07:49 AM
List of packages gloomz Debian 11 02-02-2007 11:06 AM
get list of latest list of packages bobwall Linux - Distributions 1 11-30-2004 03:48 PM

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

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