LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-12-2022, 07:38 AM   #1
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 282

Rep: Reputation: 60
I stopped a slackpkg upgrade-all in midstream and now I cannot slackpkg upgrade-all


Here it is.

root@jkh-box:/etc/slackpkg# slackpkg upgrade binutils-2.38-x86_64-1

FATAL! There is some problem in packages database
or maybe an installation or upgrade in progress:

binutils-2.37-x86_64-1-upgraded-2022-02-11,19:13:10

If you continue you may corrupt packages database.
Check or retry later

Slackpkg search says that I have binutils-2.38 but it is not installed. How do I fix this?

TIA. John.
 
Old 02-12-2022, 07:45 AM   #2
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,393

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Have you tried : reinstall ?
 
Old 02-12-2022, 07:48 AM   #3
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 282

Original Poster
Rep: Reputation: 60
What I did was to search /var/log/packages for the offending lines, removed the old package data, and I was good to go.

Reinstall would really be a heavy lift for this.
 
Old 02-12-2022, 08:03 PM   #4
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,346
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
It's a shot in the dark, but maybe try

Code:
slackpkg clean-system
I had a problem with yum on CentOS that was sort of like this and yum clean all cleared it.
 
Old 02-12-2022, 08:09 PM   #5
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 282

Original Poster
Rep: Reputation: 60
I found this when I did a grep for binutils: binutils-2.37-x86_64-1-upgraded-2022-02-11,19:13:10. Slackpkg would not upgrade or remove, but removepkg binutils-2.37 worked like a charm, and slackpkg was again ready to slackpkg upgrade-all without missing a beat.
 
Old 02-13-2022, 03:05 AM   #6
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,826

Rep: Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499
Quote:
Originally Posted by jkh2cpu View Post
I found this when I did a grep for binutils: binutils-2.37-x86_64-1-upgraded-2022-02-11,19:13:10. Slackpkg would not upgrade or remove, but removepkg binutils-2.37 worked like a charm, and slackpkg was again ready to slackpkg upgrade-all without missing a beat.
Depending on when exactly the upgrade was killed, the new binutils-2.38 may now be installed ok, only partly, or not at all. If it's not in /var/log/packages, 'slackpkg install binutils'. Or if it is there, 'slackpkg reinstall binutils'.

Last edited by Petri Kaukasoina; 02-13-2022 at 03:06 AM.
 
2 members found this post helpful.
  


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
slackpkg upgrade-all for -current, and now no keyboard, mouse or network Ook Slackware 4 08-31-2021 08:32 PM
Weird slackpkg upgrade message during a slackpkg upgrade-all process. frtorres Slackware 8 02-13-2021 11:36 AM
SARPI on Pi3 - Ran slackpkg update & slackpkg upgrade-all and now won't boot, can't find init petejc Slackware - ARM 11 03-25-2020 04:30 AM
[SOLVED] Slackpkg upgrade-all returns 'no packages to upgrade' after slackpkg-update has downloaded files san2ban Slackware 8 11-01-2019 05:44 AM

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

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