LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 06-03-2012, 05: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, 05:39 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,355

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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: 24

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

Rep: Reputation: 136Reputation: 136
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: Lausanne - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware Leet - 32/64bit
Posts: 271

Rep: Reputation: 87
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: Hanover, Germany
Distribution: Gentoo, Slackware
Posts: 14,903
Blog Entries: 2

Rep: Reputation: 3812Reputation: 3812Reputation: 3812Reputation: 3812Reputation: 3812Reputation: 3812Reputation: 3812Reputation: 3812Reputation: 3812Reputation: 3812Reputation: 3812
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: Slackware & Slackware64 14.1
Posts: 6,705
Blog Entries: 51

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
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,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
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
Distribution: Slackware
Posts: 767

Rep: Reputation: 154Reputation: 154
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
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,461
Blog Entries: 14

Rep: Reputation: 593Reputation: 593Reputation: 593Reputation: 593Reputation: 593Reputation: 593
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: Lausanne - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware Leet - 32/64bit
Posts: 271

Rep: Reputation: 87
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,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 02:52 AM.

Main Menu
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