LinuxQuestions.org
Visit Jeremy's Blog.
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-02-2022, 02:13 PM   #1
tuxuser1
Member
 
Registered: Nov 2021
Posts: 167

Rep: Reputation: Disabled
Slackpkg problem


Hi guys,

I have a problem with Slackpkg.
If i run :
Code:
slackpkg install nano
appears the ncurses interface to select the package, makes the download and then I see :

Code:
!!! F A T A L !!!
Some operation has failed and need attention!!
Install FAILED: slackware64:nano-6.0-x86_64-1.txz : please retry.
Any helps?
Regards
 
Old 02-02-2022, 02:20 PM   #2
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,823

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
Code:
[1/1]   Package nano-6.0-x86_64-1.txz is already in cache - not downloading
        Installing [slackware64]:nano-6.0-x86_64-1...
Verifying package nano-6.0-x86_64-1.txz.
Installing package nano-6.0-x86_64-1.txz:
PACKAGE DESCRIPTION:
# nano (Nano's ANOther editor, an enhanced free Pico clone)
#
# nano is a small, free, and friendly editor. It aims to copy Pico's
# look and feel while providing additional (or disabled by default)
# features that are missing from Pico, such as "search and replace" or
# "go to line and column number".
#
# Chris Allegretta is Nano's author.
#
# Homepage: http://www.nano-editor.org
#
Executing install script for nano-6.0-x86_64-1.txz.
Package nano-6.0-x86_64-1.txz installed.
Searching for NEW configuration files...
                No .new files found.
I don't know. I removed it and then installed it via slackpkg.

Maybe try to get it from here and use upgradepkg to install it: https://mirrors.slackware.com/slackw...lackware64/ap/

Last edited by RadicalDreamer; 02-02-2022 at 02:22 PM.
 
Old 02-02-2022, 02:25 PM   #3
tuxuser1
Member
 
Registered: Nov 2021
Posts: 167

Original Poster
Rep: Reputation: Disabled
Sorry, actually the problem is slackpkg not nano. I don't be able to install nothing. I always get that fatal error.
Is there a way to repair slackpkg?

Last edited by tuxuser1; 02-02-2022 at 02:28 PM.
 
1 members found this post helpful.
Old 02-02-2022, 02:34 PM   #4
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,823

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
Quote:
Originally Posted by tuxuser1 View Post
Sorry, actually the problem is slackpkg not nano. I don't be able to install nothing. I always get that fatal error.
Is there a way to repair slackpkg?
I don't know what is going on. If it was me I'd go to the link in my previous post and get the slackpkg package. Run "removepkg slackpkg" and then "installpkg slackpkg." Then fix the mirror in /etc/slackpkg" and try again. Have you modified the files in "/etc/slackpkg?"
 
Old 02-02-2022, 02:39 PM   #5
tuxuser1
Member
 
Registered: Nov 2021
Posts: 167

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by RadicalDreamer View Post
I don't know what is going on. If it was me I'd go to the link in my previous post and get the slackpkg package. Run "removepkg slackpkg" and then "installpkg slackpkg." Then fix the mirror in /etc/slackpkg" and try again. Have you modified the files in "/etc/slackpkg?"
Absolutely not. I only changed the mirror. I also use slackpkg plus
 
1 members found this post helpful.
Old 02-02-2022, 03:25 PM   #6
tuxuser1
Member
 
Registered: Nov 2021
Posts: 167

Original Poster
Rep: Reputation: Disabled
Ok, the problem was slackpkg+. I removed it and I can install the packages without fatal error now.
Anyway, i don't understand the reason when i run
"slackpkg search nano", it says that the package is uninstalled but i am using it.
 
Old 02-02-2022, 05:23 PM   #7
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
is there a entry in /var/log/packages/ with nano?
 
Old 02-03-2022, 02:49 AM   #8
tuxuser1
Member
 
Registered: Nov 2021
Posts: 167

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by khronosschoty View Post
is there a entry in /var/log/packages/ with nano?

Yeah, you are right because it's empty.
I'm making some tests about my program and I accidentantly removed it. Maybe the slackpkgplus error was due to that....
How can i fix it? I tried to re-create the /var/log/packages but it doesn't write into it
 
Old 02-03-2022, 02:54 AM   #9
pghvlaans
Member
 
Registered: Jan 2021
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 462

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
I'd say wget the package from your mirror, and then use removepkg followed by installpkg. That should get rid of the empty log and put in a good one.

Last edited by pghvlaans; 02-03-2022 at 02:55 AM. Reason: phrasing
 
1 members found this post helpful.
Old 02-03-2022, 03:09 AM   #10
tuxuser1
Member
 
Registered: Nov 2021
Posts: 167

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pghvlaans View Post
I'd say wget the package from your mirror, and then use removepkg followed by installpkg. That should get rid of the empty log and put in a good one.
Ok, I fixed it.
Mark as solved
Thanks
 
Old 02-03-2022, 10:30 AM   #11
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
By following pghylaans advice?
 
Old 02-03-2022, 11:35 AM   #12
tuxuser1
Member
 
Registered: Nov 2021
Posts: 167

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Jan K. View Post
By following pghylaans advice?
Yes. It has re-created properly the /var/log/packages after the installation of the package and all works well now.
 
1 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
[SOLVED] [ENCHANCEMENT] slackpkg+: do not show the notices "pkglist is older than 24h..." and "remember to re-run 'slackpkg update''..."... yars Slackware 1 01-09-2016 09:56 AM
having trouble after upgrading 14.1 slackware using slackpkg and slackpkg+ [solved] slackartist Slackware 1 12-28-2015 07:28 AM
[SOLVED] Slackpkg, Slackpkg Plus, Slackware 14.1 x86_64 install.log delay or slow to write bamunds Slackware 7 04-22-2014 11:12 AM
[SOLVED] typos in latest /etc/slackpkg/mirrors(.new) [slackpkg-2.82.0-noarch-8.tgz] wailingwailer Slackware 4 09-22-2012 04:04 AM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 12:22 PM

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

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