LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-26-2019, 07:43 AM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Which ones to pick to delete for botched upgrade ( current )?


upgrade all was still in operation, when I switched ttys. which I've done before, leaving whatever is running in the gui running, and nothing happens it just keeps on going.

this time it kicked my out of the gui and show a message on tty1 no server authorization. then when I logged back in to the terminal/console ran startx again then ran update slack ( current ) I got the delete the pid file of course, then I get this list ..


Code:
$ slackall

Checking local integrity... mv: cannot stat '/var/log/scripts/urwid-1.0.3-x86_64-3-upgraded-2019-02-26,07:33:20': No such file or directory
mv: cannot stat '/var/log/scripts/xcalc-1.0.6-x86_64-3-upgraded-2019-02-26,07:33:26': No such file or directory
mv: cannot stat '/var/log/scripts/xcb-proto-1.13-x86_64-2-upgraded-2019-02-26,07:33:27': No such file or directory
mv: cannot stat '/var/log/scripts/xclock-1.0.7-x86_64-3-upgraded-2019-02-26,07:33:28': No such file or directory
mv: cannot stat '/var/log/scripts/xev-1.2.2-x86_64-2-upgraded-2019-02-26,07:33:29': No such file or directory
mv: cannot stat '/var/log/scripts/xfsinfo-1.0.5-x86_64-3-upgraded-2019-02-26,07:33:30': No such file or directory
mv: cannot stat '/var/log/scripts/xhost-1.0.7-x86_64-2-upgraded-2019-02-26,07:33:32': No such file or directory
mv: cannot stat '/var/log/scripts/xlsatoms-1.1.2-x86_64-2-upgraded-2019-02-26,07:33:33': No such file or directory
mv: cannot stat '/var/log/scripts/xmodmap-1.0.9-x86_64-2-upgraded-2019-02-26,07:33:34': No such file or directory
mv: cannot stat '/var/log/scripts/xrdb-1.1.1-x86_64-2-upgraded-2019-02-26,07:33:35': No such file or directory
mv: cannot stat '/var/log/scripts/xstdcmap-1.0.3-x86_64-3-upgraded-2019-02-26,07:33:35': No such file or directory
mv: cannot stat '/var/log/scripts/xvinfo-1.1.3-x86_64-2-upgraded-2019-02-26,07:33:37': No such file or directory
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:

lxc-2.0.9_d3a03247-x86_64-1
lxc-2.0.9_d3a03247-x86_64-2
mariadb-10.3.12-x86_64-1
mariadb-10.3.13-x86_64-1
meson-0.49.2-x86_64-1
meson-0.49.2-x86_64-2
mozilla-firefox-60.5.1esr-x86_64-1
mozilla-firefox-60.5.2esr-x86_64-1
newt-0.52.20-x86_64-3
newt-0.52.20-x86_64-4
obexftp-0.24.2-x86_64-3
obexftp-0.24.2-x86_64-4
openvpn-2.4.6-x86_64-2
openvpn-2.4.7-x86_64-1
p2c-1.21alpha2-x86_64-4
p2c-2.01-x86_64-1
parallel-20190122-noarch-1
parallel-20190222-noarch-1
pcre-8.42-x86_64-2
pcre-8.43-x86_64-1
pssh-2.3.1-x86_64-3
pssh-2.3.1-x86_64-4
pycairo-1.18.0-x86_64-1
pycairo-1.18.0-x86_64-2
pycups-1.9.74-x86_64-1
pycups-1.9.74-x86_64-2
pycurl-7.43.0.2-x86_64-1
pycurl-7.43.0.2-x86_64-2
pygobject-2.28.7-x86_64-2
pygobject-2.28.7-x86_64-3
pygobject3-3.30.4-x86_64-1
pygobject3-3.30.4-x86_64-2
pykde4-4.14.3-x86_64-7
pykde4-4.14.3-x86_64-8
pyparsing-2.3.1-x86_64-1
pyparsing-2.3.1-x86_64-2
python-appdirs-1.4.3-x86_64-2
python-appdirs-1.4.3-x86_64-3
python-certifi-2018.11.29-x86_64-1
python-certifi-2018.11.29-x86_64-2
python-chardet-3.0.4-x86_64-2
python-chardet-3.0.4-x86_64-3
python-docutils-0.14-x86_64-2
python-docutils-0.14-x86_64-3
python-idna-2.8-x86_64-1
python-idna-2.8-x86_64-2
python-notify2-0.3.1-x86_64-2
python-notify2-0.3.1-x86_64-3
python-packaging-19.0-x86_64-1
python-packaging-19.0-x86_64-2
python-pillow-5.4.1-x86_64-1
python-pillow-5.4.1-x86_64-2
python-pip-19.0.2-x86_64-1
python-pip-19.0.3-x86_64-1
python-requests-2.21.0-x86_64-1
python-requests-2.21.0-x86_64-2
python-sane-2.8.3-x86_64-2
python-sane-2.8.3-x86_64-3
python-setuptools-40.8.0-x86_64-1
python-setuptools-40.8.0-x86_64-2
python-six-1.12.0-x86_64-2
python-six-1.12.0-x86_64-3
python-urllib3-1.24.1-x86_64-1
python-urllib3-1.24.1-x86_64-2
python3-3.6.8-x86_64-1
python3-3.7.2-x86_64-1
rpm-4.14.2.1-x86_64-1
rpm-4.14.2.1-x86_64-2
sip-4.19.8-x86_64-2
sip-4.19.8-x86_64-3
system-config-printer-1.5.11-x86_64-3
system-config-printer-1.5.11-x86_64-4
talloc-2.1.15-x86_64-1
talloc-2.1.15-x86_64-2
tar-1.31-x86_64-1
tar-1.32-x86_64-1
tdb-1.3.17-x86_64-1
tdb-1.3.17-x86_64-2
tevent-0.9.38-x86_64-1
tevent-0.9.38-x86_64-2
urwid-1.0.3-x86_64-3
urwid-1.0.3-x86_64-4
util-linux-2.33.1-x86_64-1
util-linux-2.33.1-x86_64-2
xcalc-1.0.6-x86_64-3
xcalc-1.0.7-x86_64-1
xcb-proto-1.13-x86_64-2
xcb-proto-1.13-x86_64-3
xclock-1.0.7-x86_64-3
xclock-1.0.8-x86_64-1
xev-1.2.2-x86_64-2
xev-1.2.3-x86_64-1
xfsinfo-1.0.5-x86_64-3
xfsinfo-1.0.6-x86_64-1
xfsprogs-4.19.0-x86_64-1
xfsprogs-4.20.0-x86_64-1
xhost-1.0.7-x86_64-2
xhost-1.0.8-x86_64-1
xlsatoms-1.1.2-x86_64-2
xlsatoms-1.1.3-x86_64-1
xmodmap-1.0.10-x86_64-1
xmodmap-1.0.9-x86_64-2
xrdb-1.1.1-x86_64-2
xrdb-1.2.0-x86_64-1
xstdcmap-1.0.3-x86_64-3
xstdcmap-1.0.4-x86_64-1
xvinfo-1.1.3-x86_64-2
xvinfo-1.1.4-x86_64-1

You can (B)lacklist, (R)emove, or (I)gnore these packages.
Select your action (B/R/I):
the ones that have the same version but are tagged at the end -1, -2, or -3, -4 which is the newer one, or which one to delete, keeping the higher (numbered) version?

Last edited by BW-userx; 02-26-2019 at 07:54 AM.
 
Old 02-26-2019, 08:47 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
Reinstalling from a -current ISO kindly provided by alienBoB after the needed backup is most probably the safest and fastest way to recover.
 
Old 02-26-2019, 09:00 AM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Didier Spaier View Post
Reinstalling from a -current ISO kindly provided by alienBoB after the needed backup is most probably the safest and fastest way to recover.
Are you suggesting deleting everything in that list then reinstalling off a current iso from AlienBob?

what is that line? I've seen it in here but when I actually want to use it I can never find it. something like
Code:
installpkg install-new -reinstall pkg name
it being in a loop in this case. or update too just in case the whatever ones are out dated to the current current dvd iso... because it might staill end up with ixed packages from what is installed and what is on a current date 2019-02-24 23:16 as I am down loading one right now.

then just running update again to see if any changes need to take place...

Last edited by BW-userx; 02-26-2019 at 09:03 AM.
 
Old 02-26-2019, 09:08 AM   #4
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Here is what I would do:

1) Download the latest versions of each of those packages from a Slackware mirror and put them somewhere, e.g. $HOME/packages.
2) Use removepkg to remove the lower-numbered version of each package listed above. Keep the higher-numbered versions. Then,
3) upgradepkg --reinstall $HOME/packages/*.t?z

That should safely take care of the issue. removepkg does not remove any file that is present in another package, so you should still have a functioning system after step 2. Of course, it is always a good idea to do a backup first before operations like this.
 
Old 02-26-2019, 09:13 AM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
Are you suggesting deleting everything in that list then reinstalling off a current iso from AlienBob?
I meant reinstalling the whole system from the ISO. Oh and I don't know what is this "slackall" command that I have never seen before.

It's not "installpkg install-new -reinstall ..."
but: "upgradepkg --install-new --reinstall ..."

It's about time for you to learn the basics of Slackware I think. Do this:
man installpkg
man removepkg
man upgradepkg

Anyway if you want to use -current better follow the ChangeLog for current and use the basic packaging tools. Or (safer) stay on 14.2 for now.

Sorry to be blunt, that's my mood right now.

Best,

Last edited by Didier Spaier; 02-26-2019 at 09:15 AM.
 
Old 02-26-2019, 09:26 AM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Didier Spaier View Post
I meant reinstalling the whole system from the ISO. Oh and I don't know what is this "slackall" command that I have never seen before.
that is a simple alias in my bashrc for slack
Code:
alias slackup='sudo slackpkg update'
alias slacknew='sudo slackpkg install-new'
alias slackall='sudo slackpkg upgrade-all'


Quote:
Originally Posted by Didier Spaier View Post
It's not "installpkg install-new -reinstall ..."
but: "upgradepkg --install-new --reinstall ..."
wow I almost had it right, I was just guessing


Quote:
Originally Posted by Didier Spaier View Post
It's about time for you to learn the basics of Slackware I think. Do this:
man installpkg
man removepkg
man upgradepkg

Anyway if you want to use -current better follow the ChangeLog for current and use the basic packaging tools. Or (safer) stay on 14.2 for now.

Sorry to be blunt, that's my mood right now.

Best,
I understand moods, and I do not use reinstall new, I do not use them commands enough to even remember them out of repetition, the only ones I've never had to really use I put into them alias to cut back on having to write all of that out each time. hence the alias'es.

and No I am not doing a re-install of basic slack 14.2, it is too out dated for me, for one, and I've been running current for a while. I just ran into this snafu is all. as stated I do not find myself ever having to use these commands ever, I've only seen them being suggested in the forum and now I seem to need to use them. Nothing wrong with asking.

I was mearly asking what to do with the ones I as not sure about . this is not the first time I've had dups in my packages. Just not a complete screw up like this due to some ill-rational behavior from the system to create such a long list.

Last edited by BW-userx; 02-26-2019 at 09:28 AM.
 
Old 02-26-2019, 09:38 AM   #7
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Keep older version and then try to upgrade again. The correspondence between package description and what is already installed can completely broken - but keeping older you are assured that there are or old files or new. So if you will succeed with repeated upgrade - you should end with new files on disk.
 
1 members found this post helpful.
Old 02-26-2019, 09:46 AM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by igadoter View Post
Keep older version and then try to upgrade again. The correspondence between package description and what is already installed can completely broken - but keeping older you are assured that there are or old files or new. So if you will succeed with repeated upgrade - you should end with new files on disk.
that is a good idea... instead of visa versa the way I usually do it.
 
  


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
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
Help! I botched LVM and botched most of system!!! Labyrinth Linux - Newbie 7 01-08-2008 04:50 AM
botched upgrade: is this a good fix? yocompia Slackware 2 04-06-2007 03:18 PM
qucik startup question numbers1thru9 Linux - General 1 03-19-2007 08:02 AM
Slackware 10 - Botched kernel 2.6.7 upgrade MDesigner Slackware 14 06-25-2004 05:16 PM

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

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