LinuxQuestions.org
Review your favorite Linux distribution.
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 04-28-2016, 02:04 AM   #1
conraid
Member
 
Registered: Feb 2008
Location: Leghorn, Tuscany, Italy
Distribution: Slackware
Posts: 122

Rep: Reputation: 38
slackpkg and firefox


Yesterday, with mozilla-firefox-45.1.0esr-x86_64-1.txz, and today, with mozilla-firefox-45.1.0esr-x86_64-2.txz, slackpkg not recognize mozilla-firefox and therefore does not propose it for the upgrade or installation.

It's happened to others?
 
Old 04-28-2016, 02:35 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Two possible causes:
  • You forgot to run slackpkg update.
  • The mirror you use has not been updated yet. If that is the case, be patient or use another mirror.
 
Old 04-28-2016, 03:19 AM   #3
conraid
Member
 
Registered: Feb 2008
Location: Leghorn, Tuscany, Italy
Distribution: Slackware
Posts: 122

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by Didier Spaier View Post
Two possible causes:
  • You forgot to run slackpkg update.
  • The mirror you use has not been updated yet. If that is the case, be patient or use another mirror.
No.I did run slackpkg update, in fact slackpkg showed me just yptools and xfce4-settings.
I have updated Firefox with upgradepkg, normally.
 
Old 04-28-2016, 03:28 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by conraid View Post
No.I did run slackpkg update, in fact slackpkg showed me just yptools and xfce4-settings.
Then I would check that:
  • The mirror you use does include mozilla-firefox (it is unlikely but not impossible that it be missing).
  • mozilla-firefox be not in /etc/slackpkg/blacklist.
 
Old 04-28-2016, 03:43 AM   #5
conraid
Member
 
Registered: Feb 2008
Location: Leghorn, Tuscany, Italy
Distribution: Slackware
Posts: 122

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by Didier Spaier View Post
Then I would check that:
  • The mirror you use does include mozilla-firefox (it is unlikely but not impossible that it be missing).
  • mozilla-firefox be not in /etc/slackpkg/blacklist.

I build my own mirror with rsync from osuosl.org, and firefox there is, in fact, then it upgrades normally with upgradepkg from mirror directory.



Also "serch" does not find it:
Code:
root@blankstar:/etc# slackpkg search mozilla

Looking for mozilla in package list. Please wait... DONE

The list below shows all packages with name matching "mozilla".

[ installed ] - mozilla-nss-3.23-x86_64-1
[ installed ] - mozilla-thunderbird-45.0-x86_64-1

You can search specific files using "slackpkg file-search file".

root@blankstar:/etc# slackpkg search firefox

Looking for firefox in package list. Please wait... DONE

No package name matches the pattern.

root@blankstar:/etc# slackpkg search mozilla-firefox

Looking for mozilla-firefox in package list. Please wait... DONE

No package name matches the pattern.


And the blacklist file is the default, I have not changed it.
 
Old 04-28-2016, 03:53 AM   #6
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Can you post the output of commands below :
Code:
$ ls /var/log/packages/mozilla-*

$ grep " mozilla-firefox " /var/lib/slackpkg/pkglist
--
SeB
 
Old 04-28-2016, 04:00 AM   #7
conraid
Member
 
Registered: Feb 2008
Location: Leghorn, Tuscany, Italy
Distribution: Slackware
Posts: 122

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by phenixia2003 View Post
Hello,

Can you post the output of commands below :
Code:
$ ls /var/log/packages/mozilla-*

$ grep " mozilla-firefox " /var/lib/slackpkg/pkglist
Code:
root@blankstar:/# ls /var/log/packages/mozilla-*  
/var/log/packages/mozilla-firefox-45.1.0esr-x86_64-2  /var/log/packages/mozilla-thunderbird-45.0-x86_64-1
/var/log/packages/mozilla-nss-3.23-x86_64-1
root@blankstar:/# grep " mozilla-firefox " /var/lib/slackpkg/pkglist
slackware64 mozilla-firefox 45.1.0esr x86_64 2 mozilla-firefox-45.1.0esr-x86_64-2 ./slackware64/xap txz
 
Old 04-28-2016, 06:49 AM   #8
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by conraid View Post
Code:
root@blankstar:/# ls /var/log/packages/mozilla-*  
/var/log/packages/mozilla-firefox-45.1.0esr-x86_64-2  /var/log/packages/mozilla-thunderbird-45.0-x86_64-1
/var/log/packages/mozilla-nss-3.23-x86_64-1
root@blankstar:/# grep " mozilla-firefox " /var/lib/slackpkg/pkglist
slackware64 mozilla-firefox 45.1.0esr x86_64 2 mozilla-firefox-45.1.0esr-x86_64-2 ./slackware64/xap txz
Weird. mozilla-firefox is in slackpkg database, so, slackpkg should find it. What version of slackpkg is installed ?

--
SeB
 
Old 04-28-2016, 07:08 AM   #9
conraid
Member
 
Registered: Feb 2008
Location: Leghorn, Tuscany, Italy
Distribution: Slackware
Posts: 122

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by phenixia2003 View Post
Weird. mozilla-firefox is in slackpkg database, so, slackpkg should find it.

I know it's weird, for this I posted the "problem". Maybe it can be a bug or not.
If it's just a problem of my installation, no problem, I use safely upgradepkg.

Quote:
What version of slackpkg is installed ?
Code:
# ls /var/log/packages/slackpkg*
/var/log/packages/slackpkg-2.82.0-noarch-16
 
Old 04-28-2016, 07:23 AM   #10
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

That's weird because I identified a bug in slackpkg+/devel which looks like the issue you encounter, however, I can't reproduce it with stock slackpkg unless I add "firefox" in /etc/slackpkg/blacklist :

Code:
$ ls /var/log/packages/slackpkg-*
/var/log/packages/slackpkg-2.82.0-noarch-16

$ slackpkg search firefox
Looking for firefox in package list. Please wait... DONE

The list below shows all packages with name matching "firefox".

[ installed ] - mozilla-firefox-45.1.0esr-x86_64-2

You can search specific files using "slackpkg file-search file".

$ echo "firefox" >> /etc/slackpkg/blacklist

$ slackpkg search firefox

Looking for firefox in package list. Please wait... DONE

No package name matches the pattern.

--
SeB
 
Old 04-28-2016, 08:14 AM   #11
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
I was having similar problems with slackpkg of late. The changelog showed upgrades but slackpkg didn't see them or apply them. I would have to go and download the updates one at a time after running slackpkg and use upgradepkg to make the necessary changes to my system.

I tried removepkg and then installpkg to reinstall slackpkg and it didn't remove the problem.

Next I used ark to expand slackpkg-2.82.0-noarch-16.tgz so I could see every last bit of it and then went and picked out every one of those bits and deleted them. When it was all gone I installed it again and set it up just like I did way back when (it worked in those days).

Now it seems to work for me again
 
Old 04-28-2016, 08:22 AM   #12
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
I've ran into similar. My issue is Slackpkg doesn't find some of the standard Slackware packages at all. I'll have to grab my list when I get home for a couple examples. But I used the arm minirootfs and needed to add such things as apache, mariadb, etc. There are a couple dependency packages that I can use the web page package browser and get the package name but slackpkg install doesn't find them. I have to manually download and installpkg.
 
Old 04-28-2016, 12:20 PM   #13
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Well, slackpkg just worked on today's updates. Looks like a fresh start fixed whatever ailed it
 
Old 04-28-2016, 10:45 PM   #14
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
I've had similar problems in the past. What I did was remove the package(s) in question, with removepkg, and then reinstall the package with 'slackpkg install <package>". I forget what package it was that was duplicated, but I came to the conclusion that the slackpkg database became confused due to package name. removepkg removed both of the duplicates and everything was ready to go again. I am not sure though if this is a different issue than what I experienced or if it was due to my novice skills with Slackware. I vaguely remember what happened due to the fact that it was about a year ago I ran into this issue.
 
Old 04-29-2016, 07:56 AM   #15
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by conraid View Post
Also "serch" does not find it:
Code:
root@blankstar:/etc# slackpkg search mozilla

Looking for mozilla in package list. Please wait... DONE

The list below shows all packages with name matching "mozilla".

[ installed ] - mozilla-nss-3.23-x86_64-1
[ installed ] - mozilla-thunderbird-45.0-x86_64-1

You can search specific files using "slackpkg file-search file".

root@blankstar:/etc# slackpkg search firefox

Looking for firefox in package list. Please wait... DONE

No package name matches the pattern.

root@blankstar:/etc# slackpkg search mozilla-firefox

Looking for mozilla-firefox in package list. Please wait... DONE

No package name matches the pattern.
Can you post the output of commands below :
Code:
$ grep -vE "(^#|^[[:blank:]]*$)" /etc/slackpkg/blacklist
Code:
$ PRIORITY=( $(grep "^PRIORITY" /etc/slackpkg/slackpkg.conf | cut -f2- -d"(" | cut -f1 -d")" | sed "s/%PKGMAIN/slackware64/") )

$ echo ${PRIORITY[*]}
Code:
$ PATTERN=firefox

$ for i in ${PRIORITY[@]} ; do grep "^${i}.*${PATTERN}" /var/lib/slackpkg/pkglist | cut -f6 -d" " ; done
--
SeB
 
  


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
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
[SOLVED] Most recent upgrade in current causing firefox and slackpkg errors vdemuth Slackware 8 10-30-2010 12:08 PM
Why can't slackpkg see firefox-2.0.0.1? xflow7 Slackware 1 02-10-2007 02:00 PM

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

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