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 06-03-2012, 05:34 PM   #1
ibwew
LQ Newbie
 
Registered: Mar 2008
Posts: 25

Rep: Reputation: 5
slackpkg update


I usually update my Slack installation every weekend if there are updates available. So today I noticed we had some upgrades and was glad to see "iftop" had been added. However when I ran "slackpkg update" it showed the system was up to date. OK...I figured maybe I'd updated and didn't remember, so I tried running "iftop" but no joy. Then I switched mirrors thinking maybe the one I was using was having issues but it still showed I was up to date. Any ideas??
 
Old 06-03-2012, 05:39 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
please check if you are using -Current repository instead of -Stable
 
Old 06-03-2012, 05:53 PM   #3
ibwew
LQ Newbie
 
Registered: Mar 2008
Posts: 25

Original Poster
Rep: Reputation: 5
BINGO !! Thanks Willy.......DUH ! - I clicked on the -current changelog instead of -stable !! Thanks !!!!!
 
Old 06-03-2012, 05:57 PM   #4
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,264
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
odd - same here. 'slackpkg search iftop' finds it in package list but shows [uninstalled] for both slackware-current. Just upgraded this morning. my /etc/slackpkg config look ok. I don't see any obvious reason why it was not picked up.

Ahh... if you 'slackpkg install-new' iftop and calligra shows up. That is the correct behavior. "upgrade" just upgrades previously installed packes but does not add new packages. See 'slackpkg help'

All is well - if you RTFM!

Edit: of course "stable" per Willy had to be the correct answer ;-) I often miss the obvious!

Last edited by kingbeowulf; 06-03-2012 at 06:00 PM. Reason: Update
 
Old 06-04-2012, 03:10 AM   #5
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
The real workflow is

Code:
# slackpkg update
# slackpkg install-new    <- VERY IMPORTANT ON CURRENT!!!
# slackpkg update-all
It's written in the Slackpkg documentation...

Cheers
 
Old 06-04-2012, 07:18 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by NoStressHQ View Post
The real workflow is

Code:
# slackpkg update
# slackpkg install-new    <- VERY IMPORTANT ON CURRENT!!!
# slackpkg update-all
It's written in the Slackpkg documentation...

Cheers
It should be
Code:
slackpkg upgrade-all
 
Old 06-04-2012, 08:03 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
It should be
Code:
slackpkg upgrade-all
Without the red letters, of course.
 
Old 06-04-2012, 10:30 AM   #8
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by brianL View Post
Without the red letters, of course.
It would work with red letters to. How one can obtain red letters on the commandline is left as an excercise to the reader

Markus
 
Old 06-06-2012, 06:46 PM   #9
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 910

Rep: Reputation: 174Reputation: 174
Quote:
Originally Posted by markush View Post
It would work with red letters to. How one can obtain red letters on the commandline is left as an excercise to the reader

Markus

For a tty terminal, this will do the trick.

Code:
setterm -foreground red
This works for xterm. It's not my favorite terminal emulator.

Code:
xterm -fg red
This would change just the color of the prompt in a terminal emulator running bash.

Code:
export PS1="\e[1;31m\$ \e[m"
I like using the konsole terminal emulator under KDE, but I can't figure out how to get a red foreground color. Anyone know?

Last edited by Z038; 06-06-2012 at 06:47 PM.
 
Old 06-06-2012, 10:45 PM   #10
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Whenever you perform a major update to Slackware you should run the following (in my opinion anyway)...
Code:
slackpkg system-clean
...to remove old third party packages (at least remove packages mostly that are tied to the kernel if a kernel update was announced, or replacements that are officially added to the main distribution) and then, as stated above, you should run...
Code:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
...in that order to avoid problems.

However, always check the Changelog to look for [added] packages as often there aren't too many "new" packages, unless you are on the -current distribution, and also occasionally check for [removed] packages as well to uninstall anything taken out of the distribution as well.
 
Old 06-07-2012, 02:22 AM   #11
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by TobiSGD View Post
It should be
Code:
slackpkg upgrade-all
Wooops !

Sorry... That's what happen when you work to long on M$Window$...
 
Old 06-07-2012, 02:32 AM   #12
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
Whenever you perform a major update to Slackware you should run the following (in my opinion anyway)...
Code:
slackpkg system-clean


...to remove old third party packages (at least remove packages mostly that are tied to the kernel if a kernel update was announced, or replacements that are officially added to the main distribution) and then, as stated above, you should run...
Code:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
...in that order to avoid problems.
Well, the correct command is
Code:
slackpkg clean-system
and note that when doing clean-system at first, you may possibly break your system. As far as I remember it is recommended to
Code:
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system
in this order.

Markus
 
  


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
when will Java 4.6.2 be available for slackpkg update? lmitcham Linux - Newbie 1 01-31-2012 11:25 AM
slackpkg wont update mutexe Slackware 7 09-15-2010 04:52 PM
[SOLVED] slackpkg update error cola Slackware 3 09-15-2009 10:34 AM
slackpkg : How do I update manually? pokipoki08 Slackware 2 08-09-2009 11:24 AM
slackpkg keeps asking to update pgp JBmtk Slackware 4 12-15-2008 12:59 AM

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

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