LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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, 06:34 PM   #1
ibwew
LQ Newbie
 
Registered: Mar 2008
Posts: 24

Rep: Reputation: 1
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, 06:39 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,634

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

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

Rep: Reputation: 140Reputation: 140
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 07:00 PM. Reason: Update
 
Old 06-04-2012, 04:10 AM   #5
NoStressHQ
Member
 
Registered: Apr 2010
Location: Lausanne - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware Leet - 32/64bit
Posts: 317

Rep: Reputation: 109Reputation: 109
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, 08:18 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097
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, 09:03 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,140
Blog Entries: 52

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, 11:30 AM   #8
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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, 07:46 PM   #9
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 805

Rep: Reputation: 158Reputation: 158
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 07:47 PM.
 
Old 06-06-2012, 11:45 PM   #10
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,850
Blog Entries: 15

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
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, 03:22 AM   #11
NoStressHQ
Member
 
Registered: Apr 2010
Location: Lausanne - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware Leet - 32/64bit
Posts: 317

Rep: Reputation: 109Reputation: 109
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, 03:32 AM   #12
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:25 PM
slackpkg wont update mutexe Slackware 7 09-15-2010 05:52 PM
[SOLVED] slackpkg update error cola Slackware 3 09-15-2009 11:34 AM
slackpkg : How do I update manually? pokipoki08 Slackware 2 08-09-2009 12:24 PM
slackpkg keeps asking to update pgp JBmtk Slackware 4 12-15-2008 01:59 AM


All times are GMT -5. The time now is 08:12 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration